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.ConfigManagementServiceClientNamespace
Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1Assembly
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 |
CallInvokerThe callInvoker to use to make remote calls. |
ConfigManagementServiceClient(ChannelBase)
public ConfigManagementServiceClient(ChannelBase channel)Creates a new client for ConfigManagementService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe 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 |
ClientBaseClientBaseConfigurationThe 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 |
GetConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
GetConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
GetConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
GetConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
|
UpdateConfig(UpdateConfigRequest, CallOptions)
public virtual Config UpdateConfig(UpdateConfigRequest request, CallOptions options)Update the Config for a given resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
UpdateConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
UpdateConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
UpdateConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallConfig |
The call object. |