public static final class ServiceManagerGrpc.ServiceManagerBlockingStub extends AbstractBlockingStub<ServiceManagerGrpc.ServiceManagerBlockingStub>
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
ServiceManagerGrpc.ServiceManagerBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected ServiceManagerGrpc.ServiceManagerBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createService(CreateServiceRequest request)
public Operation createService(CreateServiceRequest request)
Creates a new managed service.
Please note one producer project can own no more than 20 services.
Operation<response: ManagedService>
Parameter
Returns
createServiceConfig(CreateServiceConfigRequest request)
public Service createServiceConfig(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.
Only the 100 most recent service configurations and ones referenced by
existing rollouts are kept for each service. The rest will be deleted
eventually.
Parameter
Returns
Type | Description |
com.google.api.Service | |
createServiceRollout(CreateServiceRolloutRequest request)
public Operation createServiceRollout(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.
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>
Parameter
Returns
deleteService(DeleteServiceRequest request)
public Operation deleteService(DeleteServiceRequest request)
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>
Parameter
Returns
disableService(DisableServiceRequest request)
public Operation disableService(DisableServiceRequest request)
Disables a service for a project, so it can no longer be
be used for the project. It prevents accidental usage that may cause
unexpected billing charges or security leaks.
Operation<response: DisableServiceResponse>
Parameter
Returns
enableService(EnableServiceRequest request)
public Operation enableService(EnableServiceRequest request)
Enables a service for a project, so it can be used
for the project. See
Cloud Auth Guide for
more information.
Operation<response: EnableServiceResponse>
Parameter
Returns
generateConfigReport(GenerateConfigReportRequest request)
public GenerateConfigReportResponse generateConfigReport(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.
Parameter
Returns
getService(GetServiceRequest request)
public ManagedService getService(GetServiceRequest request)
Gets a managed service. Authentication is required unless the service is
public.
Parameter
Returns
getServiceConfig(GetServiceConfigRequest request)
public Service getServiceConfig(GetServiceConfigRequest request)
Gets a service configuration (version) for a managed service.
Parameter
Returns
Type | Description |
com.google.api.Service | |
getServiceRollout(GetServiceRolloutRequest request)
public Rollout getServiceRollout(GetServiceRolloutRequest request)
Gets a service configuration rollout.
Parameter
Returns
listServiceConfigs(ListServiceConfigsRequest request)
public ListServiceConfigsResponse listServiceConfigs(ListServiceConfigsRequest request)
Lists the history of the service configuration for a managed service,
from the newest to the oldest.
Parameter
Returns
listServiceRollouts(ListServiceRolloutsRequest request)
public ListServiceRolloutsResponse listServiceRollouts(ListServiceRolloutsRequest request)
Lists the history of the service configuration rollouts for a managed
service, from the newest to the oldest.
Parameter
Returns
listServices(ListServicesRequest request)
public ListServicesResponse listServices(ListServicesRequest request)
Lists managed services.
Returns all public services. For authenticated users, also returns all
services the calling user has "servicemanagement.services.get" permission
for.
BETA: If the caller specifies the consumer_id
, it returns only the
services enabled on the consumer. The consumer_id
must have the format
of "project:{PROJECT-ID}".
Parameter
Returns
submitConfigSource(SubmitConfigSourceRequest request)
public Operation submitConfigSource(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.
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>
Parameter
Returns
undeleteService(UndeleteServiceRequest request)
public Operation undeleteService(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>
Parameter
Returns