Data Labeling v1beta1 API - Class DataLabelingServiceSettings (2.0.0-beta03)

public sealed class DataLabelingServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Data Labeling v1beta1 API class DataLabelingServiceSettings.

Settings for DataLabelingServiceClient instances.

Inheritance

object > ServiceSettingsBase > DataLabelingServiceSettings

Namespace

Google.Cloud.DataLabeling.V1Beta1

Assembly

Google.Cloud.DataLabeling.V1Beta1.dll

Constructors

DataLabelingServiceSettings()

public DataLabelingServiceSettings()

Constructs a new DataLabelingServiceSettings object with default settings.

Properties

CreateAnnotationSpecSetSettings

public CallSettings CreateAnnotationSpecSetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.CreateAnnotationSpecSet and DataLabelingServiceClient.CreateAnnotationSpecSetAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

CreateDatasetSettings

public CallSettings CreateDatasetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.CreateDataset and DataLabelingServiceClient.CreateDatasetAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

CreateEvaluationJobSettings

public CallSettings CreateEvaluationJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.CreateEvaluationJob and DataLabelingServiceClient.CreateEvaluationJobAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

CreateInstructionOperationsSettings

public OperationsSettings CreateInstructionOperationsSettings { get; set; }

Long Running Operation settings for calls to DataLabelingServiceClient.CreateInstruction and DataLabelingServiceClient.CreateInstructionAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

CreateInstructionSettings

public CallSettings CreateInstructionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.CreateInstruction and DataLabelingServiceClient.CreateInstructionAsync .

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

DeleteAnnotatedDatasetSettings

public CallSettings DeleteAnnotatedDatasetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.DeleteAnnotatedDataset and DataLabelingServiceClient.DeleteAnnotatedDatasetAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

DeleteAnnotationSpecSetSettings

public CallSettings DeleteAnnotationSpecSetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.DeleteAnnotationSpecSet and DataLabelingServiceClient.DeleteAnnotationSpecSetAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

DeleteDatasetSettings

public CallSettings DeleteDatasetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.DeleteDataset and DataLabelingServiceClient.DeleteDatasetAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

DeleteEvaluationJobSettings

public CallSettings DeleteEvaluationJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.DeleteEvaluationJob and DataLabelingServiceClient.DeleteEvaluationJobAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

DeleteInstructionSettings

public CallSettings DeleteInstructionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.DeleteInstruction and DataLabelingServiceClient.DeleteInstructionAsync .

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

ExportDataOperationsSettings

public OperationsSettings ExportDataOperationsSettings { get; set; }

Long Running Operation settings for calls to DataLabelingServiceClient.ExportData and DataLabelingServiceClient.ExportDataAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

ExportDataSettings

public CallSettings ExportDataSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.ExportData and DataLabelingServiceClient.ExportDataAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

GetAnnotatedDatasetSettings

public CallSettings GetAnnotatedDatasetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.GetAnnotatedDataset and DataLabelingServiceClient.GetAnnotatedDatasetAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

GetAnnotationSpecSetSettings

public CallSettings GetAnnotationSpecSetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.GetAnnotationSpecSet and DataLabelingServiceClient.GetAnnotationSpecSetAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

GetDataItemSettings

public CallSettings GetDataItemSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.GetDataItem and DataLabelingServiceClient.GetDataItemAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

GetDatasetSettings

public CallSettings GetDatasetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.GetDataset and DataLabelingServiceClient.GetDatasetAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

GetEvaluationJobSettings

public CallSettings GetEvaluationJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.GetEvaluationJob and DataLabelingServiceClient.GetEvaluationJobAsync .

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

GetEvaluationSettings

public CallSettings GetEvaluationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.GetEvaluation and DataLabelingServiceClient.GetEvaluationAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

GetExampleSettings

public CallSettings GetExampleSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.GetExample and DataLabelingServiceClient.GetExampleAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

GetInstructionSettings

