Class DataLabelingService.DataLabelingServiceClient (2.0.0-beta01)

Stay organized with collections Save and categorize content based on your preferences.
public class DataLabelingServiceClient : ClientBase<DataLabelingService.DataLabelingServiceClient>

Client for DataLabelingService

Inheritance

Object > ClientBase > ClientBase<DataLabelingService.DataLabelingServiceClient> > DataLabelingService.DataLabelingServiceClient

Namespace

Google.Cloud.DataLabeling.V1Beta1

Assembly

Google.Cloud.DataLabeling.V1Beta1.dll

Constructors

DataLabelingServiceClient()

protected DataLabelingServiceClient()

Protected parameterless constructor to allow creation of test doubles.

DataLabelingServiceClient(CallInvoker)

public DataLabelingServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

DataLabelingServiceClient(ChannelBase)

public DataLabelingServiceClient(ChannelBase channel)

Creates a new client for DataLabelingService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

DataLabelingServiceClient(ClientBase.ClientBaseConfiguration)

protected DataLabelingServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest, CallOptions)

public virtual AnnotationSpecSet CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest request, CallOptions options)

Creates an annotation spec set by providing a set of labels.

Parameters
NameDescription
requestCreateAnnotationSpecSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AnnotationSpecSet

The response received from the server.

CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AnnotationSpecSet CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates an annotation spec set by providing a set of labels.

Parameters
NameDescription
requestCreateAnnotationSpecSetRequest

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
AnnotationSpecSet

The response received from the server.

CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest, CallOptions)

public virtual AsyncUnaryCall<AnnotationSpecSet> CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest request, CallOptions options)

Creates an annotation spec set by providing a set of labels.

Parameters
NameDescription
requestCreateAnnotationSpecSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<AnnotationSpecSet>

The call object.

CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<AnnotationSpecSet> CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates an annotation spec set by providing a set of labels.

Parameters
NameDescription
requestCreateAnnotationSpecSetRequest

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<AnnotationSpecSet>

The call object.

CreateDataset(CreateDatasetRequest, CallOptions)

public virtual Dataset CreateDataset(CreateDatasetRequest request, CallOptions options)

Creates dataset. If success return a Dataset resource.

Parameters
NameDescription
requestCreateDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Dataset

The response received from the server.

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

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

Creates dataset. If success return a Dataset resource.

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
Dataset

The response received from the server.

CreateDatasetAsync(CreateDatasetRequest, CallOptions)

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

Creates dataset. If success return a Dataset resource.

Parameters
NameDescription
requestCreateDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Dataset>

The call object.

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

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

Creates dataset. If success return a Dataset resource.

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<Dataset>

The call object.

CreateEvaluationJob(CreateEvaluationJobRequest, CallOptions)

public virtual EvaluationJob CreateEvaluationJob(CreateEvaluationJobRequest request, CallOptions options)

Creates an evaluation job.

Parameters
NameDescription
requestCreateEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
EvaluationJob

The response received from the server.

