Protocol Documentation

Table of Contents

google/cloud/apigeeregistry/v1/registry_models.proto

Top

Api

An Api is a top-level description of an API.

Apis are produced by producers and are commitments to provide services.

FieldTypeLabelDescription
name string

Resource name.

display_name string

Human-meaningful name.

description string

A detailed description.

create_time google.protobuf.Timestamp

Output only. Creation timestamp.

update_time google.protobuf.Timestamp

Output only. Last update timestamp.

availability string

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".

recommended_version string

The recommended version of the API. Format: apis/{api}/versions/{version}

recommended_deployment string

The recommended deployment of the API. Format: apis/{api}/deployments/{deployment}

labels Api.LabelsEntry repeated

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 Api.AnnotationsEntry repeated

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.

Api.AnnotationsEntry

FieldTypeLabelDescription
key string

value string

Api.LabelsEntry

FieldTypeLabelDescription
key string

value string

ApiDeployment

An ApiDeployment 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.

FieldTypeLabelDescription
name string

Resource name.

display_name string

Human-meaningful name.

description string

A detailed description.

revision_id string

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.

create_time google.protobuf.Timestamp

Output only. Creation timestamp; when the deployment resource was created.

revision_create_time google.protobuf.Timestamp

Output only. Revision creation timestamp; when the represented revision was created.

revision_update_time google.protobuf.Timestamp

Output only. Last update timestamp: when the represented revision was last modified.

api_spec_revision string

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}

endpoint_uri string

The address where the deployment is serving. Changes to this value will update the revision.

external_channel_uri string

The address of the external channel of the API (e.g. the Developer Portal). Changes to this value will not affect the revision.

intended_audience string

Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.

access_guidance string

Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.

labels ApiDeployment.LabelsEntry repeated

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 "registry.googleapis.com/" and cannot be changed.

annotations ApiDeployment.AnnotationsEntry repeated

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.

ApiDeployment.AnnotationsEntry

FieldTypeLabelDescription
key string

value string

ApiDeployment.LabelsEntry

FieldTypeLabelDescription
key string

value string

ApiSpec

An ApiSpec 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.

FieldTypeLabelDescription
name string

Resource name.

filename string

A possibly-hierarchical name used to refer to the spec from other specs.

description string

A detailed description.

revision_id string

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.

create_time google.protobuf.Timestamp

Output only. Creation timestamp; when the spec resource was created.

revision_create_time google.protobuf.Timestamp

Output only. Revision creation timestamp; when the represented revision was created.

revision_update_time google.protobuf.Timestamp

Output only. Last update timestamp: when the represented revision was last modified.

mime_type string

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").

size_bytes int32

Output only. The size of the spec file in bytes. If the spec is gzipped, this is the size of the uncompressed spec.

hash string

Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is the hash of the uncompressed spec.

source_uri string

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.

contents bytes

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 ApiSpec.LabelsEntry repeated

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 ApiSpec.AnnotationsEntry repeated

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.

ApiSpec.AnnotationsEntry

FieldTypeLabelDescription
key string

value string

ApiSpec.LabelsEntry

FieldTypeLabelDescription
key string

value string

ApiVersion

An ApiVersion describes a particular version of an API.

ApiVersions are what consumers actually use.

FieldTypeLabelDescription
name string

Resource name.

display_name string

Human-meaningful name.

description string

A detailed description.

create_time google.protobuf.Timestamp

Output only. Creation timestamp.

update_time google.protobuf.Timestamp

Output only. Last update timestamp.

state string

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 ApiVersion.LabelsEntry repeated

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 ApiVersion.AnnotationsEntry repeated

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.

ApiVersion.AnnotationsEntry

FieldTypeLabelDescription
key string

value string

ApiVersion.LabelsEntry

FieldTypeLabelDescription
key string

value string

Artifact

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.

FieldTypeLabelDescription
name string

Resource name.

create_time google.protobuf.Timestamp

Output only. Creation timestamp.

update_time google.protobuf.Timestamp

Output only. Last update timestamp.

mime_type string

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").

size_bytes int32

