- 3.53.0 (latest)
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.7
- 3.0.1
- 2.1.7
public static interface ServiceManagerGrpc.AsyncService
Methods
createService(CreateServiceRequest request, StreamObserver<Operation> responseObserver)
public default void createService(CreateServiceRequest request, StreamObserver<Operation> responseObserver)
Creates a new managed service. A managed service is immutable, and is subject to mandatory 30-day data retention. You cannot move a service or recreate it within 30 days after deletion. One producer project can own no more than 500 services. For security and reliability purposes, a production service should be hosted in a dedicated producer project. Operation<response: ManagedService>
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
createServiceConfig(CreateServiceConfigRequest request, StreamObserver<Service> responseObserver)
public default void createServiceConfig(CreateServiceConfigRequest request, StreamObserver<Service> responseObserver)
Creates a new service configuration (version) for a managed service. This method only stores the service configuration. To roll out the service configuration to backend systems please call CreateServiceRollout. Only the 100 most recent service configurations and ones referenced by existing rollouts are kept for each service. The rest will be deleted eventually.
Parameters | |
---|---|
Name | Description |
request | CreateServiceConfigRequest |
responseObserver | io.grpc.stub.StreamObserver<com.google.api.Service> |
createServiceRollout(CreateServiceRolloutRequest request, StreamObserver<Operation> responseObserver)
public default void createServiceRollout(CreateServiceRolloutRequest request, StreamObserver<Operation> responseObserver)
Creates a new service configuration rollout. Based on rollout, the Google Service Management will roll out the service configurations to different backend services. For example, the logging configuration will be pushed to Google Cloud Logging. Please note that any previous pending and running Rollouts and associated Operations will be automatically cancelled so that the latest Rollout will not be blocked by previous Rollouts. Only the 100 most recent (in any state) and the last 10 successful (if not already part of the set of 100 most recent) rollouts are kept for each service. The rest will be deleted eventually. Operation<response: Rollout>
Parameters | |
---|---|
Name | Description |
request | CreateServiceRolloutRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteService(DeleteServiceRequest request, StreamObserver<Operation> responseObserver)
public default void deleteService(DeleteServiceRequest request, StreamObserver<Operation> responseObserver)
Deletes a managed service. This method will change the service to the
Soft-Delete
state for 30 days. Within this period, service producers may
call
UndeleteService
to restore the service. After 30 days, the service will be permanently
deleted.
Operation<response: google.protobuf.Empty>
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
generateConfigReport(GenerateConfigReportRequest request, StreamObserver<GenerateConfigReportResponse> responseObserver)
public default void generateConfigReport(GenerateConfigReportRequest request, StreamObserver<GenerateConfigReportResponse> responseObserver)
Generates and returns a report (errors, warnings and changes from existing configurations) associated with GenerateConfigReportRequest.new_value If GenerateConfigReportRequest.old_value is specified, GenerateConfigReportRequest will contain a single ChangeReport based on the comparison between GenerateConfigReportRequest.new_value and GenerateConfigReportRequest.old_value. If GenerateConfigReportRequest.old_value is not specified, this method will compare GenerateConfigReportRequest.new_value with the last pushed service configuration.
Parameters | |
---|---|
Name | Description |
request | GenerateConfigReportRequest |
responseObserver | io.grpc.stub.StreamObserver<GenerateConfigReportResponse> |
getService(GetServiceRequest request, StreamObserver<ManagedService> responseObserver)
public default void getService(GetServiceRequest request, StreamObserver<ManagedService> responseObserver)
Gets a managed service. Authentication is required unless the service is public.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest |
responseObserver | io.grpc.stub.StreamObserver<ManagedService> |
getServiceConfig(GetServiceConfigRequest request, StreamObserver<Service> responseObserver)
public default void getServiceConfig(GetServiceConfigRequest request, StreamObserver<Service> responseObserver)
Gets a service configuration (version) for a managed service.
Parameters | |
---|---|
Name | Description |
request | GetServiceConfigRequest |
responseObserver | io.grpc.stub.StreamObserver<com.google.api.Service> |
getServiceRollout(GetServiceRolloutRequest request, StreamObserver<Rollout> responseObserver)
public default void getServiceRollout(GetServiceRolloutRequest request, StreamObserver<Rollout> responseObserver)
Gets a service configuration rollout.
Parameters | |
---|---|
Name | Description |
request | GetServiceRolloutRequest |
responseObserver | io.grpc.stub.StreamObserver<Rollout> |
listServiceConfigs(ListServiceConfigsRequest request, StreamObserver<ListServiceConfigsResponse> responseObserver)
public default void listServiceConfigs(ListServiceConfigsRequest request, StreamObserver<ListServiceConfigsResponse> responseObserver)
Lists the history of the service configuration for a managed service, from the newest to the oldest.
Parameters | |
---|---|
Name | Description |
request | ListServiceConfigsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListServiceConfigsResponse> |
listServiceRollouts(ListServiceRolloutsRequest request, StreamObserver<ListServiceRolloutsResponse> responseObserver)
public default void listServiceRollouts(ListServiceRolloutsRequest request, StreamObserver<ListServiceRolloutsResponse> responseObserver)
Lists the history of the service configuration rollouts for a managed service, from the newest to the oldest.
Parameters | |
---|---|
Name | Description |
request | ListServiceRolloutsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListServiceRolloutsResponse> |
listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)
public default void listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)
Lists managed services. Returns all public services. For authenticated users, also returns all services the calling user has "servicemanagement.services.get" permission for.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListServicesResponse> |
submitConfigSource(SubmitConfigSourceRequest request, StreamObserver<Operation> responseObserver)
public default void submitConfigSource(SubmitConfigSourceRequest request, StreamObserver<Operation> responseObserver)
Creates a new service configuration (version) for a managed service based on user-supplied configuration source files (for example: OpenAPI Specification). This method stores the source configurations as well as the generated service configuration. To rollout the service configuration to other services, please call CreateServiceRollout. Only the 100 most recent configuration sources and ones referenced by existing service configurtions are kept for each service. The rest will be deleted eventually. Operation<response: SubmitConfigSourceResponse>
Parameters | |
---|---|
Name | Description |
request | SubmitConfigSourceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
undeleteService(UndeleteServiceRequest request, StreamObserver<Operation> responseObserver)
public default void undeleteService(UndeleteServiceRequest request, StreamObserver<Operation> responseObserver)
Revives a previously deleted managed service. The method restores the service using the configuration at the time the service was deleted. The target service must exist and must have been deleted within the last 30 days. Operation<response: UndeleteServiceResponse>
Parameters | |
---|---|
Name | Description |
request | UndeleteServiceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |