public sealed class DataAgentServiceClientImpl : DataAgentServiceClient
Reference 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 |
DataAgentServiceDataAgentServiceClient The underlying gRPC client. |
settings |
DataAgentServiceSettings The base DataAgentServiceSettings used within this client. |
logger |
ILogger Optional 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 |
CreateDataAgentRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
CreateDataAgentRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
DeleteDataAgentRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
DeleteDataAgentRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
GetDataAgentRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
GetDataAgentRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
GetIamPolicyRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
GetIamPolicyRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
ListAccessibleDataAgentsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
ListAccessibleDataAgentsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
ListDataAgentsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
ListDataAgentsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
SetIamPolicyRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
SetIamPolicyRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
UpdateDataAgentRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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 |
UpdateDataAgentRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationDataAgentOperationMetadata |
A Task containing the RPC response. |