CreateEvaluationJob(CreateEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual EvaluationJob CreateEvaluationJob(CreateEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates an evaluation job.

Parameters
NameDescription
requestCreateEvaluationJobRequest

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
EvaluationJob

The response received from the server.

CreateEvaluationJobAsync(CreateEvaluationJobRequest, CallOptions)

public virtual AsyncUnaryCall<EvaluationJob> CreateEvaluationJobAsync(CreateEvaluationJobRequest request, CallOptions options)

Creates an evaluation job.

Parameters
NameDescription
requestCreateEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<EvaluationJob>

The call object.

CreateEvaluationJobAsync(CreateEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<EvaluationJob> CreateEvaluationJobAsync(CreateEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates an evaluation job.

Parameters
NameDescription
requestCreateEvaluationJobRequest

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<EvaluationJob>

The call object.

CreateInstruction(CreateInstructionRequest, CallOptions)

public virtual Operation CreateInstruction(CreateInstructionRequest request, CallOptions options)

Creates an instruction for how data should be labeled.

Parameters
NameDescription
requestCreateInstructionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateInstruction(CreateInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates an instruction for how data should be labeled.

Parameters
NameDescription
requestCreateInstructionRequest

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.

CreateInstructionAsync(CreateInstructionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateInstructionAsync(CreateInstructionRequest request, CallOptions options)

Creates an instruction for how data should be labeled.

Parameters
NameDescription
requestCreateInstructionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateInstructionAsync(CreateInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates an instruction for how data should be labeled.

Parameters
NameDescription
requestCreateInstructionRequest

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.

DeleteAnnotatedDataset(DeleteAnnotatedDatasetRequest, CallOptions)

public virtual Empty DeleteAnnotatedDataset(DeleteAnnotatedDatasetRequest request, CallOptions options)

Deletes an annotated dataset by resource name.

Parameters
NameDescription
requestDeleteAnnotatedDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteAnnotatedDataset(DeleteAnnotatedDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteAnnotatedDataset(DeleteAnnotatedDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes an annotated dataset by resource name.

Parameters
NameDescription
requestDeleteAnnotatedDatasetRequest

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
Empty

The response received from the server.

DeleteAnnotatedDatasetAsync(DeleteAnnotatedDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteAnnotatedDatasetAsync(DeleteAnnotatedDatasetRequest request, CallOptions options)

Deletes an annotated dataset by resource name.

Parameters
NameDescription
requestDeleteAnnotatedDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteAnnotatedDatasetAsync(DeleteAnnotatedDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteAnnotatedDatasetAsync(DeleteAnnotatedDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes an annotated dataset by resource name.

Parameters
NameDescription
requestDeleteAnnotatedDatasetRequest

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<Empty>

The call object.

DeleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest, CallOptions)

public virtual Empty DeleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest request, CallOptions options)

Deletes an annotation spec set by resource name.

Parameters
NameDescription
requestDeleteAnnotationSpecSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes an annotation spec set by resource name.

Parameters
NameDescription
requestDeleteAnnotationSpecSetRequest

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
Empty

The response received from the server.

DeleteAnnotationSpecSetAsync(DeleteAnnotationSpecSetRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteAnnotationSpecSetAsync(DeleteAnnotationSpecSetRequest request, CallOptions options)

Deletes an annotation spec set by resource name.

Parameters
NameDescription
requestDeleteAnnotationSpecSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteAnnotationSpecSetAsync(DeleteAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteAnnotationSpecSetAsync(DeleteAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes an annotation spec set by resource name.

Parameters
NameDescription
requestDeleteAnnotationSpecSetRequest

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<Empty>

The call object.

DeleteDataset(DeleteDatasetRequest, CallOptions)

public virtual Empty DeleteDataset(DeleteDatasetRequest request, CallOptions options)

Deletes a dataset by resource name.

Parameters
NameDescription
requestDeleteDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

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

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

Deletes a dataset by resource name.

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
Empty

The response received from the server.

DeleteDatasetAsync(DeleteDatasetRequest, CallOptions)

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

Deletes a dataset by resource name.

Parameters
NameDescription
requestDeleteDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

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

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

Deletes a dataset by resource name.

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<Empty>

The call object.

DeleteEvaluationJob(DeleteEvaluationJobRequest, CallOptions)

public virtual Empty DeleteEvaluationJob(DeleteEvaluationJobRequest request, CallOptions options)

Stops and deletes an evaluation job.

Parameters
NameDescription
requestDeleteEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteEvaluationJob(DeleteEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteEvaluationJob(DeleteEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Stops and deletes an evaluation job.

Parameters
NameDescription
requestDeleteEvaluationJobRequest

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
Empty

The response received from the server.

DeleteEvaluationJobAsync(DeleteEvaluationJobRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteEvaluationJobAsync(DeleteEvaluationJobRequest request, CallOptions options)

Stops and deletes an evaluation job.

Parameters
NameDescription
requestDeleteEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteEvaluationJobAsync(DeleteEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteEvaluationJobAsync(DeleteEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Stops and deletes an evaluation job.

Parameters
NameDescription
requestDeleteEvaluationJobRequest

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<Empty>

The call object.

DeleteInstruction(DeleteInstructionRequest, CallOptions)

public virtual Empty DeleteInstruction(DeleteInstructionRequest request, CallOptions options)

Deletes an instruction object by resource name.

Parameters
NameDescription
requestDeleteInstructionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteInstruction(DeleteInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteInstruction(DeleteInstructionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes an instruction object by resource name.

Parameters
NameDescription
requestDeleteInstructionRequest

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
Empty

The response received from the server.

DeleteInstructionAsync(DeleteInstructionRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteInstructionAsync(DeleteInstructionRequest request, CallOptions options)

Deletes an instruction object by resource name.

Parameters
NameDescription
requestDeleteInstructionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteInstructionAsync(DeleteInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteInstructionAsync(DeleteInstructionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes an instruction object by resource name.

Parameters
NameDescription
requestDeleteInstructionRequest

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<Empty>

The call object.

ExportData(ExportDataRequest, CallOptions)

public virtual Operation ExportData(ExportDataRequest request, CallOptions options)

Exports data and annotations from 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 = null, CancellationToken cancellationToken = default(CancellationToken))

Exports data and annotations from 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 and annotations from 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 = null, CancellationToken cancellationToken = default(CancellationToken))

Exports data and annotations from 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.

GetAnnotatedDataset(GetAnnotatedDatasetRequest, CallOptions)

public virtual AnnotatedDataset GetAnnotatedDataset(GetAnnotatedDatasetRequest request, CallOptions options)

Gets an annotated dataset by resource name.

Parameters
NameDescription
requestGetAnnotatedDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AnnotatedDataset

The response received from the server.

GetAnnotatedDataset(GetAnnotatedDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AnnotatedDataset GetAnnotatedDataset(GetAnnotatedDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an annotated dataset by resource name.

Parameters
NameDescription
requestGetAnnotatedDatasetRequest

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
AnnotatedDataset

The response received from the server.

GetAnnotatedDatasetAsync(GetAnnotatedDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<AnnotatedDataset> GetAnnotatedDatasetAsync(GetAnnotatedDatasetRequest request, CallOptions options)

Gets an annotated dataset by resource name.

Parameters
NameDescription
requestGetAnnotatedDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<AnnotatedDataset>

The call object.

GetAnnotatedDatasetAsync(GetAnnotatedDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<AnnotatedDataset> GetAnnotatedDatasetAsync(GetAnnotatedDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an annotated dataset by resource name.

Parameters
NameDescription
requestGetAnnotatedDatasetRequest

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<AnnotatedDataset>

The call object.

GetAnnotationSpecSet(GetAnnotationSpecSetRequest, CallOptions)

public virtual AnnotationSpecSet GetAnnotationSpecSet(GetAnnotationSpecSetRequest request, CallOptions options)

Gets an annotation spec set by resource name.

Parameters
NameDescription
requestGetAnnotationSpecSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AnnotationSpecSet

The response received from the server.

GetAnnotationSpecSet(GetAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AnnotationSpecSet GetAnnotationSpecSet(GetAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an annotation spec set by resource name.

Parameters
NameDescription
requestGetAnnotationSpecSetRequest

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 fo