Data Lineage v1 API - Class ConfigManagementService.ConfigManagementServiceClient (1.0.0-beta01)

public class ConfigManagementService.ConfigManagementServiceClient : ClientBase<ConfigManagementService.ConfigManagementServiceClient>

Reference documentation and code samples for the Data Lineage v1 API class ConfigManagementService.ConfigManagementServiceClient.

Client for ConfigManagementService

Inheritance

object > ClientBase > ClientBaseConfigManagementServiceConfigManagementServiceClient > ConfigManagementService.ConfigManagementServiceClient

Namespace

Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1

Assembly

Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.dll

Constructors

ConfigManagementServiceClient()

protected ConfigManagementServiceClient()

Protected parameterless constructor to allow creation of test doubles.

ConfigManagementServiceClient(CallInvoker)

public ConfigManagementServiceClient(CallInvoker callInvoker)

Creates a new client for ConfigManagementService that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

ConfigManagementServiceClient(ChannelBase)

public ConfigManagementServiceClient(ChannelBase channel)

Creates a new client for ConfigManagementService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

ConfigManagementServiceClient(ClientBaseConfiguration)

protected ConfigManagementServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

GetConfig(GetConfigRequest, CallOptions)

public virtual Config GetConfig(GetConfigRequest request, CallOptions options)

Get the Config for a given resource.

Parameters
Name Description
request GetConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Config

The response received from the server.

GetConfig(GetConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual Config GetConfig(GetConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get the Config for a given resource.

Parameters
Name Description
request GetConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.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
Config

The response received from the server.

GetConfigAsync(GetConfigRequest, CallOptions)

public virtual AsyncUnaryCall<Config> GetConfigAsync(GetConfigRequest request, CallOptions options)

Get the Config for a given resource.

Parameters
Name Description
request GetConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallConfig

The call object.

GetConfigAsync(GetConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Config> GetConfigAsync(GetConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get the Config for a given resource.

Parameters
Name Description
request GetConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.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
AsyncUnaryCallConfig

The call object.

NewInstance(ClientBaseConfiguration)

protected override ConfigManagementService.ConfigManagementServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
ConfigManagementServiceConfigManagementServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.ConfigManagementService.ConfigManagementServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateConfig(UpdateConfigRequest, CallOptions)

public virtual Config UpdateConfig(UpdateConfigRequest request, CallOptions options)

Update the Config for a given resource.

Parameters
Name Description
request UpdateConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Config

The response received from the server.

UpdateConfig(UpdateConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual Config UpdateConfig(UpdateConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update the Config for a given resource.

Parameters
Name Description
request UpdateConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.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
Config

The response received from the server.

UpdateConfigAsync(UpdateConfigRequest, CallOptions)

public virtual AsyncUnaryCall<Config> UpdateConfigAsync(UpdateConfigRequest request, CallOptions options)

Update the Config for a given resource.

Parameters
Name Description
request UpdateConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallConfig

The call object.

UpdateConfigAsync(UpdateConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Config> UpdateConfigAsync(UpdateConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update the Config for a given resource.

Parameters
Name Description
request UpdateConfigRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.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
AsyncUnaryCallConfig

The call object.