- 0.54.0 (latest)
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.1
- 0.2.2
- 0.1.1
public abstract static class RegistryGrpc.RegistryImplBase implements BindableService
The Registry service allows teams to manage descriptions of APIs.
Implements
io.grpc.BindableServiceConstructors
RegistryImplBase()
public RegistryImplBase()
Methods
bindService()
public final ServerServiceDefinition bindService()
Type | Description |
io.grpc.ServerServiceDefinition |
createApi(CreateApiRequest request, StreamObserver<Api> responseObserver)
public void createApi(CreateApiRequest request, StreamObserver<Api> responseObserver)
CreateApi creates a specified API.
Name | Description |
request | CreateApiRequest |
responseObserver | io.grpc.stub.StreamObserver<Api> |
createApiDeployment(CreateApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
public void createApiDeployment(CreateApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
CreateApiDeployment creates a specified deployment.
Name | Description |
request | CreateApiDeploymentRequest |
responseObserver | io.grpc.stub.StreamObserver<ApiDeployment> |
createApiSpec(CreateApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
public void createApiSpec(CreateApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
CreateApiSpec creates a specified spec.
Name | Description |
request | CreateApiSpecRequest |
responseObserver | io.grpc.stub.StreamObserver<ApiSpec> |
createApiVersion(CreateApiVersionRequest request, StreamObserver<ApiVersion> responseObserver)
public void createApiVersion(CreateApiVersionRequest request, StreamObserver<ApiVersion> responseObserver)
CreateApiVersion creates a specified version.
Name | Description |
request | CreateApiVersionRequest |
responseObserver | io.grpc.stub.StreamObserver<ApiVersion> |
createArtifact(CreateArtifactRequest request, StreamObserver<Artifact> responseObserver)
public void createArtifact(CreateArtifactRequest request, StreamObserver<Artifact> responseObserver)
CreateArtifact creates a specified artifact.
Name | Description |
request | CreateArtifactRequest |
responseObserver | io.grpc.stub.StreamObserver<Artifact> |
deleteApi(DeleteApiRequest request, StreamObserver<Empty> responseObserver)
public void deleteApi(DeleteApiRequest request, StreamObserver<Empty> responseObserver)
DeleteApi removes a specified API and all of the resources that it owns.
Name | Description |
request | DeleteApiRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
deleteApiDeployment(DeleteApiDeploymentRequest request, StreamObserver<Empty> responseObserver)
public void deleteApiDeployment(DeleteApiDeploymentRequest request, StreamObserver<Empty> responseObserver)
DeleteApiDeployment removes a specified deployment, all revisions, and all child resources (e.g. artifacts).
Name | Description |
request | DeleteApiDeploymentRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
deleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest request, StreamObserver<ApiDeployment> responseObserver)
public void deleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest request, StreamObserver<ApiDeployment> responseObserver)
DeleteApiDeploymentRevision deletes a revision of a deployment.
Name | Description |
request | DeleteApiDeploymentRevisionRequest |
responseObserver | io.grpc.stub.StreamObserver<ApiDeployment> |
deleteApiSpec(DeleteApiSpecRequest request, StreamObserver<Empty> responseObserver)
public void deleteApiSpec(DeleteApiSpecRequest request, StreamObserver<Empty> responseObserver)
DeleteApiSpec removes a specified spec, all revisions, and all child resources (e.g. artifacts).
Name | Description |
request | DeleteApiSpecRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
deleteApiSpecRevision(DeleteApiSpecRevisionRequest request, StreamObserver<ApiSpec> responseObserver)
public void deleteApiSpecRevision(DeleteApiSpecRevisionRequest request, StreamObserver<ApiSpec> responseObserver)
DeleteApiSpecRevision deletes a revision of a spec.
Name | Description |
request | DeleteApiSpecRevisionRequest |
responseObserver | io.grpc.stub.StreamObserver<ApiSpec> |
deleteApiVersion(DeleteApiVersionRequest request, StreamObserver<Empty> responseObserver)
public void deleteApiVersion(DeleteApiVersionRequest request, StreamObserver<Empty> responseObserver)
DeleteApiVersion removes a specified version and all of the resources that it owns.
Name | Description |
request | DeleteApiVersionRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
deleteArtifact(DeleteArtifactRequest request, StreamObserver<Empty> responseObserver)
public void deleteArtifact(DeleteArtifactRequest request, StreamObserver<Empty> responseObserver)
DeleteArtifact removes a specified artifact.
Name | Description |
request | DeleteArtifactRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
getApi(GetApiRequest request, StreamObserver<Api> responseObserver)
public void getApi(GetApiRequest request, StreamObserver<Api> responseObserver)
GetApi returns a specified API.
Name | Description |
request | GetApiRequest |
responseObserver | io.grpc.stub.StreamObserver<Api> |
getApiDeployment(GetApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
public void getApiDeployment(GetApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
GetApiDeployment returns a specified deployment.
Name | Description |
request | GetApiDeploymentRequest |
responseObserver | io.grpc.stub.StreamObserver<ApiDeployment> |
getApiSpec(GetApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
public void getApiSpec(GetApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
GetApiSpec returns a specified spec.
Name | Description |
request | GetApiSpecRequest |
responseObserver | io.grpc.stub.StreamObserver<ApiSpec> |
getApiSpecContents(GetApiSpecContentsRequest request, StreamObserver<HttpBody> responseObserver)
public void getApiSpecContents(GetApiSpecContentsRequest request, StreamObserver<HttpBody> responseObserver)
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).
Name | Description |
request | GetApiSpecContentsRequest |
responseObserver | io.grpc.stub.StreamObserver<com.google.api.HttpBody> |
getApiVersion(GetApiVersionRequest request, StreamObserver<ApiVersion> responseObserver)
public void getApiVersion(GetApiVersionRequest request, StreamObserver<ApiVersion> responseObserver)
GetApiVersion returns a specified version.
Name | Description |
request | GetApiVersionRequest |
responseObserver | io.grpc.stub.StreamObserver<ApiVersion> |
getArtifact(GetArtifactRequest request, StreamObserver<Artifact> responseObserver)
public void getArtifact(GetArtifactRequest request, StreamObserver<Artifact> responseObserver)
GetArtifact returns a specified artifact.
Name | Description |
request | GetArtifactRequest |
responseObserver | io.grpc.stub.StreamObserver<Artifact> |
getArtifactContents(GetArtifactContentsRequest request, StreamObserver<HttpBody> responseObserver)
public void getArtifactContents(GetArtifactContentsRequest request, StreamObserver<HttpBody> responseObserver)
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).
Name | Description |
request | GetArtifactContentsRequest |
responseObserver | io.grpc.stub.StreamObserver<com.google.api.HttpBody> |
listApiDeploymentRevisions(ListApiDeploymentRevisionsRequest request, StreamObserver<ListApiDeploymentRevisionsResponse> responseObserver)
public void listApiDeploymentRevisions(ListApiDeploymentRevisionsRequest request, StreamObserver<ListApiDeploymentRevisionsResponse> responseObserver)
ListApiDeploymentRevisions lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.
Name | Description |
request | ListApiDeploymentRevisionsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListApiDeploymentRevisionsResponse> |
listApiDeployments(ListApiDeploymentsRequest request, StreamObserver<ListApiDeploymentsResponse> responseObserver)
public void listApiDeployments(ListApiDeploymentsRequest request, StreamObserver<ListApiDeploymentsResponse> responseObserver)
ListApiDeployments returns matching deployments.
Name | Description |
request | ListApiDeploymentsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListApiDeploymentsResponse> |
listApiSpecRevisions(ListApiSpecRevisionsRequest request, StreamObserver<ListApiSpecRevisionsResponse> responseObserver)
public void listApiSpecRevisions(ListApiSpecRevisionsRequest request, StreamObserver<ListApiSpecRevisionsResponse> responseObserver)
ListApiSpecRevisions lists all revisions of a spec. Revisions are returned in descending order of revision creation time.
Name | Description |
request | ListApiSpecRevisionsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListApiSpecRevisionsResponse> |
listApiSpecs(ListApiSpecsRequest request, StreamObserver<ListApiSpecsResponse> responseObserver)
public void listApiSpecs(ListApiSpecsRequest request, StreamObserver<ListApiSpecsResponse> responseObserver)
ListApiSpecs returns matching specs.
Name | Description |
request | ListApiSpecsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListApiSpecsResponse> |
listApiVersions(ListApiVersionsRequest request, StreamObserver<ListApiVersionsResponse> responseObserver)
public void listApiVersions(ListApiVersionsRequest request, StreamObserver<ListApiVersionsResponse> responseObserver)
ListApiVersions returns matching versions.
Name | Description |
request | ListApiVersionsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListApiVersionsResponse> |
listApis(ListApisRequest request, StreamObserver<ListApisResponse> responseObserver)
public void listApis(ListApisRequest request, StreamObserver<ListApisResponse> responseObserver)
ListApis returns matching APIs.
Name | Description |
request | ListApisRequest |
responseObserver | io.grpc.stub.StreamObserver<ListApisResponse> |
listArtifacts(ListArtifactsRequest request, StreamObserver<ListArtifactsResponse> responseObserver)
public void listArtifacts(ListArtifactsRequest request, StreamObserver<ListArtifactsResponse> responseObserver)
ListArtifacts returns matching artifacts.
Name | Description |
request | ListArtifactsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListArtifactsResponse> |
replaceArtifact(ReplaceArtifactRequest request, StreamObserver<Artifact> responseObserver)
public void replaceArtifact(ReplaceArtifactRequest request, StreamObserver<Artifact> responseObserver)
ReplaceArtifact can be used to replace a specified artifact.
Name | Description |
request | ReplaceArtifactRequest |
responseObserver | io.grpc.stub.StreamObserver<Artifact> |
rollbackApiDeployment(RollbackApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
public void rollbackApiDeployment(RollbackApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
RollbackApiDeployment sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.
Name | Description |
request | RollbackApiDeploymentRequest |
responseObserver | io.grpc.stub.StreamObserver<ApiDeployment> |
rollbackApiSpec(RollbackApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
public void rollbackApiSpec(RollbackApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
RollbackApiSpec sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.
Name | Description |
request | RollbackApiSpecRequest |
responseObserver | io.grpc.stub.StreamObserver<ApiSpec> |
tagApiDeploymentRevision(TagApiDeploymentRevisionRequest request, StreamObserver<ApiDeployment> responseObserver)
public void tagApiDeploymentRevision(TagApiDeploymentRevisionRequest request, StreamObserver<ApiDeployment> responseObserver)
TagApiDeploymentRevision adds a tag to a specified revision of a deployment.
Name | Description |
request | TagApiDeploymentRevisionRequest |
responseObserver | io.grpc.stub.StreamObserver<ApiDeployment> |
tagApiSpecRevision(TagApiSpecRevisionRequest request, StreamObserver<ApiSpec> responseObserver)
public void tagApiSpecRevision(TagApiSpecRevisionRequest request, StreamObserver<ApiSpec> responseObserver)
TagApiSpecRevision adds a tag to a specified revision of a spec.
Name | Description |
request | TagApiSpecRevisionRequest |
responseObserver | io.grpc.stub.StreamObserver<ApiSpec> |
updateApi(UpdateApiRequest request, StreamObserver<Api> responseObserver)
public void updateApi(UpdateApiRequest request, StreamObserver<Api> responseObserver)
UpdateApi can be used to modify a specified API.
Name | Description |
request | UpdateApiRequest |
responseObserver | io.grpc.stub.StreamObserver<Api> |
updateApiDeployment(UpdateApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
public void updateApiDeployment(UpdateApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
UpdateApiDeployment can be used to modify a specified deployment.
Name | Description |
request | UpdateApiDeploymentRequest |
responseObserver | io.grpc.stub.StreamObserver<ApiDeployment> |
updateApiSpec(UpdateApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
public void updateApiSpec(UpdateApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
UpdateApiSpec can be used to modify a specified spec.
Name | Description |
request | UpdateApiSpecRequest |
responseObserver | io.grpc.stub.StreamObserver<ApiSpec> |
updateApiVersion(UpdateApiVersionRequest request, StreamObserver<ApiVersion> responseObserver)
public void updateApiVersion(UpdateApiVersionRequest request, StreamObserver<ApiVersion> responseObserver)
UpdateApiVersion can be used to modify a specified version.
Name | Description |
request | UpdateApiVersionRequest |
responseObserver | io.grpc.stub.StreamObserver<ApiVersion> |