Cloud Speech-to-Text v2 API - Class OperationMetadata (1.0.0-beta07)

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
NameDescription
otherOperationMetadata

Properties

BatchRecognizeMetadata

public BatchRecognizeMetadata BatchRecognizeMetadata { get; set; }

Metadata specific to the BatchRecognize method.

Property Value
TypeDescription
BatchRecognizeMetadata

BatchRecognizeRequest

public BatchRecognizeRequest BatchRecognizeRequest { get; set; }

The BatchRecognizeRequest that spawned the Operation.

Property Value
TypeDescription
BatchRecognizeRequest

CreateCustomClassRequest

public CreateCustomClassRequest CreateCustomClassRequest { get; set; }

The CreateCustomClassRequest that spawned the Operation.

Property Value
TypeDescription
CreateCustomClassRequest

CreatePhraseSetRequest

public CreatePhraseSetRequest CreatePhraseSetRequest { get; set; }

The CreatePhraseSetRequest that spawned the Operation.

Property Value
TypeDescription
CreatePhraseSetRequest

CreateRecognizerRequest

public CreateRecognizerRequest CreateRecognizerRequest { get; set; }

The CreateRecognizerRequest that spawned the Operation.

Property Value
TypeDescription
CreateRecognizerRequest

CreateTime

public Timestamp CreateTime { get; set; }

The time the operation was created.

Property Value
TypeDescription
Timestamp

DeleteCustomClassRequest

public DeleteCustomClassRequest DeleteCustomClassRequest { get; set; }

The DeleteCustomClassRequest that spawned the Operation.

Property Value
TypeDescription
DeleteCustomClassRequest

DeletePhraseSetRequest

public DeletePhraseSetRequest DeletePhraseSetRequest { get; set; }

The DeletePhraseSetRequest that spawned the Operation.

Property Value
TypeDescription
DeletePhraseSetRequest

DeleteRecognizerRequest

public DeleteRecognizerRequest DeleteRecognizerRequest { get; set; }

The DeleteRecognizerRequest that spawned the Operation.

Property Value
TypeDescription
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
TypeDescription
string

KmsKeyNameAsCryptoKeyName

public CryptoKeyName KmsKeyNameAsCryptoKeyName { get; set; }

CryptoKeyName-typed view over the KmsKeyName resource name property.

Property Value
TypeDescription
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
TypeDescription
string

KmsKeyVersionNameAsCryptoKeyVersionName

public CryptoKeyVersionName KmsKeyVersionNameAsCryptoKeyVersionName { get; set; }

CryptoKeyVersionName-typed view over the KmsKeyVersionName resource name property.

Property Value
TypeDescription
CryptoKeyVersionName

MetadataCase

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

Method

public string Method { get; set; }

The method that triggered the operation.

Property Value
TypeDescription
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
TypeDescription
int

RequestCase

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

Resource

public string Resource { get; set; }

The resource path for the target of the operation.

Property Value
TypeDescription
string

UndeleteCustomClassRequest

public UndeleteCustomClassRequest UndeleteCustomClassRequest { get; set; }

The UndeleteCustomClassRequest that spawned the Operation.

Property Value
TypeDescription
UndeleteCustomClassRequest

UndeletePhraseSetRequest

public UndeletePhraseSetRequest UndeletePhraseSetRequest { get; set; }

The UndeletePhraseSetRequest that spawned the Operation.

Property Value
TypeDescription
UndeletePhraseSetRequest

UndeleteRecognizerRequest

public UndeleteRecognizerRequest UndeleteRecognizerRequest { get; set; }

The UndeleteRecognizerRequest that spawned the Operation.

Property Value
TypeDescription
UndeleteRecognizerRequest

UpdateConfigRequest

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

The UpdateConfigRequest that spawned the Operation.

Property Value
TypeDescription
UpdateConfigRequest

UpdateCustomClassRequest

public UpdateCustomClassRequest UpdateCustomClassRequest { get; set; }

The UpdateCustomClassRequest that spawned the Operation.

Property Value
TypeDescription
UpdateCustomClassRequest

UpdatePhraseSetRequest

public UpdatePhraseSetRequest UpdatePhraseSetRequest { get; set; }

The UpdatePhraseSetRequest that spawned the Operation.

Property Value
TypeDescription
UpdatePhraseSetRequest

UpdateRecognizerRequest

public UpdateRecognizerRequest UpdateRecognizerRequest { get; set; }

The UpdateRecognizerRequest that spawned the Operation.

Property Value
TypeDescription
UpdateRecognizerRequest

UpdateTime

public Timestamp UpdateTime { get; set; }

The time the operation was last updated.

Property Value
TypeDescription
Timestamp