public class ServiceManagerClient : ClientBase<ServiceManager.ServiceManagerClient>
Client for ServiceManager
Inheritance
Object > ClientBase > ClientBase<ServiceManager.ServiceManagerClient> > ServiceManager.ServiceManagerClientNamespace
Google.Cloud.ServiceManagement.V1Assembly
Google.Cloud.ServiceManagement.V1.dll
Constructors
ServiceManagerClient()
protected ServiceManagerClient()
Protected parameterless constructor to allow creation of test doubles.
ServiceManagerClient(CallInvoker)
public ServiceManagerClient(CallInvoker callInvoker)
Creates a new client for ServiceManager that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
ServiceManagerClient(ChannelBase)
public ServiceManagerClient(ChannelBase channel)
Creates a new client for ServiceManager
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
ServiceManagerClient(ClientBase.ClientBaseConfiguration)
protected ServiceManagerClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Google.LongRunning.Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operations.OperationsClient | A new Operations client for the same target as this client. |
CreateService(CreateServiceRequest, CallOptions)
public virtual Operation CreateService(CreateServiceRequest request, CallOptions options)
Creates a new managed service. Please note one producer project can own no more than 20 services.
Operation<response: ManagedService>
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation | The response received from the server. |
CreateService(CreateServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateService(CreateServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a new managed service. Please note one producer project can own no more than 20 services.
Operation<response: ManagedService>
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation | The response received from the server. |
CreateServiceAsync(CreateServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateServiceAsync(CreateServiceRequest request, CallOptions options)
Creates a new managed service. Please note one producer project can own no more than 20 services.
Operation<response: ManagedService>
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Google.LongRunning.Operation> | The call object. |
CreateServiceAsync(CreateServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateServiceAsync(CreateServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a new managed service. Please note one producer project can own no more than 20 services.
Operation<response: ManagedService>
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Google.LongRunning.Operation> | The call object. |
CreateServiceConfig(CreateServiceConfigRequest, CallOptions)
public virtual Service CreateServiceConfig(CreateServiceConfigRequest request, CallOptions options)
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].
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 The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Service | The response received from the server. |
CreateServiceConfig(CreateServiceConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Service CreateServiceConfig(CreateServiceConfigRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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].
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 The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Service | The response received from the server. |
CreateServiceConfigAsync(CreateServiceConfigRequest, CallOptions)
public virtual AsyncUnaryCall<Service> CreateServiceConfigAsync(CreateServiceConfigRequest request, CallOptions options)
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].
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 The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Service> | The call object. |
CreateServiceConfigAsync(CreateServiceConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Service> CreateServiceConfigAsync(CreateServiceConfigRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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].
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 The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Service> | The call object. |
CreateServiceRollout(CreateServiceRolloutRequest, CallOptions)
public virtual Operation CreateServiceRollout(CreateServiceRolloutRequest request, CallOptions options)
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 The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation | The response received from the server. |
CreateServiceRollout(CreateServiceRolloutRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateServiceRollout(CreateServiceRolloutRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation | The response received from the server. |
CreateServiceRolloutAsync(CreateServiceRolloutRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateServiceRolloutAsync(CreateServiceRolloutRequest request, CallOptions options)
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 The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Google.LongRunning.Operation> | The call object. |
CreateServiceRolloutAsync(CreateServiceRolloutRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateServiceRolloutAsync(CreateServiceRolloutRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Google.LongRunning.Operation> | The call object. |
DeleteService(DeleteServiceRequest, CallOptions)
public virtual Operation DeleteService(DeleteServiceRequest request, CallOptions options)
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][google.api.servicemanagement.v1.ServiceManager.UndeleteService] to restore the service.
After 30 days, the service will be permanently deleted.
Operation<response: google.protobuf.Empty>
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation | The response received from the server. |
DeleteService(DeleteServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteService(DeleteServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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][google.api.servicemanagement.v1.ServiceManager.UndeleteService] to restore the service.
After 30 days, the service will be permanently deleted.
Operation<response: google.protobuf.Empty>
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation | The response received from the server. |
DeleteServiceAsync(DeleteServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteServiceAsync(DeleteServiceRequest request, CallOptions options)
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][google.api.servicemanagement.v1.ServiceManager.UndeleteService] to restore the service.
After 30 days, the service will be permanently deleted.
Operation<response: google.protobuf.Empty>
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Google.LongRunning.Operation> | The call object. |
DeleteServiceAsync(DeleteServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteServiceAsync(DeleteServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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][google.api.servicemanagement.v1.ServiceManager.UndeleteService] to restore the service.
After 30 days, the service will be permanently deleted.
Operation<response: google.protobuf.Empty>
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Google.LongRunning.Operation> | The call object. |
DisableService(DisableServiceRequest, CallOptions)
public virtual Operation DisableService(DisableServiceRequest request, CallOptions options)
Disables a [service][google.api.servicemanagement.v1.ManagedService] 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>
Parameters | |
---|---|
Name | Description |
request | DisableServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation | The response received from the server. |
DisableService(DisableServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DisableService(DisableServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Disables a [service][google.api.servicemanagement.v1.ManagedService] 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>
Parameters | |
---|---|
Name | Description |
request | DisableServiceRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation | The response received from the server. |
DisableServiceAsync(DisableServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DisableServiceAsync(DisableServiceRequest request, CallOptions options)
Disables a [service][google.api.servicemanagement.v1.ManagedService] 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>
Parameters | |
---|---|
Name | Description |
request | DisableServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Google.LongRunning.Operation> | The call object. |
DisableServiceAsync(DisableServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DisableServiceAsync(DisableServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Disables a [service][google.api.servicemanagement.v1.ManagedService] 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>
Parameters | |
---|---|
Name | Description |
request | DisableServiceRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Google.LongRunning.Operation> | The call object. |
EnableService(EnableServiceRequest, CallOptions)
public virtual Operation EnableService(EnableServiceRequest request, CallOptions options)
Enables a [service][google.api.servicemanagement.v1.ManagedService] for a project, so it can be used for the project. See Cloud Auth Guide for more information.
Operation<response: EnableServiceResponse>
Parameters | |
---|---|
Name | Description |
request | EnableServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation | The response received from the server. |
EnableService(EnableServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation EnableService(EnableServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Enables a [service][google.api.servicemanagement.v1.ManagedService] for a project, so it can be used for the project. See Cloud Auth Guide for more information.
Operation<response: EnableServiceResponse>
Parameters | |
---|---|
Name | Description |
request | EnableServiceRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation | The response received from the server. |
EnableServiceAsync(EnableServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> EnableServiceAsync(EnableServiceRequest request, CallOptions options)
Enables a [service][google.api.servicemanagement.v1.ManagedService] for a project, so it can be used for the project. See Cloud Auth Guide for more information.
Operation<response: EnableServiceResponse>
Parameters | |
---|---|
Name | Description |
request | EnableServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Google.LongRunning.Operation> | The call object. |
EnableServiceAsync(EnableServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> EnableServiceAsync(EnableServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Enables a [service][google.api.servicemanagement.v1.ManagedService] for a project, so it can be used for the project. See Cloud Auth Guide for more information.
Operation<response: EnableServiceResponse>
Parameters | |
---|---|
Name | Description |
request | EnableServiceRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Google.LongRunning.Operation> | The call object. |
GenerateConfigReport(GenerateConfigReportRequest, CallOptions)
public virtual GenerateConfigReportResponse GenerateConfigReport(GenerateConfigReportRequest request, CallOptions options)
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 The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
GenerateConfigReportResponse | The response received from the server. |
GenerateConfigReport(GenerateConfigReportRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual GenerateConfigReportResponse GenerateConfigReport(GenerateConfigReportRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
GenerateConfigReportResponse | The response received from the server. |
GenerateConfigReportAsync(GenerateConfigReportRequest, CallOptions)
public virtual AsyncUnaryCall<GenerateConfigReportResponse> GenerateConfigReportAsync(GenerateConfigReportRequest request, CallOptions options)
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 The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<GenerateConfigReportResponse> | The call object. |
GenerateConfigReportAsync(GenerateConfigReportRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<GenerateConfigReportResponse> GenerateConfigReportAsync(GenerateConfigReportRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<GenerateConfigReportResponse> | The call object. |
GetService(GetServiceRequest, CallOptions)
public virtual ManagedService GetService(GetServiceRequest request, CallOptions options)
Gets a managed service. Authentication is required unless the service is public.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ManagedService | The response received from the server. |
GetService(GetServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ManagedService GetService(GetServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a managed service. Authentication is required unless the service is public.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ManagedService | The response received from the server. |
GetServiceAsync(GetServiceRequest, CallOptions)
public virtual AsyncUnaryCall<ManagedService> GetServiceAsync(GetServiceRequest request, CallOptions options)
Gets a managed service. Authentication is required unless the service is public.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ManagedService> | The call object. |
GetServiceAsync(GetServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ManagedService> GetServiceAsync(GetServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a managed service. Authentication is required unless the service is public.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ManagedService> | The call object. |
GetServiceConfig(GetServiceConfigRequest, CallOptions)
public virtual Service GetServiceConfig(GetServiceConfigRequest request, CallOptions options)
Gets a service configuration (version) for a managed service.
Parameters | |
---|---|
Name | Description |
request | GetServiceConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Service | The response received from the server. |
GetServiceConfig(GetServiceConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Service GetServiceConfig(GetServiceConfigRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a service configuration (version) for a managed service.
Parameters | |
---|---|
Name | Description |
request | GetServiceConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Service | The response received from the server. |
GetServiceConfigAsync(GetServiceConfigRequest, CallOptions)
public virtual AsyncUnaryCall<Service> GetServiceConfigAsync(GetServiceConfigRequest request, CallOptions options)
Gets a service configuration (version) for a managed service.
Parameters | |
---|---|
Name | Description |
request | GetServiceConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Service> | The call object. |
GetServiceConfigAsync(GetServiceConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Service> GetServiceConfigAsync(GetServiceConfigRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a service configuration (version) for a managed service.
Parameters | |
---|---|
Name | Description |
request | GetServiceConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Service> | The call object. |
GetServiceRollout(GetServiceRolloutRequest, CallOptions)
public virtual Rollout GetServiceRollout(GetServiceRolloutRequest request, CallOptions options)
Gets a service configuration [rollout][google.api.servicemanagement.v1.Rollout].
Parameters | |
---|---|
Name | Description |
request | GetServiceRolloutRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Rollout | The response received from the server. |
GetServiceRollout(GetServiceRolloutRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Rollout GetServiceRollout(GetServiceRolloutRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a service configuration [rollout][google.api.servicemanagement.v1.Rollout].
Parameters | |
---|---|
Name | Description |
request | GetServiceRolloutRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Rollout | The response received from the server. |
GetServiceRolloutAsync(GetServiceRolloutRequest, CallOptions)
public virtual AsyncUnaryCall<Rollout> GetServiceRolloutAsync(GetServiceRolloutRequest request, CallOptions options)
Gets a service configuration [rollout][google.api.servicemanagement.v1.Rollout].
Parameters | |
---|---|
Name | Description |
request | GetServiceRolloutRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Rollout> | The call object. |
GetServiceRolloutAsync(GetServiceRolloutRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Rollout> GetServiceRolloutAsync(GetServiceRolloutRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a service configuration [rollout][google.api.servicemanagement.v1.Rollout].
Parameters | |
---|---|
Name | Description |
request | GetServiceRolloutRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Rollout> | The call object. |
ListServiceConfigs(ListServiceConfigsRequest, CallOptions)
public virtual ListServiceConfigsResponse ListServiceConfigs(ListServiceConfigsRequest request, CallOptions options)
Lists the history of the service configuration for a managed service, from the newest to the oldest.
Parameters | |
---|---|
Name | Description |
request | ListServiceConfigsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListServiceConfigsResponse | The response received from the server. |
ListServiceConfigs(ListServiceConfigsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListServiceConfigsResponse ListServiceConfigs(ListServiceConfigsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists the history of the service configuration for a managed service, from the newest to the oldest.
Parameters | |
---|---|
Name | Description |
request | ListServiceConfigsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListServiceConfigsResponse | The response received from the server. |
ListServiceConfigsAsync(ListServiceConfigsRequest, CallOptions)
public virtual AsyncUnaryCall<ListServiceConfigsResponse> ListServiceConfigsAsync(ListServiceConfigsRequest request, CallOptions options)
Lists the history of the service configuration for a managed service, from the newest to the oldest.
Parameters | |
---|---|
Name | Description |
request | ListServiceConfigsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListServiceConfigsResponse> | The call object. |
ListServiceConfigsAsync(ListServiceConfigsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListServiceConfigsResponse> ListServiceConfigsAsync(ListServiceConfigsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists the history of the service configuration for a managed service, from the newest to the oldest.
Parameters | |
---|---|
Name | Description |
request | ListServiceConfigsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListServiceConfigsResponse> | The call object. |
ListServiceRollouts(ListServiceRolloutsRequest, CallOptions)
public virtual ListServiceRolloutsResponse ListServiceRollouts(ListServiceRolloutsRequest request, CallOptions options)
Lists the history of the service configuration rollouts for a managed service, from the newest to the oldest.
Parameters | |
---|---|
Name | Description |
request | ListServiceRolloutsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListServiceRolloutsResponse | The response received from the server. |
ListServiceRollouts(ListServiceRolloutsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListServiceRolloutsResponse ListServiceRollouts(ListServiceRolloutsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists the history of the service configuration rollouts for a managed service, from the newest to the oldest.
Parameters | |
---|---|
Name | Description |
request | ListServiceRolloutsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListServiceRolloutsResponse | The response received from the server. |
ListServiceRolloutsAsync(ListServiceRolloutsRequest, CallOptions)
public virtual AsyncUnaryCall<ListServiceRolloutsResponse> ListServiceRolloutsAsync(ListServiceRolloutsRequest request, CallOptions options)
Lists the history of the service configuration rollouts for a managed service, from the newest to the oldest.
Parameters | |
---|---|
Name | Description |
request | ListServiceRolloutsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListServiceRolloutsResponse> | The call object. |
ListServiceRolloutsAsync(ListServiceRolloutsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListServiceRolloutsResponse> ListServiceRolloutsAsync(ListServiceRolloutsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists the history of the service configuration rollouts for a managed service, from the newest to the oldest.
Parameters | |
---|---|
Name | Description |
request | ListServiceRolloutsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListServiceRolloutsResponse> | The call object. |
ListServices(ListServicesRequest, CallOptions)
public virtual ListServicesResponse ListServices(ListServicesRequest request, CallOptions options)
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}".
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListServicesResponse | The response received from the server. |
ListServices(ListServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListServicesResponse ListServices(ListServicesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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}".
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListServicesResponse | The response received from the server. |
ListServicesAsync(ListServicesRequest, CallOptions)
public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, CallOptions options)
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}".
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListServicesResponse> | The call object. |
ListServicesAsync(ListServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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}".
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListServicesResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override ServiceManager.ServiceManagerClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
ServiceManager.ServiceManagerClient |
SubmitConfigSource(SubmitConfigSourceRequest, CallOptions)
public virtual Operation SubmitConfigSource(SubmitConfigSourceRequest request, CallOptions options)
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].
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 The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation | The response received from the server. |
SubmitConfigSource(SubmitConfigSourceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation SubmitConfigSource(SubmitConfigSourceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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].
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 The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation | The response received from the server. |
SubmitConfigSourceAsync(SubmitConfigSourceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> SubmitConfigSourceAsync(SubmitConfigSourceRequest request, CallOptions options)
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].
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 The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Google.LongRunning.Operation> | The call object. |
SubmitConfigSourceAsync(SubmitConfigSourceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> SubmitConfigSourceAsync(SubmitConfigSourceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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].
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 The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Google.LongRunning.Operation> | The call object. |
UndeleteService(UndeleteServiceRequest, CallOptions)
public virtual Operation UndeleteService(UndeleteServiceRequest request, CallOptions options)
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 The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation | The response received from the server. |
UndeleteService(UndeleteServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation UndeleteService(UndeleteServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation | The response received from the server. |
UndeleteServiceAsync(UndeleteServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UndeleteServiceAsync(UndeleteServiceRequest request, CallOptions options)
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 The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Google.LongRunning.Operation> | The call object. |
UndeleteServiceAsync(UndeleteServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UndeleteServiceAsync(UndeleteServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Google.LongRunning.Operation> | The call object. |