public sealed class DataAgentServiceClientImpl : DataAgentServiceClientReference documentation and code samples for the Data Analytics API with Gemini v1beta API class DataAgentServiceClientImpl.
DataAgentService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.GeminiDataAnalytics.V1BetaAssembly
Google.Cloud.GeminiDataAnalytics.V1Beta.dll
Remarks
Service describing handlers for resources.
Constructors
DataAgentServiceClientImpl(DataAgentServiceClient, DataAgentServiceSettings, ILogger)
public DataAgentServiceClientImpl(DataAgentService.DataAgentServiceClient grpcClient, DataAgentServiceSettings settings, ILogger logger)Constructs a client wrapper for the DataAgentService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
DataAgentServiceDataAgentServiceClientThe underlying gRPC client. |
settings |
DataAgentServiceSettingsThe base DataAgentServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateDataAgentOperationsClient
public override OperationsClient CreateDataAgentOperationsClient { get; }The long-running operations client for CreateDataAgent.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteDataAgentOperationsClient
public override OperationsClient DeleteDataAgentOperationsClient { get; }The long-running operations client for DeleteDataAgent.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override DataAgentService.DataAgentServiceClient GrpcClient { get; }The underlying gRPC DataAgentService client
| Property Value | |
|---|---|
| Type | Description |
DataAgentServiceDataAgentServiceClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
UpdateDataAgentOperationsClient
public override OperationsClient UpdateDataAgentOperationsClient { get; }The long-running operations client for UpdateDataAgent.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
CreateDataAgent(CreateDataAgentRequest, CallSettings)
public override Operation<DataAgent, OperationMetadata> CreateDataAgent(CreateDataAgentRequest request, CallSettings callSettings = null)Creates a new DataAgent in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateDataAgentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDataAgentOperationMetadata |
The RPC response. |
CreateDataAgentAsync(CreateDataAgentRequest, CallSettings)
public override Task<Operation<DataAgent, OperationMetadata>> CreateDataAgentAsync(CreateDataAgentRequest request, CallSettings callSettings = null)Creates a new DataAgent in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateDataAgentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDataAgentOperationMetadata |
A Task containing the RPC response. |
DeleteDataAgent(DeleteDataAgentRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteDataAgent(DeleteDataAgentRequest request, CallSettings callSettings = null)Deletes a single DataAgent.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDataAgentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
DeleteDataAgentAsync(DeleteDataAgentRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteDataAgentAsync(DeleteDataAgentRequest request, CallSettings callSettings = null)Deletes a single DataAgent.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDataAgentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
GetDataAgent(GetDataAgentRequest, CallSettings)
public override DataAgent GetDataAgent(GetDataAgentRequest request, CallSettings callSettings = null)Gets details of a single DataAgent.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDataAgentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DataAgent |
The RPC response. |
GetDataAgentAsync(GetDataAgentRequest, CallSettings)
public override Task<DataAgent> GetDataAgentAsync(GetDataAgentRequest request, CallSettings callSettings = null)Gets details of a single DataAgent.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDataAgentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDataAgent |
A Task containing the RPC response. |
GetIamPolicy(GetIamPolicyRequest, CallSettings)
public override Policy GetIamPolicy(GetIamPolicyRequest request, CallSettings callSettings = null)Gets the IAM policy for DataAgent
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
GetIamPolicyAsync(GetIamPolicyRequest, CallSettings)
public override Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallSettings callSettings = null)Gets the IAM policy for DataAgent
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
ListAccessibleDataAgents(ListAccessibleDataAgentsRequest, CallSettings)
public override PagedEnumerable<ListAccessibleDataAgentsResponse, DataAgent> ListAccessibleDataAgents(ListAccessibleDataAgentsRequest request, CallSettings callSettings = null)Lists DataAgents that are accessible to the caller in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAccessibleDataAgentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAccessibleDataAgentsResponseDataAgent |
A pageable sequence of DataAgent resources. |
ListAccessibleDataAgentsAsync(ListAccessibleDataAgentsRequest, CallSettings)
public override PagedAsyncEnumerable<ListAccessibleDataAgentsResponse, DataAgent> ListAccessibleDataAgentsAsync(ListAccessibleDataAgentsRequest request, CallSettings callSettings = null)Lists DataAgents that are accessible to the caller in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAccessibleDataAgentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAccessibleDataAgentsResponseDataAgent |
A pageable asynchronous sequence of DataAgent resources. |
ListDataAgents(ListDataAgentsRequest, CallSettings)
public override PagedEnumerable<ListDataAgentsResponse, DataAgent> ListDataAgents(ListDataAgentsRequest request, CallSettings callSettings = null)Lists DataAgents in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDataAgentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDataAgentsResponseDataAgent |
A pageable sequence of DataAgent resources. |
ListDataAgentsAsync(ListDataAgentsRequest, CallSettings)
public override PagedAsyncEnumerable<ListDataAgentsResponse, DataAgent> ListDataAgentsAsync(ListDataAgentsRequest request, CallSettings callSettings = null)Lists DataAgents in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDataAgentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDataAgentsResponseDataAgent |
A pageable asynchronous sequence of DataAgent resources. |
SetIamPolicy(SetIamPolicyRequest, CallSettings)
public override Policy SetIamPolicy(SetIamPolicyRequest request, CallSettings callSettings = null)Sets the IAM policy for a DataAgent.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
SetIamPolicyAsync(SetIamPolicyRequest, CallSettings)
public override Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallSettings callSettings = null)Sets the IAM policy for a DataAgent.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
UpdateDataAgent(UpdateDataAgentRequest, CallSettings)
public override Operation<DataAgent, OperationMetadata> UpdateDataAgent(UpdateDataAgentRequest request, CallSettings callSettings = null)Updates the parameters of a single DataAgent.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDataAgentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDataAgentOperationMetadata |
The RPC response. |
UpdateDataAgentAsync(UpdateDataAgentRequest, CallSettings)
public override Task<Operation<DataAgent, OperationMetadata>> UpdateDataAgentAsync(UpdateDataAgentRequest request, CallSettings callSettings = null)Updates the parameters of a single DataAgent.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDataAgentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDataAgentOperationMetadata |
A Task containing the RPC response. |