Get desktop application:
View/edit binary Protocol Buffers messages
The service that is used for managing the data plane provisioning of the Registry.
Provisions instance resources for the Registry.
Request message for CreateInstance.
Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource.
Required. The Instance.
Deletes the Registry instance.
Request message for DeleteInstance.
Required. The name of the Instance to delete. Format: `projects/*/locations/*/instances/*`.
Gets details of a single Instance.
Request message for GetInstance.
Required. The name of the Instance to retrieve. Format: `projects/*/locations/*/instances/*`.
The Registry service allows teams to manage descriptions of APIs.
Returns matching APIs.
Request message for ListApis.
Required. The parent, which owns this collection of APIs. Format: `projects/*/locations/*`
The maximum number of APIs to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.
A page token, received from a previous `ListApis` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListApis` must match the call that provided the page token.
An expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields.
Response message for ListApis.
The APIs from the specified publisher.
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Returns a specified API.
Request message for GetApi.
Required. The name of the API to retrieve. Format: `projects/*/locations/*/apis/*`
Creates a specified API.
Request message for CreateApi.
Required. The parent, which owns this collection of APIs. Format: `projects/*/locations/*`
Required. The API to create.
Required. The ID to use for the API, which will become the final component of the API's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.
Used to modify a specified API.
Request message for UpdateApi.
Required. The API to update. The `name` field is used to identify the API to update. Format: `projects/*/locations/*/apis/*`
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
If set to true, and the API is not found, a new API will be created. In this situation, `update_mask` is ignored.
Removes a specified API and all of the resources that it owns.
Request message for DeleteApi.
Required. The name of the API to delete. Format: `projects/*/locations/*/apis/*`
If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.)
Returns matching versions.
Request message for ListApiVersions.
Required. The parent, which owns this collection of versions. Format: `projects/*/locations/*/apis/*`
The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.
A page token, received from a previous `ListApiVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListApiVersions` must match the call that provided the page token.
An expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields.
Response message for ListApiVersions.
The versions from the specified publisher.
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Returns a specified version.
Request message for GetApiVersion.
Required. The name of the version to retrieve. Format: `projects/*/locations/*/apis/*/versions/*`
Creates a specified version.
Request message for CreateApiVersion.
Required. The parent, which owns this collection of versions. Format: `projects/*/locations/*/apis/*`
Required. The version to create.
Required. The ID to use for the version, which will become the final component of the version's resource name. This value should be 1-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.
Used to modify a specified version.
Request message for UpdateApiVersion.
Required. The version to update. The `name` field is used to identify the version to update. Format: `projects/*/locations/*/apis/*/versions/*`
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
If set to true, and the version is not found, a new version will be created. In this situation, `update_mask` is ignored.
Removes a specified version and all of the resources that it owns.
Request message for DeleteApiVersion.
Required. The name of the version to delete. Format: `projects/*/locations/*/apis/*/versions/*`
If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.)
Returns matching specs.
Request message for ListApiSpecs.
Required. The parent, which owns this collection of specs. Format: `projects/*/locations/*/apis/*/versions/*`
The maximum number of specs to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.
A page token, received from a previous `ListApiSpecs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListApiSpecs` must match the call that provided the page token.
An expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields except contents.
Response message for ListApiSpecs.
The specs from the specified publisher.
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Returns a specified spec.
Request message for GetApiSpec.
Required. The name of the spec to retrieve. Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
Returns the contents of a specified spec. If specs are stored with GZip compression, the default behavior is to return the spec uncompressed (the mime_type response field indicates the exact format returned).
Request message for GetApiSpecContents.
Required. The name of the spec whose contents should be retrieved. Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
Creates a specified spec.
Request message for CreateApiSpec.
Required. The parent, which owns this collection of specs. Format: `projects/*/locations/*/apis/*/versions/*`
Required. The spec to create.
Required. The ID to use for the spec, which will become the final component of the spec's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.
Used to modify a specified spec.
Request message for UpdateApiSpec.
Required. The spec to update. The `name` field is used to identify the spec to update. Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
If set to true, and the spec is not found, a new spec will be created. In this situation, `update_mask` is ignored.
Removes a specified spec, all revisions, and all child resources (e.g., artifacts).
Request message for DeleteApiSpec.
Required. The name of the spec to delete. Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.)
Adds a tag to a specified revision of a spec.
Request message for TagApiSpecRevision.
Required. The name of the spec to be tagged, including the revision ID.
Required. The tag to apply. The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
Lists all revisions of a spec. Revisions are returned in descending order of revision creation time.
Request message for ListApiSpecRevisions.
Required. The name of the spec to list revisions for.
The maximum number of revisions to return per page.
The page token, received from a previous ListApiSpecRevisions call. Provide this to retrieve the subsequent page.
Response message for ListApiSpecRevisionsResponse.
The revisions of the spec.
A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.
Request message for RollbackApiSpec.
Required. The spec being rolled back.
Required. The revision ID to roll back to. It must be a revision of the same spec. Example: `c7cfa2a8`
Deletes a revision of a spec.
Request message for DeleteApiSpecRevision.
Required. The name of the spec revision to be deleted, with a revision ID explicitly included. Example: `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
Returns matching deployments.
Request message for ListApiDeployments.
Required. The parent, which owns this collection of deployments. Format: `projects/*/locations/*/apis/*`
The maximum number of deployments to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.
A page token, received from a previous `ListApiDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListApiDeployments` must match the call that provided the page token.
An expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields.
Response message for ListApiDeployments.
The deployments from the specified publisher.
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Returns a specified deployment.
Request message for GetApiDeployment.
Required. The name of the deployment to retrieve. Format: `projects/*/locations/*/apis/*/deployments/*`
Creates a specified deployment.
Request message for CreateApiDeployment.
Required. The parent, which owns this collection of deployments. Format: `projects/*/locations/*/apis/*`
Required. The deployment to create.
Required. The ID to use for the deployment, which will become the final component of the deployment's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.
Used to modify a specified deployment.
Request message for UpdateApiDeployment.
Required. The deployment to update. The `name` field is used to identify the deployment to update. Format: `projects/*/locations/*/apis/*/deployments/*`
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
If set to true, and the deployment is not found, a new deployment will be created. In this situation, `update_mask` is ignored.
Removes a specified deployment, all revisions, and all child resources (e.g., artifacts).
Request message for DeleteApiDeployment.
Required. The name of the deployment to delete. Format: `projects/*/locations/*/apis/*/deployments/*`
If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.)
Adds a tag to a specified revision of a deployment.
Request message for TagApiDeploymentRevision.
Required. The name of the deployment to be tagged, including the revision ID.
Required. The tag to apply. The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
Lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.
Request message for ListApiDeploymentRevisions.
Required. The name of the deployment to list revisions for.
The maximum number of revisions to return per page.
The page token, received from a previous ListApiDeploymentRevisions call. Provide this to retrieve the subsequent page.
Response message for ListApiDeploymentRevisionsResponse.
The revisions of the deployment.
A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.
Request message for RollbackApiDeployment.
Required. The deployment being rolled back.
Required. The revision ID to roll back to. It must be a revision of the same deployment. Example: `c7cfa2a8`
Deletes a revision of a deployment.
Request message for DeleteApiDeploymentRevision.
Required. The name of the deployment revision to be deleted, with a revision ID explicitly included. Example: `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
Returns matching artifacts.
Request message for ListArtifacts.
Required. The parent, which owns this collection of artifacts. Format: `{parent}`
The maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.
A page token, received from a previous `ListArtifacts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListArtifacts` must match the call that provided the page token.
An expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields except contents.
Response message for ListArtifacts.
The artifacts from the specified publisher.
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Returns a specified artifact.
Request message for GetArtifact.
Required. The name of the artifact to retrieve. Format: `{parent}/artifacts/*`
Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).
Request message for GetArtifactContents.
Required. The name of the artifact whose contents should be retrieved. Format: `{parent}/artifacts/*`
Creates a specified artifact.
Request message for CreateArtifact.
Required. The parent, which owns this collection of artifacts. Format: `{parent}`
Required. The artifact to create.
Required. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.
Used to replace a specified artifact.
Request message for ReplaceArtifact.
Required. The artifact to replace. The `name` field is used to identify the artifact to replace. Format: `{parent}/artifacts/*`
Removes a specified artifact.
Request message for DeleteArtifact.
Required. The name of the artifact to delete. Format: `{parent}/artifacts/*`
A top-level description of an API. Produced by producers and are commitments to provide services.
Used as response type in: Registry.CreateApi, Registry.GetApi, Registry.UpdateApi
Used as field type in:
, ,Resource name.
Human-meaningful name.
A detailed description.
Output only. Creation timestamp.
Output only. Last update timestamp.
A user-definable description of the availability of this service. Format: free-form, but we expect single words that describe availability, e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
The recommended version of the API. Format: `apis/{api}/versions/{version}`
The recommended deployment of the API. Format: `apis/{api}/deployments/{deployment}`
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
Describes a service running at particular address that provides a particular version of an API. ApiDeployments have revisions which correspond to different configurations of a single deployment in time. Revision identifiers should be updated whenever the served API spec or endpoint address changes.
Used as response type in: Registry.CreateApiDeployment, Registry.DeleteApiDeploymentRevision, Registry.GetApiDeployment, Registry.RollbackApiDeployment, Registry.TagApiDeploymentRevision, Registry.UpdateApiDeployment
Used as field type in:
, , ,Resource name.
Human-meaningful name.
A detailed description.
Output only. Immutable. The revision ID of the deployment. A new revision is committed whenever the deployment contents are changed. The format is an 8-character hexadecimal string.
Output only. Creation timestamp; when the deployment resource was created.
Output only. Revision creation timestamp; when the represented revision was created.
Output only. Last update timestamp: when the represented revision was last modified.
The full resource name (including revision ID) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format: `apis/{api}/deployments/{deployment}`
The address where the deployment is serving. Changes to this value will update the revision.
The address of the external channel of the API (e.g., the Developer Portal). Changes to this value will not affect the revision.
Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
Describes a version of an API in a structured way. ApiSpecs provide formal descriptions that consumers can use to use a version. ApiSpec resources are intended to be fully-resolved descriptions of an ApiVersion. When specs consist of multiple files, these should be bundled together (e.g., in a zip archive) and stored as a unit. Multiple specs can exist to provide representations in different API description formats. Synchronization of these representations would be provided by tooling and background services.
Used as response type in: Registry.CreateApiSpec, Registry.DeleteApiSpecRevision, Registry.GetApiSpec, Registry.RollbackApiSpec, Registry.TagApiSpecRevision, Registry.UpdateApiSpec
Used as field type in:
, , ,Resource name.
A possibly-hierarchical name used to refer to the spec from other specs.
A detailed description.
Output only. Immutable. The revision ID of the spec. A new revision is committed whenever the spec contents are changed. The format is an 8-character hexadecimal string.
Output only. Creation timestamp; when the spec resource was created.
Output only. Revision creation timestamp; when the represented revision was created.
Output only. Last update timestamp: when the represented revision was last modified.
A style (format) descriptor for this spec that is specified as a Media Type (https://en.wikipedia.org/wiki/Media_type). Possible values include `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and `application/vnd.apigee.graphql`, with possible suffixes representing compression types. These hypothetical names are defined in the vendor tree defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
Output only. The size of the spec file in bytes. If the spec is gzipped, this is the size of the uncompressed spec.
Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is the hash of the uncompressed spec.
The original source URI of the spec (if one exists). This is an external location that can be used for reference purposes but which may not be authoritative since this external resource may change after the spec is retrieved.
Input only. The contents of the spec. Provided by API callers when specs are created or updated. To access the contents of a spec, use GetApiSpecContents.
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
Describes a particular version of an API. ApiVersions are what consumers actually use.
Used as response type in: Registry.CreateApiVersion, Registry.GetApiVersion, Registry.UpdateApiVersion
Used as field type in:
, ,Resource name.
Human-meaningful name.
A detailed description.
Output only. Creation timestamp.
Output only. Last update timestamp.
A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED".
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
Artifacts of resources. Artifacts are unique (single-value) per resource and are used to store metadata that is too large or numerous to be stored directly on the resource. Since artifacts are stored separately from parent resources, they should generally be used for metadata that is needed infrequently, i.e., not for display in primary views of the resource but perhaps displayed or downloaded upon request. The `ListArtifacts` method allows artifacts to be quickly enumerated and checked for presence without downloading their (potentially-large) contents.
Used as response type in: Registry.CreateArtifact, Registry.GetArtifact, Registry.ReplaceArtifact
Used as field type in:
, ,Resource name.
Output only. Creation timestamp.
Output only. Last update timestamp.
A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
Output only. The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
An Instance represents the instance resources of the Registry. Currently, only one instance is allowed for each project.
Used as response type in: Provisioning.GetInstance
Used as field type in:
Format: `projects/*/locations/*/instance`. Currently only `locations/global` is supported.
Output only. Creation timestamp.
Output only. Last update timestamp.
Output only. The current state of the Instance.
Output only. Extra information of Instance.State if the state is `FAILED`.
Required. Config of the Instance.
Available configurations to provision an Instance.
Used in:
Output only. The GCP location where the Instance resides.
Required. The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`, where the `location` must match InstanceConfig.location.
State of the Instance.
Used in:
The default value. This value is used if the state is omitted.
The Instance has not been initialized or has been deleted.
The Instance is being created.
The Instance has been created and is ready for use.
The Instance is being updated.
The Instance is being deleted.
The Instance encountered an error during a state change.
Represents the metadata of the long-running operation.
The time the operation was created.
The time the operation finished running.
Server-defined resource path for the target of the operation.
Name of the verb executed by the operation.
Human-readable status of the operation, if any.
Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
API version used to start the operation.