Data Analytics API with Gemini v1beta API - Class DataAgentServiceClientImpl (1.0.0-beta01)

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.

Inheritance

object > DataAgentServiceClient > DataAgentServiceClientImpl

Namespace

Google.Cloud.GeminiDataAnalytics.V1Beta

Assembly

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
Overrides

DeleteDataAgentOperationsClient

public override OperationsClient DeleteDataAgentOperationsClient { get; }

The long-running operations client for DeleteDataAgent.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override DataAgentService.DataAgentServiceClient GrpcClient { get; }

The underlying gRPC DataAgentService client

Property Value
Type Description
DataAgentServiceDataAgentServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

UpdateDataAgentOperationsClient

public override OperationsClient UpdateDataAgentOperationsClient { get; }

The long-running operations client for UpdateDataAgent.

Property Value
Type Description
OperationsClient
Overrides

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.

Overrides

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.

Overrides

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.

Overrides

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.

Overrides

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.

Overrides

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.

Overrides

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.

Overrides

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.

Overrides

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.

Overrides

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.

Overrides

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.

Overrides

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.

Overrides

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.

Overrides

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.

Overrides

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.

Overrides

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.

Overrides