ServiceManagerClient class

Annotations
  • @GrpcServiceName.new('google.api.servicemanagement.v1.ServiceManager')

Constructors

ServiceManagerClient(ClientChannel channel, {CallOptions? options, Iterable<ClientInterceptor>? interceptors})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

$createCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options}) → ClientCall<Q, R>
inherited
$createStreamingCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options}) → ResponseStream<R>
inherited
$createUnaryCall<Q, R>(ClientMethod<Q, R> method, Q request, {CallOptions? options}) → ResponseFuture<R>
inherited
createService(CreateServiceRequest request, {CallOptions? options}) → ResponseFuture<Operation>
Creates a new managed service.
createServiceConfig(CreateServiceConfigRequest request, {CallOptions? options}) → ResponseFuture<Service>
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 google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout.
createServiceRollout(CreateServiceRolloutRequest request, {CallOptions? options}) → ResponseFuture<Operation>
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.
deleteService(DeleteServiceRequest request, {CallOptions? options}) → ResponseFuture<Operation>
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 google.api.servicemanagement.v1.ServiceManager.UndeleteService to restore the service. After 30 days, the service will be permanently deleted.
generateConfigReport(GenerateConfigReportRequest request, {CallOptions? options}) → ResponseFuture<GenerateConfigReportResponse>
Generates and returns a report (errors, warnings and changes from existing configurations) associated with GenerateConfigReportRequest.new_value
getService(GetServiceRequest request, {CallOptions? options}) → ResponseFuture<ManagedService>
Gets a managed service. Authentication is required unless the service is public.
getServiceConfig(GetServiceConfigRequest request, {CallOptions? options}) → ResponseFuture<Service>
Gets a service configuration (version) for a managed service.
getServiceRollout(GetServiceRolloutRequest request, {CallOptions? options}) → ResponseFuture<Rollout>
Gets a service configuration google.api.servicemanagement.v1.Rollout.
listServiceConfigs(ListServiceConfigsRequest request, {CallOptions? options}) → ResponseFuture<ListServiceConfigsResponse>
Lists the history of the service configuration for a managed service, from the newest to the oldest.
listServiceRollouts(ListServiceRolloutsRequest request, {CallOptions? options}) → ResponseFuture<ListServiceRolloutsResponse>
Lists the history of the service configuration rollouts for a managed service, from the newest to the oldest.
listServices(ListServicesRequest request, {CallOptions? options}) → ResponseFuture<ListServicesResponse>
Lists managed services.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
submitConfigSource(SubmitConfigSourceRequest request, {CallOptions? options}) → ResponseFuture<Operation>
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 google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout.
toString() String
A string representation of this object.
inherited
undeleteService(UndeleteServiceRequest request, {CallOptions? options}) → ResponseFuture<Operation>
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.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

defaultHost → const String
The hostname for this service.
oauthScopes → const List<String>
OAuth scopes needed for the client.