Cloud Speech-to-Text v2 API - Class OperationMetadata (1.3.0)

public sealed class OperationMetadata : IMessage<OperationMetadata>, IEquatable<OperationMetadata>, IDeepCloneable<OperationMetadata>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Speech-to-Text v2 API class OperationMetadata.

Represents the metadata of a long-running operation.

Inheritance

object > OperationMetadata

Namespace

Google.Cloud.Speech.V2

Assembly

Google.Cloud.Speech.V2.dll

Constructors

OperationMetadata()

public OperationMetadata()

OperationMetadata(OperationMetadata)

public OperationMetadata(OperationMetadata other)
Parameter
Name Description
other OperationMetadata

Properties

BatchRecognizeMetadata

public BatchRecognizeMetadata BatchRecognizeMetadata { get; set; }

Metadata specific to the BatchRecognize method.

Property Value
Type Description
BatchRecognizeMetadata

BatchRecognizeRequest

public BatchRecognizeRequest BatchRecognizeRequest { get; set; }

The BatchRecognizeRequest that spawned the Operation.

Property Value
Type Description
BatchRecognizeRequest

CreateCustomClassRequest

public CreateCustomClassRequest CreateCustomClassRequest { get; set; }

The CreateCustomClassRequest that spawned the Operation.

Property Value
Type Description
CreateCustomClassRequest

CreatePhraseSetRequest

public CreatePhraseSetRequest CreatePhraseSetRequest { get; set; }

The CreatePhraseSetRequest that spawned the Operation.

Property Value
Type Description
CreatePhraseSetRequest

CreateRecognizerRequest

public CreateRecognizerRequest CreateRecognizerRequest { get; set; }

The CreateRecognizerRequest that spawned the Operation.

Property Value
Type Description
CreateRecognizerRequest

CreateTime

public Timestamp CreateTime { get; set; }

The time the operation was created.

Property Value
Type Description
Timestamp

DeleteCustomClassRequest

public DeleteCustomClassRequest DeleteCustomClassRequest { get; set; }

The DeleteCustomClassRequest that spawned the Operation.

Property Value
Type Description
DeleteCustomClassRequest

DeletePhraseSetRequest

public DeletePhraseSetRequest DeletePhraseSetRequest { get; set; }

The DeletePhraseSetRequest that spawned the Operation.

Property Value
Type Description
DeletePhraseSetRequest

DeleteRecognizerRequest

public DeleteRecognizerRequest DeleteRecognizerRequest { get; set; }

The DeleteRecognizerRequest that spawned the Operation.

Property Value
Type Description
DeleteRecognizerRequest

KmsKeyName

public string KmsKeyName { get; set; }

The KMS key name with which the content of the Operation is encrypted. The expected format is projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.

Property Value
Type Description
string

KmsKeyNameAsCryptoKeyName

public CryptoKeyName KmsKeyNameAsCryptoKeyName { get; set; }

CryptoKeyName-typed view over the KmsKeyName resource name property.

Property Value
Type Description
CryptoKeyName

KmsKeyVersionName

public string KmsKeyVersionName { get; set; }

The KMS key version name with which content of the Operation is encrypted. The expected format is projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}.

Property Value
Type Description
string

KmsKeyVersionNameAsCryptoKeyVersionName

public CryptoKeyVersionName KmsKeyVersionNameAsCryptoKeyVersionName { get; set; }

CryptoKeyVersionName-typed view over the KmsKeyVersionName resource name property.

Property Value
Type Description
CryptoKeyVersionName

MetadataCase

public OperationMetadata.MetadataOneofCase MetadataCase { get; }
Property Value
Type Description
OperationMetadataMetadataOneofCase

Method

public string Method { get; set; }

The method that triggered the operation.

Property Value
Type Description
string

ProgressPercent

public int ProgressPercent { get; set; }

The percent progress of the Operation. Values can range from 0-100. If the value is 100, then the operation is finished.

Property Value
Type Description
int

RequestCase

public OperationMetadata.RequestOneofCase RequestCase { get; }
Property Value
Type Description
OperationMetadataRequestOneofCase

Resource

public string Resource { get; set; }

The resource path for the target of the operation.

Property Value
Type Description
string

UndeleteCustomClassRequest

public UndeleteCustomClassRequest UndeleteCustomClassRequest { get; set; }

The UndeleteCustomClassRequest that spawned the Operation.

Property Value
Type Description
UndeleteCustomClassRequest

UndeletePhraseSetRequest

public UndeletePhraseSetRequest UndeletePhraseSetRequest { get; set; }

The UndeletePhraseSetRequest that spawned the Operation.

Property Value
Type Description
UndeletePhraseSetRequest

UndeleteRecognizerRequest

public UndeleteRecognizerRequest UndeleteRecognizerRequest { get; set; }

The UndeleteRecognizerRequest that spawned the Operation.

Property Value
Type Description
UndeleteRecognizerRequest

UpdateConfigRequest

[Obsolete]
public UpdateConfigRequest UpdateConfigRequest { get; set; }

The UpdateConfigRequest that spawned the Operation.

Property Value
Type Description
UpdateConfigRequest

UpdateCustomClassRequest

public UpdateCustomClassRequest UpdateCustomClassRequest { get; set; }

The UpdateCustomClassRequest that spawned the Operation.

Property Value
Type Description
UpdateCustomClassRequest

UpdatePhraseSetRequest

public UpdatePhraseSetRequest UpdatePhraseSetRequest { get; set; }

The UpdatePhraseSetRequest that spawned the Operation.

Property Value
Type Description
UpdatePhraseSetRequest

UpdateRecognizerRequest

public UpdateRecognizerRequest UpdateRecognizerRequest { get; set; }

The UpdateRecognizerRequest that spawned the Operation.

Property Value
Type Description
UpdateRecognizerRequest

UpdateTime

public Timestamp UpdateTime { get; set; }

The time the operation was last updated.

Property Value
Type Description
Timestamp