public CallSettings GetInstructionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.GetInstruction and DataLabelingServiceClient.GetInstructionAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

ImportDataOperationsSettings

public OperationsSettings ImportDataOperationsSettings { get; set; }

Long Running Operation settings for calls to DataLabelingServiceClient.ImportData and DataLabelingServiceClient.ImportDataAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

ImportDataSettings

public CallSettings ImportDataSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.ImportData and DataLabelingServiceClient.ImportDataAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

LabelImageOperationsSettings

public OperationsSettings LabelImageOperationsSettings { get; set; }

Long Running Operation settings for calls to DataLabelingServiceClient.LabelImage and DataLabelingServiceClient.LabelImageAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

LabelImageSettings

public CallSettings LabelImageSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.LabelImage and DataLabelingServiceClient.LabelImageAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

LabelTextOperationsSettings

public OperationsSettings LabelTextOperationsSettings { get; set; }

Long Running Operation settings for calls to DataLabelingServiceClient.LabelText and DataLabelingServiceClient.LabelTextAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

LabelTextSettings

public CallSettings LabelTextSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.LabelText and DataLabelingServiceClient.LabelTextAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

LabelVideoOperationsSettings

public OperationsSettings LabelVideoOperationsSettings { get; set; }

Long Running Operation settings for calls to DataLabelingServiceClient.LabelVideo and DataLabelingServiceClient.LabelVideoAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

LabelVideoSettings

public CallSettings LabelVideoSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.LabelVideo and DataLabelingServiceClient.LabelVideoAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

ListAnnotatedDatasetsSettings

public CallSettings ListAnnotatedDatasetsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.ListAnnotatedDatasets and DataLabelingServiceClient.ListAnnotatedDatasetsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

ListAnnotationSpecSetsSettings

public CallSettings ListAnnotationSpecSetsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.ListAnnotationSpecSets and DataLabelingServiceClient.ListAnnotationSpecSetsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

ListDataItemsSettings

public CallSettings ListDataItemsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.ListDataItems and DataLabelingServiceClient.ListDataItemsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

ListDatasetsSettings

public CallSettings ListDatasetsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.ListDatasets and DataLabelingServiceClient.ListDatasetsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

ListEvaluationJobsSettings

public CallSettings ListEvaluationJobsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.ListEvaluationJobs and DataLabelingServiceClient.ListEvaluationJobsAsync .

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

ListExamplesSettings

public CallSettings ListExamplesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.ListExamples and DataLabelingServiceClient.ListExamplesAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

ListInstructionsSettings

public CallSettings ListInstructionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.ListInstructions and DataLabelingServiceClient.ListInstructionsAsync .

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

PauseEvaluationJobSettings

public CallSettings PauseEvaluationJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.PauseEvaluationJob and DataLabelingServiceClient.PauseEvaluationJobAsync .

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

ResumeEvaluationJobSettings

public CallSettings ResumeEvaluationJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.ResumeEvaluationJob and DataLabelingServiceClient.ResumeEvaluationJobAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

SearchEvaluationsSettings

public CallSettings SearchEvaluationsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.SearchEvaluations and DataLabelingServiceClient.SearchEvaluationsAsync .

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 30 seconds.

SearchExampleComparisonsSettings

public CallSettings SearchExampleComparisonsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.SearchExampleComparisons and DataLabelingServiceClient.SearchExampleComparisonsAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

UpdateEvaluationJobSettings

public CallSettings UpdateEvaluationJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DataLabelingServiceClient.UpdateEvaluationJob and DataLabelingServiceClient.UpdateEvaluationJobAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

Methods

Clone()

public DataLabelingServiceSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
Type Description
DataLabelingServiceSettings

A deep clone of this DataLabelingServiceSettings object.

GetDefault()

public static DataLabelingServiceSettings GetDefault()

Get a new instance of the default DataLabelingServiceSettings.

Returns
Type Description
DataLabelingServiceSettings

A new instance of the default DataLabelingServiceSettings.