Output only. The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.

hash string

Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.

contents bytes

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.

google/cloud/apigeeregistry/v1/registry_service.proto

Top

CreateApiDeploymentRequest

Request message for CreateApiDeployment.

FieldTypeLabelDescription
parent string

Required. The parent, which owns this collection of deployments. Format: projects/*/locations/*/apis/*

api_deployment ApiDeployment

Required. The deployment to create.

api_deployment_id string

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.

CreateApiRequest

Request message for CreateApi.

FieldTypeLabelDescription
parent string

Required. The parent, which owns this collection of APIs. Format: projects/*/locations/*

api Api

Required. The API to create.

api_id string

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.

CreateApiSpecRequest

Request message for CreateApiSpec.

FieldTypeLabelDescription
parent string

Required. The parent, which owns this collection of specs. Format: projects/*/locations/*/apis/*/versions/*

api_spec ApiSpec

Required. The spec to create.

api_spec_id string

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.

CreateApiVersionRequest

Request message for CreateApiVersion.

FieldTypeLabelDescription
parent string

Required. The parent, which owns this collection of versions. Format: projects/*/locations/*/apis/*

api_version ApiVersion

Required. The version to create.

api_version_id string

Required. The ID to use for the version, which will become the final component of the version'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.

CreateArtifactRequest

Request message for CreateArtifact.

FieldTypeLabelDescription
parent string

Required. The parent, which owns this collection of artifacts. Format: {parent}

artifact Artifact

Required. The artifact to create.

artifact_id string

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.

DeleteApiDeploymentRequest

Request message for DeleteApiDeployment.

FieldTypeLabelDescription
name string

Required. The name of the deployment to delete. Format: projects/*/locations/*/apis/*/deployments/*

force bool

If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.)

DeleteApiDeploymentRevisionRequest

Request message for DeleteApiDeploymentRevision.

FieldTypeLabelDescription
name string

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

DeleteApiRequest

Request message for DeleteApi.

FieldTypeLabelDescription
name string

Required. The name of the API to delete. Format: projects/*/locations/*/apis/*

force bool

If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.)

DeleteApiSpecRequest

Request message for DeleteApiSpec.

FieldTypeLabelDescription
name string

Required. The name of the spec to delete. Format: projects/*/locations/*/apis/*/versions/*/specs/*

force bool

If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.)

DeleteApiSpecRevisionRequest

Request message for DeleteApiSpecRevision.

FieldTypeLabelDescription
name string

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

DeleteApiVersionRequest

Request message for DeleteApiVersion.

FieldTypeLabelDescription
name string

Required. The name of the version to delete. Format: projects/*/locations/*/apis/*/versions/*

force bool

If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.)

DeleteArtifactRequest

Request message for DeleteArtifact.

FieldTypeLabelDescription
name string

Required. The name of the artifact to delete. Format: {parent}/artifacts/*

GetApiDeploymentRequest

Request message for GetApiDeployment.

FieldTypeLabelDescription
name string

Required. The name of the deployment to retrieve. Format: projects/*/locations/*/apis/*/deployments/*

GetApiRequest

Request message for GetApi.

FieldTypeLabelDescription
name string

Required. The name of the API to retrieve. Format: projects/*/locations/*/apis/*

GetApiSpecContentsRequest

Request message for GetApiSpecContents.

FieldTypeLabelDescription
name string

Required. The name of the spec whose contents should be retrieved. Format: projects/*/locations/*/apis/*/versions/*/specs/*

GetApiSpecRequest

Request message for GetApiSpec.

FieldTypeLabelDescription
name string

Required. The name of the spec to retrieve. Format: projects/*/locations/*/apis/*/versions/*/specs/*

GetApiVersionRequest

Request message for GetApiVersion.

FieldTypeLabelDescription
name string

Required. The name of the version to retrieve. Format: projects/*/locations/*/apis/*/versions/*

GetArtifactContentsRequest

Request message for GetArtifactContents.

FieldTypeLabelDescription
name string

Required. The name of the artifact whose contents should be retrieved. Format: {parent}/artifacts/*

GetArtifactRequest

Request message for GetArtifact.

FieldTypeLabelDescription
name string

Required. The name of the artifact to retrieve. Format: {parent}/artifacts/*

ListApiDeploymentRevisionsRequest

Request message for ListApiDeploymentRevisions.

FieldTypeLabelDescription
name string

Required. The name of the deployment to list revisions for.

page_size int32

The maximum number of revisions to return per page.

page_token string

The page token, received from a previous ListApiDeploymentRevisions call. Provide this to retrieve the subsequent page.

ListApiDeploymentRevisionsResponse

Response message for ListApiDeploymentRevisionsResponse.

FieldTypeLabelDescription
api_deployments ApiDeployment repeated

The revisions of the deployment.

next_page_token string

A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListApiDeploymentsRequest

Request message for ListApiDeployments.

FieldTypeLabelDescription
parent string

Required. The parent, which owns this collection of deployments. Format: projects/*/locations/*/apis/*

page_size int32

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.

page_token string

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.

filter string

An expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields.

ListApiDeploymentsResponse

Response message for ListApiDeployments.

FieldTypeLabelDescription
api_deployments ApiDeployment repeated

The deployments from the specified publisher.

next_page_token string

A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListApiSpecRevisionsRequest

Request message for ListApiSpecRevisions.

FieldTypeLabelDescription
name string

Required. The name of the spec to list revisions for.

page_size int32

The maximum number of revisions to return per page.

page_token string

The page token, received from a previous ListApiSpecRevisions call. Provide this to retrieve the subsequent page.

ListApiSpecRevisionsResponse

Response message for ListApiSpecRevisionsResponse.

FieldTypeLabelDescription
api_specs ApiSpec repeated

The revisions of the spec.

next_page_token string

A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListApiSpecsRequest

Request message for ListApiSpecs.

FieldTypeLabelDescription
parent string

Required. The parent, which owns this collection of specs. Format: projects/*/locations/*/apis/*/versions/*

page_size int32

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.

page_token string

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.

filter string

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.

ListApiSpecsResponse

Response message for ListApiSpecs.

FieldTypeLabelDescription
api_specs ApiSpec repeated

The specs from the specified publisher.

next_page_token string

A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListApiVersionsRequest

Request message for ListApiVersions.

FieldTypeLabelDescription
parent string

Required. The parent, which owns this collection of versions. Format: projects/*/locations/*/apis/*

page_size int32

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.

page_token string

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.

filter string

An expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields.

ListApiVersionsResponse

Response message for ListApiVersions.

FieldTypeLabelDescription
api_versions ApiVersion repeated

The versions from the specified publisher.

next_page_token string

A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListApisRequest

Request message for ListApis.

FieldTypeLabelDescription
parent string

Required. The parent, which owns this collection of APIs. Format: projects/*/locations/*

page_size int32

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.

page_token string

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.

filter string

An expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields.

ListApisResponse

Response message for ListApis.

FieldTypeLabelDescription
apis Api repeated

The APIs from the specified publisher.

next_page_token string

A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListArtifactsRequest

Request message for ListArtifacts.

FieldTypeLabelDescription
parent string

Required. The parent, which owns this collection of artifacts. Format: {parent}

page_size int32

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.

page_token string

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.

filter string

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.

ListArtifactsResponse

Response message for ListArtifacts.

FieldTypeLabelDescription
artifacts Artifact repeated

The artifacts from the specified publisher.

next_page_token string

A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

ReplaceArtifactRequest

Request message for ReplaceArtifact.

FieldTypeLabelDescription
artifact Artifact

Required. The artifact to replace. The `name` field is used to identify the artifact to replace. Format: {parent}/artifacts/*

RollbackApiDeploymentRequest

Request message for RollbackApiDeployment.

FieldTypeLabelDescription
name string

Required. The deployment being rolled back.

revision_id string

Required. The revision ID to roll back to. It must be a revision of the same deployment. Example: c7cfa2a8

RollbackApiSpecRequest

Request message for RollbackApiSpec.

FieldTypeLabelDescription
name string

Required. The spec being rolled back.

revision_id string

Required. The revision ID to roll back to. It must be a revision of the same spec. Example: c7cfa2a8

TagApiDeploymentRevisionRequest

Request message for TagApiDeploymentRevision.

FieldTypeLabelDescription
name string

Required. The name of the deployment to be tagged, including the revision ID.

tag string

Required. The tag to apply. The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.

TagApiSpecRevisionRequest

Request message for TagApiSpecRevision.

FieldTypeLabelDescription
name string

Required. The name of the spec to be tagged, including the revision ID.

tag string

Required. The tag to apply. The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.

UpdateApiDeploymentRequest

Request message for UpdateApiDeployment.

FieldTypeLabelDescription
api_deployment ApiDeployment

Required. The deployment to update. The `name` field is used to identify the deployment to update. Format: projects/*/locations/*/apis/*/deployments/*

update_mask google.protobuf.FieldMask

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 a "*" is specified, all fields are updated, including fields that are unspecified/default in the request.

allow_missing bool

If set to true, and the deployment is not found, a new deployment will be created. In this situation, `update_mask` is ignored.

UpdateApiRequest

Request message for UpdateApi.

FieldTypeLabelDescription
api Api

Required. The API to update. The `name` field is used to identify the API to update. Format: projects/*/locations/*/apis/*

update_mask google.protobuf.FieldMask

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 a "*" is specified, all fields are updated, including fields that are unspecified/default in the request.

allow_missing bool

If set to true, and the api is not found, a new api_versions will be created. In this situation, `update_mask` is ignored.

UpdateApiSpecRequest

Request message for UpdateApiSpec.

FieldTypeLabelDescription
api_spec ApiSpec

Required. The spec to update. The `name` field is used to identify the spec to update. Format: projects/*/locations/*/apis/*/versions/*/specs/*

update_mask google.protobuf.FieldMask

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 a "*" is specified, all fields are updated, including fields that are unspecified/default in the request.

allow_missing bool

If set to true, and the spec is not found, a new spec will be created. In this situation, `update_mask` is ignored.

UpdateApiVersionRequest

Request message for UpdateApiVersion.

FieldTypeLabelDescription
api_version ApiVersion

Required. The version to update. The `name` field is used to identify the version to update. Format: projects/*/locations/*/apis/*/versions/*

update_mask google.protobuf.FieldMask

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 a "*" is specified, all fields are updated, including fields that are unspecified/default in the request.

allow_missing bool

If set to true, and the version is not found, a new version will be created. In this situation, `update_mask` is ignored.

Registry

The Registry service allows teams to manage descriptions of APIs.

Method NameRequest TypeResponse TypeDescription
ListApis ListApisRequest ListApisResponse

ListApis returns matching APIs.

GetApi GetApiRequest Api

GetApi returns a specified API.

CreateApi CreateApiRequest Api

CreateApi creates a specified API.

UpdateApi UpdateApiRequest Api

UpdateApi can be used to modify a specified API.

DeleteApi DeleteApiRequest .google.protobuf.Empty

DeleteApi removes a specified API and all of the resources that it owns.

ListApiVersions ListApiVersionsRequest ListApiVersionsResponse

ListApiVersions returns matching versions.

GetApiVersion GetApiVersionRequest ApiVersion

GetApiVersion returns a specified version.

CreateApiVersion CreateApiVersionRequest ApiVersion

CreateApiVersion creates a specified version.

UpdateApiVersion UpdateApiVersionRequest ApiVersion

UpdateApiVersion can be used to modify a specified version.

DeleteApiVersion DeleteApiVersionRequest .google.protobuf.Empty

DeleteApiVersion removes a specified version and all of the resources that it owns.

ListApiSpecs ListApiSpecsRequest ListApiSpecsResponse

ListApiSpecs returns matching specs.

GetApiSpec GetApiSpecRequest ApiSpec

GetApiSpec returns a specified spec.

GetApiSpecContents GetApiSpecContentsRequest .google.api.HttpBody

GetApiSpecContents 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).

CreateApiSpec CreateApiSpecRequest ApiSpec

CreateApiSpec creates a specified spec.

UpdateApiSpec UpdateApiSpecRequest ApiSpec

UpdateApiSpec can be used to modify a specified spec.

DeleteApiSpec DeleteApiSpecRequest .google.protobuf.Empty

DeleteApiSpec removes a specified spec, all revisions, and all child resources (e.g. artifacts).

TagApiSpecRevision TagApiSpecRevisionRequest ApiSpec

TagApiSpecRevision adds a tag to a specified revision of a spec.

ListApiSpecRevisions ListApiSpecRevisionsRequest ListApiSpecRevisionsResponse

ListApiSpecRevisions lists all revisions of a spec. Revisions are returned in descending order of revision creation time.

RollbackApiSpec RollbackApiSpecRequest ApiSpec

RollbackApiSpec sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.

DeleteApiSpecRevision DeleteApiSpecRevisionRequest ApiSpec

DeleteApiSpecRevision deletes a revision of a spec.

ListApiDeployments ListApiDeploymentsRequest ListApiDeploymentsResponse

ListApiDeployments returns matching deployments.

GetApiDeployment GetApiDeploymentRequest ApiDeployment

GetApiDeployment returns a specified deployment.

CreateApiDeployment CreateApiDeploymentRequest ApiDeployment

CreateApiDeployment creates a specified deployment.

UpdateApiDeployment UpdateApiDeploymentRequest ApiDeployment

UpdateApiDeployment can be used to modify a specified deployment.

DeleteApiDeployment DeleteApiDeploymentRequest .google.protobuf.Empty

DeleteApiDeployment removes a specified deployment, all revisions, and all child resources (e.g. artifacts).

TagApiDeploymentRevision TagApiDeploymentRevisionRequest ApiDeployment

TagApiDeploymentRevision adds a tag to a specified revision of a deployment.

ListApiDeploymentRevisions ListApiDeploymentRevisionsRequest ListApiDeploymentRevisionsResponse

ListApiDeploymentRevisions lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.

RollbackApiDeployment RollbackApiDeploymentRequest ApiDeployment

RollbackApiDeployment sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.

DeleteApiDeploymentRevision DeleteApiDeploymentRevisionRequest ApiDeployment

DeleteApiDeploymentRevision deletes a revision of a deployment.

ListArtifacts ListArtifactsRequest ListArtifactsResponse

ListArtifacts returns matching artifacts.

GetArtifact GetArtifactRequest Artifact

GetArtifact returns a specified artifact.

GetArtifactContents GetArtifactContentsRequest .google.api.HttpBody

GetArtifactContents 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).

CreateArtifact CreateArtifactRequest Artifact

CreateArtifact creates a specified artifact.

ReplaceArtifact ReplaceArtifactRequest Artifact

ReplaceArtifact can be used to replace a specified artifact.

DeleteArtifact DeleteArtifactRequest .google.protobuf.Empty

DeleteArtifact removes a specified artifact.

Methods with HTTP bindings

Method Name Method Pattern Body
ListApis GET /v1/{parent=projects/*/locations/*}/apis
GetApi GET /v1/{name=projects/*/locations/*/apis/*}
CreateApi POST /v1/{parent=projects/*/locations/*}/apis api
UpdateApi PATCH /v1/{api.name=projects/*/locations/*/apis/*} api
DeleteApi DELETE /v1/{name=projects/*/locations/*/apis/*}
ListApiVersions GET /v1/{parent=projects/*/locations/*/apis/*}/versions
GetApiVersion GET /v1/{name=projects/*/locations/*/apis/*/versions/*}
CreateApiVersion POST /v1/{parent=projects/*/locations/*/apis/*}/versions api_version
UpdateApiVersion PATCH /v1/{api_version.name=projects/*/locations/*/apis/*/versions/*} api_version
DeleteApiVersion DELETE /v1/{name=projects/*/locations/*/apis/*/versions/*}
ListApiSpecs GET /v1/{parent=projects/*/locations/*/apis/*/versions/*}/specs
GetApiSpec GET /v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}
GetApiSpecContents GET /v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:getContents
CreateApiSpec POST /v1/{parent=projects/*/locations/*/apis/*/versions/*}/specs api_spec
UpdateApiSpec PATCH /v1/{api_spec.name=projects/*/locations/*/apis/*/versions/*/specs/*} api_spec
DeleteApiSpec DELETE /v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}
TagApiSpecRevision POST /v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:tagRevision *
ListApiSpecRevisions GET /v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:listRevisions
RollbackApiSpec POST /v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:rollback *
DeleteApiSpecRevision DELETE /v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:deleteRevision
ListApiDeployments GET /v1/{parent=projects/*/locations/*/apis/*}/deployments
GetApiDeployment GET /v1/{name=projects/*/locations/*/apis/*/deployments/*}
CreateApiDeployment POST /v1/{parent=projects/*/locations/*/apis/*}/deployments api_deployment
UpdateApiDeployment PATCH /v1/{api_deployment.name=projects/*/locations/*/apis/*/deployments/*} api_deployment
DeleteApiDeployment DELETE /v1/{name=projects/*/locations/*/apis/*/deployments/*}
TagApiDeploymentRevision POST /v1/{name=projects/*/locations/*/apis/*/deployments/*}:tagRevision *
ListApiDeploymentRevisions GET /v1/{name=projects/*/locations/*/apis/*/deployments/*}:listRevisions
RollbackApiDeployment POST /v1/{name=projects/*/locations/*/apis/*/deployments/*}:rollback *
DeleteApiDeploymentRevision DELETE /v1/{name=projects/*/locations/*/apis/*/deployments/*}:deleteRevision
ListArtifacts GET /v1/{parent=projects/*/locations/*}/artifacts
ListArtifacts GET /v1/{parent=projects/*/locations/*/apis/*}/artifacts
ListArtifacts GET /v1/{parent=projects/*/locations/*/apis/*/versions/*}/artifacts
ListArtifacts GET /v1/{parent=projects/*/locations/*/apis/*/versions/*/specs/*}/artifacts
ListArtifacts GET /v1/{parent=projects/*/locations/*/apis/*/deployments/*}/artifacts
GetArtifact GET /v1/{name=projects/*/locations/*/artifacts/*}
GetArtifact GET /v1/{name=projects/*/locations/*/apis/*/artifacts/*}
GetArtifact GET /v1/{name=projects/*/locations/*/apis/*/versions/*/artifacts/*}
GetArtifact GET /v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}
GetArtifact GET /v1/{name=projects/*/locations/*/apis/*/deployments/*/artifacts/*}
GetArtifactContents GET /v1/{name=projects/*/locations/*/artifacts/*}:getContents
GetArtifactContents GET /v1/{name=projects/*/locations/*/apis/*/artifacts/*}:getContents
GetArtifactContents GET /v1/{name=projects/*/locations/*/apis/*/versions/*/artifacts/*}:getContents
GetArtifactContents GET /v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}:getContents
GetArtifactContents GET /v1/{name=projects/*/locations/*/apis/*/deployments/*/artifacts/*}:getContents
CreateArtifact POST /v1/{parent=projects/*/locations/*}/artifacts artifact
CreateArtifact POST /v1/{parent=projects/*/locations/*/apis/*}/artifacts artifact
CreateArtifact POST /v1/{parent=projects/*/locations/*/apis/*/versions/*}/artifacts artifact
CreateArtifact POST /v1/{parent=projects/*/locations/*/apis/*/versions/*/specs/*}/artifacts artifact
CreateArtifact POST /v1/{parent=projects/*/locations/*/apis/*/deployments/*}/artifacts artifact
ReplaceArtifact PUT /v1/{artifact.name=projects/*/locations/*/artifacts/*} artifact
ReplaceArtifact PUT /v1/{artifact.name=projects/*/locations/*/apis/*/artifacts/*} artifact
ReplaceArtifact PUT /v1/{artifact.name=projects/*/locations/*/apis/*/versions/*/artifacts/*} artifact
ReplaceArtifact PUT /v1/{artifact.name=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*} artifact
ReplaceArtifact PUT /v1/{artifact.name=projects/*/locations/*/apis/*/deployments/*/artifacts/*} artifact
DeleteArtifact DELETE /v1/{name=projects/*/locations/*/artifacts/*}
DeleteArtifact DELETE /v1/{name=projects/*/locations/*/apis/*/artifacts/*}
DeleteArtifact DELETE /v1/{name=projects/*/locations/*/apis/*/versions/*/artifacts/*}
DeleteArtifact DELETE /v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}
DeleteArtifact DELETE /v1/{name=projects/*/locations/*/apis/*/deployments/*/artifacts/*}

google/cloud/apigeeregistry/v1/admin_models.proto

Top

BuildInfo

BuildInfo describes a server build.

FieldTypeLabelDescription
go_version string

Version of Go that produced this binary.

path string

The main package path.

main BuildInfo.Module

The main module.

dependencies BuildInfo.Module repeated

The dependencies of the build.

settings BuildInfo.SettingsEntry repeated

Settings associated with the build.

BuildInfo.Module

A module used to create the build.

FieldTypeLabelDescription
path string

The module path.

version string

The module version.

sum string

The module checksum.

replacement BuildInfo.Module

An optional replacement for the module

BuildInfo.SettingsEntry

FieldTypeLabelDescription
key string

value string

Project

A Project is a top-level description of a collection of APIs.

Typically there would be one project for an entire organization.

Note: in a Google Cloud deployment, this resource and associated methods

will be omitted and its children will instead be associated with Google

Cloud projects.

FieldTypeLabelDescription
name string

Resource name.

display_name string

Human-meaningful name.

description string

A detailed description.

create_time google.protobuf.Timestamp

Creation timestamp.

update_time google.protobuf.Timestamp

Last update timestamp.

Status

Status represents the status of the service.

FieldTypeLabelDescription
message string

A string describing the status.

build BuildInfo

Information about the build of the server.

Storage

Storage describes the data stored by the service.

FieldTypeLabelDescription
description string

A string describing the storage backend.

collections Storage.Collection repeated

A list of collections in the storage backend. Collections are listed in alphabetical order.

Storage.Collection

A description of a collection in the backend database.

FieldTypeLabelDescription
name string

The name of the collection.

count int64

The number of entries in the collection.

google/cloud/apigeeregistry/v1/admin_service.proto

Top

CreateProjectRequest

Request message for CreateProject.

FieldTypeLabelDescription
project Project

The project to create.

project_id string

The ID to use for the project, which will become the final component of the project's resource name. This value should be at most 80 characters, and valid characters are /[a-z][0-9]-./.

DeleteProjectRequest

Request message for DeleteProject.

FieldTypeLabelDescription
name string

The name of the project to delete. Format: projects/*

force bool

If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.)

GetProjectRequest

Request message for GetProject.

FieldTypeLabelDescription
name string

The name of the project to retrieve. Format: projects/*

ListProjectsRequest

Request message for ListProjects.

FieldTypeLabelDescription
page_size int32

The maximum number of projects 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.

page_token string

A page token, received from a previous `ListProjects` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProjects` must match the call that provided the page token.

filter string

An expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields.

ListProjectsResponse

Response message for ListProjects.

FieldTypeLabelDescription
projects Project repeated

The projects from the specified publisher.

next_page_token string

A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

MigrateDatabaseMetadata

Metadata message for MigrateDatabase.

MigrateDatabaseRequest

Request message for MigrateDatabase.

FieldTypeLabelDescription
kind string

A string describing the kind of migration to perform. Currently only "auto" is recognized (and is the default if omitted).

MigrateDatabaseResponse

Response message for MigrateDatabase.

FieldTypeLabelDescription
message string

A string describing the result of the migration.

UpdateProjectRequest

Request message for UpdateProject.

FieldTypeLabelDescription
project Project

The project to update. The `name` field is used to identify the project to update. Format: projects/*

update_mask google.protobuf.FieldMask

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 a "*" is specified, all fields are updated, including fields that are unspecified/default in the request.

allow_missing bool

If set to true, and the project is not found, a new project will be created. In this situation, `update_mask` is ignored.

Admin

The Admin service supports setup and operation of an API registry.

It is typically not included in hosted versions of the API.

Method NameRequest TypeResponse TypeDescription
GetStatus .google.protobuf.Empty Status

GetStatus returns the status of the service. (-- api-linter: core::0131::request-message-name=disabled aip.dev/not-precedent: Not in the official API. --) (-- api-linter: core::0131::method-signature=disabled aip.dev/not-precedent: Not in the official API. --) (-- api-linter: core::0131::http-uri-name=disabled aip.dev/not-precedent: Not in the official API. --)

GetStorage .google.protobuf.Empty Storage

GetStorage returns information about the storage used by the service. (-- api-linter: core::0131::request-message-name=disabled aip.dev/not-precedent: Not in the official API. --) (-- api-linter: core::0131::method-signature=disabled aip.dev/not-precedent: Not in the official API. --) (-- api-linter: core::0131::http-uri-name=disabled aip.dev/not-precedent: Not in the official API. --)

MigrateDatabase MigrateDatabaseRequest .google.longrunning.Operation

MigrateDatabase attempts to migrate the database to the current schema.

ListProjects ListProjectsRequest ListProjectsResponse

ListProjects returns matching projects. (-- api-linter: core::0132::method-signature=disabled aip.dev/not-precedent: projects are top-level resources. --)

GetProject GetProjectRequest Project

GetProject returns a specified project.

CreateProject CreateProjectRequest Project

CreateProject creates a specified project. (-- api-linter: core::0133::http-uri-parent=disabled aip.dev/not-precedent: Project has an implicit parent. --) (-- api-linter: core::0133::method-signature=disabled aip.dev/not-precedent: Project has an implicit parent. --)

UpdateProject UpdateProjectRequest Project

UpdateProject can be used to modify a specified project.

DeleteProject DeleteProjectRequest .google.protobuf.Empty

DeleteProject removes a specified project and all of the resources that it owns.

Methods with HTTP bindings

Method Name Method Pattern Body
GetStatus GET /v1/status
GetStorage GET /v1/storage
MigrateDatabase POST /v1/migrateDatabase
ListProjects GET /v1/projects
GetProject GET /v1/{name=projects/*}
CreateProject POST /v1/projects project
UpdateProject PATCH /v1/{project.name=projects/*} project
DeleteProject DELETE /v1/{name=projects/*}

Scalar Value Types

.proto TypeNotesC++JavaPythonGoC#PHPRuby
double double double float float64 double float Float
float float float float float32 float float Float
int32 Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. int32 int int int32 int integer Bignum or Fixnum (as required)
int64 Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. int64 long int/long int64 long integer/string Bignum
uint32 Uses variable-length encoding. uint32 int int/long uint32 uint integer Bignum or Fixnum (as required)
uint64 Uses variable-length encoding. uint64 long int/long uint64 ulong integer/string Bignum or Fixnum (as required)
sint32 Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. int32 int int int32 int integer Bignum or Fixnum (as required)
sint64 Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. int64 long int/long int64 long integer/string Bignum
fixed32 Always four bytes. More efficient than uint32 if values are often greater than 2^28. uint32 int int uint32 uint integer Bignum or Fixnum (as required)
fixed64 Always eight bytes. More efficient than uint64 if values are often greater than 2^56. uint64 long int/long uint64 ulong integer/string Bignum
sfixed32 Always four bytes. int32 int int int32 int integer Bignum or Fixnum (as required)
sfixed64 Always eight bytes. int64 long int/long int64 long integer/string Bignum
bool bool boolean boolean bool bool boolean TrueClass/FalseClass
string A string must always contain UTF-8 encoded or 7-bit ASCII text. string String str/unicode string string string String (UTF-8)
bytes May contain any arbitrary sequence of bytes. string ByteString str []byte ByteString string String (ASCII-8BIT)