public class DataprocMetastoreClient : ClientBase<DataprocMetastore.DataprocMetastoreClient>
Client for DataprocMetastore
Inheritance
Object > ClientBase > ClientBase<DataprocMetastore.DataprocMetastoreClient> > DataprocMetastore.DataprocMetastoreClientNamespace
Google.Cloud.Metastore.V1Assembly
Google.Cloud.Metastore.V1.dll
Constructors
DataprocMetastoreClient()
protected DataprocMetastoreClient()
Protected parameterless constructor to allow creation of test doubles.
DataprocMetastoreClient(CallInvoker)
public DataprocMetastoreClient(CallInvoker callInvoker)
Creates a new client for DataprocMetastore that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
DataprocMetastoreClient(ChannelBase)
public DataprocMetastoreClient(ChannelBase channel)
Creates a new client for DataprocMetastore
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
DataprocMetastoreClient(ClientBase.ClientBaseConfiguration)
protected DataprocMetastoreClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateMetadataImport(CreateMetadataImportRequest, CallOptions)
public virtual Operation CreateMetadataImport(CreateMetadataImportRequest request, CallOptions options)
Creates a new MetadataImport in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateMetadataImportRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateMetadataImport(CreateMetadataImportRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateMetadataImport(CreateMetadataImportRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a new MetadataImport in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateMetadataImportRequest 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 |
Operation | The response received from the server. |
CreateMetadataImportAsync(CreateMetadataImportRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateMetadataImportAsync(CreateMetadataImportRequest request, CallOptions options)
Creates a new MetadataImport in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateMetadataImportRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateMetadataImportAsync(CreateMetadataImportRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateMetadataImportAsync(CreateMetadataImportRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a new MetadataImport in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateMetadataImportRequest 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<Operation> | The call object. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
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 metastore service in a project and location.
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 metastore service in a project and location.
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 |
Operation | The response received from the server. |
CreateServiceAsync(CreateServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateServiceAsync(CreateServiceRequest request, CallOptions options)
Creates a metastore service in a project and location.
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<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 metastore service in a project and location.
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<Operation> | The call object. |
DeleteService(DeleteServiceRequest, CallOptions)
public virtual Operation DeleteService(DeleteServiceRequest request, CallOptions options)
Deletes a single service.
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 single service.
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 |
Operation | The response received from the server. |
DeleteServiceAsync(DeleteServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteServiceAsync(DeleteServiceRequest request, CallOptions options)
Deletes a single service.
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<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 single service.
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<Operation> | The call object. |
ExportMetadata(ExportMetadataRequest, CallOptions)
public virtual Operation ExportMetadata(ExportMetadataRequest request, CallOptions options)
Exports metadata from a service.
Parameters | |
---|---|
Name | Description |
request | ExportMetadataRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
ExportMetadata(ExportMetadataRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation ExportMetadata(ExportMetadataRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Exports metadata from a service.
Parameters | |
---|---|
Name | Description |
request | ExportMetadataRequest 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 |
Operation | The response received from the server. |
ExportMetadataAsync(ExportMetadataRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> ExportMetadataAsync(ExportMetadataRequest request, CallOptions options)
Exports metadata from a service.
Parameters | |
---|---|
Name | Description |
request | ExportMetadataRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
ExportMetadataAsync(ExportMetadataRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> ExportMetadataAsync(ExportMetadataRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Exports metadata from a service.
Parameters | |
---|---|
Name | Description |
request | ExportMetadataRequest 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<Operation> | The call object. |
GetMetadataImport(GetMetadataImportRequest, CallOptions)
public virtual MetadataImport GetMetadataImport(GetMetadataImportRequest request, CallOptions options)
Gets details of a single import.
Parameters | |
---|---|
Name | Description |
request | GetMetadataImportRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
MetadataImport | The response received from the server. |
GetMetadataImport(GetMetadataImportRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual MetadataImport GetMetadataImport(GetMetadataImportRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets details of a single import.
Parameters | |
---|---|
Name | Description |
request | GetMetadataImportRequest 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 |
MetadataImport | The response received from the server. |
GetMetadataImportAsync(GetMetadataImportRequest, CallOptions)
public virtual AsyncUnaryCall<MetadataImport> GetMetadataImportAsync(GetMetadataImportRequest request, CallOptions options)
Gets details of a single import.
Parameters | |
---|---|
Name | Description |
request | GetMetadataImportRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<MetadataImport> | The call object. |
GetMetadataImportAsync(GetMetadataImportRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<MetadataImport> GetMetadataImportAsync(GetMetadataImportRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets details of a single import.
Parameters | |
---|---|
Name | Description |
request | GetMetadataImportRequest 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<MetadataImport> | The call object. |
GetService(GetServiceRequest, CallOptions)
public virtual Service GetService(GetServiceRequest request, CallOptions options)
Gets the details of a single service.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Service | The response received from the server. |
GetService(GetServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Service GetService(GetServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets the details of a single service.
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 |
Service | The response received from the server. |
GetServiceAsync(GetServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, CallOptions options)
Gets the details of a single service.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Service> | The call object. |
GetServiceAsync(GetServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets the details of a single service.
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<Service> | The call object. |
ListMetadataImports(ListMetadataImportsRequest, CallOptions)
public virtual ListMetadataImportsResponse ListMetadataImports(ListMetadataImportsRequest request, CallOptions options)
Lists imports in a service.
Parameters | |
---|---|
Name | Description |
request | ListMetadataImportsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListMetadataImportsResponse | The response received from the server. |
ListMetadataImports(ListMetadataImportsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListMetadataImportsResponse ListMetadataImports(ListMetadataImportsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists imports in a service.
Parameters | |
---|---|
Name | Description |
request | ListMetadataImportsRequest 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 |
ListMetadataImportsResponse | The response received from the server. |
ListMetadataImportsAsync(ListMetadataImportsRequest, CallOptions)
public virtual AsyncUnaryCall<ListMetadataImportsResponse> ListMetadataImportsAsync(ListMetadataImportsRequest request, CallOptions options)
Lists imports in a service.
Parameters | |
---|---|
Name | Description |
request | ListMetadataImportsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListMetadataImportsResponse> | The call object. |
ListMetadataImportsAsync(ListMetadataImportsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListMetadataImportsResponse> ListMetadataImportsAsync(ListMetadataImportsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists imports in a service.
Parameters | |
---|---|
Name | Description |
request | ListMetadataImportsRequest 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<ListMetadataImportsResponse> | The call object. |
ListServices(ListServicesRequest, CallOptions)
public virtual ListServicesResponse ListServices(ListServicesRequest request, CallOptions options)
Lists services in a project and location.
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 services in a project and location.
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 services in a project and location.
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 services in a project and location.
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 DataprocMetastore.DataprocMetastoreClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
DataprocMetastore.DataprocMetastoreClient |
UpdateMetadataImport(UpdateMetadataImportRequest, CallOptions)
public virtual Operation UpdateMetadataImport(UpdateMetadataImportRequest request, CallOptions options)
Updates a single import. Only the description field of MetadataImport is supported to be updated.
Parameters | |
---|---|
Name | Description |
request | UpdateMetadataImportRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
UpdateMetadataImport(UpdateMetadataImportRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation UpdateMetadataImport(UpdateMetadataImportRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates a single import. Only the description field of MetadataImport is supported to be updated.
Parameters | |
---|---|
Name | Description |
request | UpdateMetadataImportRequest 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 |
Operation | The response received from the server. |
UpdateMetadataImportAsync(UpdateMetadataImportRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateMetadataImportAsync(UpdateMetadataImportRequest request, CallOptions options)
Updates a single import. Only the description field of MetadataImport is supported to be updated.
Parameters | |
---|---|
Name | Description |
request | UpdateMetadataImportRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
UpdateMetadataImportAsync(UpdateMetadataImportRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateMetadataImportAsync(UpdateMetadataImportRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates a single import. Only the description field of MetadataImport is supported to be updated.
Parameters | |
---|---|
Name | Description |
request | UpdateMetadataImportRequest 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<Operation> | The call object. |
UpdateService(UpdateServiceRequest, CallOptions)
public virtual Operation UpdateService(UpdateServiceRequest request, CallOptions options)
Updates the parameters of a single service.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
UpdateService(UpdateServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation UpdateService(UpdateServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates the parameters of a single service.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest 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 |
Operation | The response received from the server. |
UpdateServiceAsync(UpdateServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateServiceAsync(UpdateServiceRequest request, CallOptions options)
Updates the parameters of a single service.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
UpdateServiceAsync(UpdateServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateServiceAsync(UpdateServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates the parameters of a single service.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest 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<Operation> | The call object. |