Class DatasetService.DatasetServiceClient (1.4.0)

public class DatasetServiceClient : ClientBase<DatasetService.DatasetServiceClient>

Client for DatasetService

Inheritance

Object > ClientBase > ClientBase<DatasetService.DatasetServiceClient> > DatasetService.DatasetServiceClient

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

DatasetServiceClient()

protected DatasetServiceClient()

Protected parameterless constructor to allow creation of test doubles.

DatasetServiceClient(CallInvoker)

public DatasetServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

DatasetServiceClient(ChannelBase)

public DatasetServiceClient(ChannelBase channel)

Creates a new client for DatasetService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

DatasetServiceClient(ClientBase.ClientBaseConfiguration)

protected DatasetServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateDataset(CreateDatasetRequest, CallOptions)

public virtual Operation CreateDataset(CreateDatasetRequest request, CallOptions options)

Creates a Dataset.

Parameters
NameDescription
requestCreateDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateDataset(CreateDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation CreateDataset(CreateDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates a Dataset.

Parameters
NameDescription
requestCreateDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateDatasetAsync(CreateDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateDatasetAsync(CreateDatasetRequest request, CallOptions options)

Creates a Dataset.

Parameters
NameDescription
requestCreateDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateDatasetAsync(CreateDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateDatasetAsync(CreateDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates a Dataset.

Parameters
NameDescription
requestCreateDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
Operations.OperationsClient

A new Operations client for the same target as this client.

DeleteDataset(DeleteDatasetRequest, CallOptions)

public virtual Operation DeleteDataset(DeleteDatasetRequest request, CallOptions options)

Deletes a Dataset.

Parameters
NameDescription
requestDeleteDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteDataset(DeleteDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeleteDataset(DeleteDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a Dataset.

Parameters
NameDescription
requestDeleteDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteDatasetAsync(DeleteDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteDatasetAsync(DeleteDatasetRequest request, CallOptions options)

Deletes a Dataset.

Parameters
NameDescription
requestDeleteDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteDatasetAsync(DeleteDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteDatasetAsync(DeleteDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a Dataset.

Parameters
NameDescription
requestDeleteDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

ExportData(ExportDataRequest, CallOptions)

public virtual Operation ExportData(ExportDataRequest request, CallOptions options)

Exports data from a Dataset.

Parameters
NameDescription
requestExportDataRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

ExportData(ExportDataRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation ExportData(ExportDataRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Exports data from a Dataset.

Parameters
NameDescription
requestExportDataRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

ExportDataAsync(ExportDataRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ExportDataAsync(ExportDataRequest request, CallOptions options)

Exports data from a Dataset.

Parameters
NameDescription
requestExportDataRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

ExportDataAsync(ExportDataRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> ExportDataAsync(ExportDataRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Exports data from a Dataset.

Parameters
NameDescription
requestExportDataRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

GetAnnotationSpec(GetAnnotationSpecRequest, CallOptions)

public virtual AnnotationSpec GetAnnotationSpec(GetAnnotationSpecRequest request, CallOptions options)

Gets an AnnotationSpec.

Parameters
NameDescription
requestGetAnnotationSpecRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AnnotationSpec

The response received from the server.

GetAnnotationSpec(GetAnnotationSpecRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AnnotationSpec GetAnnotationSpec(GetAnnotationSpecRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets an AnnotationSpec.

Parameters
NameDescription
requestGetAnnotationSpecRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AnnotationSpec

The response received from the server.

GetAnnotationSpecAsync(GetAnnotationSpecRequest, CallOptions)

public virtual AsyncUnaryCall<AnnotationSpec> GetAnnotationSpecAsync(GetAnnotationSpecRequest request, CallOptions options)

Gets an AnnotationSpec.

Parameters
NameDescription
requestGetAnnotationSpecRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<AnnotationSpec>

The call object.

GetAnnotationSpecAsync(GetAnnotationSpecRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<AnnotationSpec> GetAnnotationSpecAsync(GetAnnotationSpecRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets an AnnotationSpec.

Parameters
NameDescription
requestGetAnnotationSpecRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<AnnotationSpec>

The call object.

GetDataset(GetDatasetRequest, CallOptions)

public virtual Dataset GetDataset(GetDatasetRequest request, CallOptions options)

Gets a Dataset.

Parameters
NameDescription
requestGetDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Dataset

The response received from the server.

GetDataset(GetDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Dataset GetDataset(GetDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a Dataset.

Parameters
NameDescription
requestGetDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Dataset

The response received from the server.

GetDatasetAsync(GetDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<Dataset> GetDatasetAsync(GetDatasetRequest request, CallOptions options)

Gets a Dataset.

Parameters
NameDescription
requestGetDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Dataset>

The call object.

GetDatasetAsync(GetDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Dataset> GetDatasetAsync(GetDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a Dataset.

Parameters
NameDescription
requestGetDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Dataset>

The call object.

ImportData(ImportDataRequest, CallOptions)

public virtual Operation ImportData(ImportDataRequest request, CallOptions options)

Imports data into a Dataset.

Parameters
NameDescription
requestImportDataRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

ImportData(ImportDataRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation ImportData(ImportDataRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Imports data into a Dataset.

Parameters
NameDescription
requestImportDataRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

ImportDataAsync(ImportDataRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ImportDataAsync(ImportDataRequest request, CallOptions options)

Imports data into a Dataset.

Parameters
NameDescription
requestImportDataRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

ImportDataAsync(ImportDataRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> ImportDataAsync(ImportDataRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Imports data into a Dataset.

Parameters
NameDescription
requestImportDataRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

ListAnnotations(ListAnnotationsRequest, CallOptions)

public virtual ListAnnotationsResponse ListAnnotations(ListAnnotationsRequest request, CallOptions options)

Lists Annotations belongs to a dataitem

Parameters
NameDescription
requestListAnnotationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListAnnotationsResponse

The response received from the server.

ListAnnotations(ListAnnotationsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListAnnotationsResponse ListAnnotations(ListAnnotationsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists Annotations belongs to a dataitem

Parameters
NameDescription
requestListAnnotationsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListAnnotationsResponse

The response received from the server.

ListAnnotationsAsync(ListAnnotationsRequest, CallOptions)

public virtual AsyncUnaryCall<ListAnnotationsResponse> ListAnnotationsAsync(ListAnnotationsRequest request, CallOptions options)

Lists Annotations belongs to a dataitem

Parameters
NameDescription
requestListAnnotationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListAnnotationsResponse>

The call object.

ListAnnotationsAsync(ListAnnotationsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListAnnotationsResponse> ListAnnotationsAsync(ListAnnotationsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists Annotations belongs to a dataitem

Parameters
NameDescription
requestListAnnotationsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListAnnotationsResponse>

The call object.

ListDataItems(ListDataItemsRequest, CallOptions)

public virtual ListDataItemsResponse ListDataItems(ListDataItemsRequest request, CallOptions options)

Lists DataItems in a Dataset.

Parameters
NameDescription
requestListDataItemsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListDataItemsResponse

The response received from the server.

ListDataItems(ListDataItemsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListDataItemsResponse ListDataItems(ListDataItemsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists DataItems in a Dataset.

Parameters
NameDescription
requestListDataItemsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListDataItemsResponse

The response received from the server.

ListDataItemsAsync(ListDataItemsRequest, CallOptions)

public virtual AsyncUnaryCall<ListDataItemsResponse> ListDataItemsAsync(ListDataItemsRequest request, CallOptions options)

Lists DataItems in a Dataset.

Parameters
NameDescription
requestListDataItemsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListDataItemsResponse>

The call object.

ListDataItemsAsync(ListDataItemsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListDataItemsResponse> ListDataItemsAsync(ListDataItemsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists DataItems in a Dataset.

Parameters
NameDescription
requestListDataItemsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListDataItemsResponse>

The call object.

ListDatasets(ListDatasetsRequest, CallOptions)

public virtual ListDatasetsResponse ListDatasets(ListDatasetsRequest request, CallOptions options)

Lists Datasets in a Location.

Parameters
NameDescription
requestListDatasetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListDatasetsResponse

The response received from the server.

ListDatasets(ListDatasetsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListDatasetsResponse ListDatasets(ListDatasetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists Datasets in a Location.

Parameters
NameDescription
requestListDatasetsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListDatasetsResponse

The response received from the server.

ListDatasetsAsync(ListDatasetsRequest, CallOptions)

public virtual AsyncUnaryCall<ListDatasetsResponse> ListDatasetsAsync(ListDatasetsRequest request, CallOptions options)

Lists Datasets in a Location.

Parameters
NameDescription
requestListDatasetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListDatasetsResponse>

The call object.

ListDatasetsAsync(ListDatasetsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListDatasetsResponse> ListDatasetsAsync(ListDatasetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists Datasets in a Location.

Parameters
NameDescription
requestListDatasetsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListDatasetsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override DatasetService.DatasetServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
DatasetService.DatasetServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.AIPlatform.V1.DatasetService.DatasetServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateDataset(UpdateDatasetRequest, CallOptions)

public virtual Dataset UpdateDataset(UpdateDatasetRequest request, CallOptions options)

Updates a Dataset.

Parameters
NameDescription
requestUpdateDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Dataset

The response received from the server.

UpdateDataset(UpdateDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Dataset UpdateDataset(UpdateDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates a Dataset.

Parameters
NameDescription
requestUpdateDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Dataset

The response received from the server.

UpdateDatasetAsync(UpdateDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<Dataset> UpdateDatasetAsync(UpdateDatasetRequest request, CallOptions options)

Updates a Dataset.

Parameters
NameDescription
requestUpdateDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Dataset>

The call object.

UpdateDatasetAsync(UpdateDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Dataset> UpdateDatasetAsync(UpdateDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates a Dataset.

Parameters
NameDescription
requestUpdateDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Dataset>

The call object.