public static final class ServiceManagerGrpc.ServiceManagerFutureStub extends io.grpc.stub.AbstractStub<ServiceManagerGrpc.ServiceManagerFutureStub>
[Google Service Management API](/service-management/overview)
| Modifier and Type | Method and Description |
|---|---|
protected ServiceManagerGrpc.ServiceManagerFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
createService(com.google.api.servicemanagement.v1.CreateServiceRequest request)
Creates a new managed service.
|
com.google.common.util.concurrent.ListenableFuture<com.google.api.Service> |
createServiceConfig(com.google.api.servicemanagement.v1.CreateServiceConfigRequest request)
Creates a new service configuration (version) for a managed service.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
createServiceRollout(com.google.api.servicemanagement.v1.CreateServiceRolloutRequest request)
Creates a new service configuration rollout.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
deleteService(com.google.api.servicemanagement.v1.DeleteServiceRequest request)
Deletes a managed service.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
disableService(com.google.api.servicemanagement.v1.DisableServiceRequest request)
Disable a managed service for a project.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
enableService(com.google.api.servicemanagement.v1.EnableServiceRequest request)
Enable a managed service for a project with default setting.
|
com.google.common.util.concurrent.ListenableFuture<com.google.api.servicemanagement.v1.GenerateConfigReportResponse> |
generateConfigReport(com.google.api.servicemanagement.v1.GenerateConfigReportRequest request)
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.
|
com.google.common.util.concurrent.ListenableFuture<com.google.api.servicemanagement.v1.ManagedService> |
getService(com.google.api.servicemanagement.v1.GetServiceRequest request)
Gets a managed service.
|
com.google.common.util.concurrent.ListenableFuture<com.google.api.Service> |
getServiceConfig(com.google.api.servicemanagement.v1.GetServiceConfigRequest request)
Gets a service configuration (version) for a managed service.
|
com.google.common.util.concurrent.ListenableFuture<com.google.api.servicemanagement.v1.Rollout> |
getServiceRollout(com.google.api.servicemanagement.v1.GetServiceRolloutRequest request)
Gets a service configuration [rollout][google.api.servicemanagement.v1.Rollout].
|
com.google.common.util.concurrent.ListenableFuture<com.google.api.servicemanagement.v1.ListServiceConfigsResponse> |
listServiceConfigs(com.google.api.servicemanagement.v1.ListServiceConfigsRequest request)
Lists the history of the service configuration for a managed service,
from the newest to the oldest.
|
com.google.common.util.concurrent.ListenableFuture<com.google.api.servicemanagement.v1.ListServiceRolloutsResponse> |
listServiceRollouts(com.google.api.servicemanagement.v1.ListServiceRolloutsRequest request)
Lists the history of the service configuration rollouts for a managed
service, from the newest to the oldest.
|
com.google.common.util.concurrent.ListenableFuture<com.google.api.servicemanagement.v1.ListServicesResponse> |
listServices(com.google.api.servicemanagement.v1.ListServicesRequest request)
Lists all managed services.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
submitConfigSource(com.google.api.servicemanagement.v1.SubmitConfigSourceRequest request)
Creates a new service configuration (version) for a managed service based
on
user-supplied configuration source files (for example: OpenAPI
Specification).
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
undeleteService(com.google.api.servicemanagement.v1.UndeleteServiceRequest request)
Revives a previously deleted managed service.
|
protected ServiceManagerGrpc.ServiceManagerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<ServiceManagerGrpc.ServiceManagerFutureStub>public com.google.common.util.concurrent.ListenableFuture<com.google.api.servicemanagement.v1.ListServicesResponse> listServices(com.google.api.servicemanagement.v1.ListServicesRequest request)
Lists all managed services.
public com.google.common.util.concurrent.ListenableFuture<com.google.api.servicemanagement.v1.ManagedService> getService(com.google.api.servicemanagement.v1.GetServiceRequest request)
Gets a managed service.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createService(com.google.api.servicemanagement.v1.CreateServiceRequest request)
Creates a new managed service. Please note one producer project can own no more than 20 services. Operation<response: ManagedService>
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteService(com.google.api.servicemanagement.v1.DeleteServiceRequest request)
Deletes a managed service. This method will change the serivce in the `Soft-Delete` state for 30 days. Within this period, service producers may call [UndeleteService][google.api.servicemanagement.v1.ServiceManager.UndeleteService] to restore the service. After 30 days, the service will be permanently deleted. Operation<response: google.protobuf.Empty>
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> undeleteService(com.google.api.servicemanagement.v1.UndeleteServiceRequest request)
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>
public com.google.common.util.concurrent.ListenableFuture<com.google.api.servicemanagement.v1.ListServiceConfigsResponse> listServiceConfigs(com.google.api.servicemanagement.v1.ListServiceConfigsRequest request)
Lists the history of the service configuration for a managed service, from the newest to the oldest.
public com.google.common.util.concurrent.ListenableFuture<com.google.api.Service> getServiceConfig(com.google.api.servicemanagement.v1.GetServiceConfigRequest request)
Gets a service configuration (version) for a managed service.
public com.google.common.util.concurrent.ListenableFuture<com.google.api.Service> createServiceConfig(com.google.api.servicemanagement.v1.CreateServiceConfigRequest request)
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][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> submitConfigSource(com.google.api.servicemanagement.v1.SubmitConfigSourceRequest request)
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][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout]. Operation<response: SubmitConfigSourceResponse>
public com.google.common.util.concurrent.ListenableFuture<com.google.api.servicemanagement.v1.ListServiceRolloutsResponse> listServiceRollouts(com.google.api.servicemanagement.v1.ListServiceRolloutsRequest request)
Lists the history of the service configuration rollouts for a managed service, from the newest to the oldest.
public com.google.common.util.concurrent.ListenableFuture<com.google.api.servicemanagement.v1.Rollout> getServiceRollout(com.google.api.servicemanagement.v1.GetServiceRolloutRequest request)
Gets a service configuration [rollout][google.api.servicemanagement.v1.Rollout].
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createServiceRollout(com.google.api.servicemanagement.v1.CreateServiceRolloutRequest request)
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. Operation<response: Rollout>
public com.google.common.util.concurrent.ListenableFuture<com.google.api.servicemanagement.v1.GenerateConfigReportResponse> generateConfigReport(com.google.api.servicemanagement.v1.GenerateConfigReportRequest request)
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.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> enableService(com.google.api.servicemanagement.v1.EnableServiceRequest request)
Enable a managed service for a project with default setting. Operation<response: EnableServiceResponse> [google.rpc.Status][google.rpc.Status] errors may contain a [google.rpc.PreconditionFailure][] error detail.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> disableService(com.google.api.servicemanagement.v1.DisableServiceRequest request)
Disable a managed service for a project. Operation<response: DisableServiceResponse>