Cloud Speech V2 Client - Class OperationMetadata (1.20.1)

Reference documentation and code samples for the Cloud Speech V2 Client class OperationMetadata.

Represents the metadata of a long-running operation.

Generated from protobuf message google.cloud.speech.v2.OperationMetadata

Namespace

Google \ Cloud \ Speech \ V2

Methods

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ create_time
Google\Protobuf\Timestamp

The time the operation was created.

↳ update_time
Google\Protobuf\Timestamp

The time the operation was last updated.

↳ resource
string

The resource path for the target of the operation.

↳ method
string

The method that triggered the operation.

↳ kms_key_name
string

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} .

↳ kms_key_version_name
string

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} .

↳ batch_recognize_request
BatchRecognizeRequest

The BatchRecognizeRequest that spawned the Operation.

↳ create_recognizer_request
CreateRecognizerRequest

The CreateRecognizerRequest that spawned the Operation.

↳ update_recognizer_request
UpdateRecognizerRequest

The UpdateRecognizerRequest that spawned the Operation.

↳ delete_recognizer_request
DeleteRecognizerRequest

The DeleteRecognizerRequest that spawned the Operation.

↳ undelete_recognizer_request
UndeleteRecognizerRequest

The UndeleteRecognizerRequest that spawned the Operation.

↳ create_custom_class_request
CreateCustomClassRequest

The CreateCustomClassRequest that spawned the Operation.

↳ update_custom_class_request
UpdateCustomClassRequest

The UpdateCustomClassRequest that spawned the Operation.

↳ delete_custom_class_request
DeleteCustomClassRequest

The DeleteCustomClassRequest that spawned the Operation.

↳ undelete_custom_class_request
UndeleteCustomClassRequest

The UndeleteCustomClassRequest that spawned the Operation.

↳ create_phrase_set_request
CreatePhraseSetRequest

The CreatePhraseSetRequest that spawned the Operation.

↳ update_phrase_set_request
UpdatePhraseSetRequest

The UpdatePhraseSetRequest that spawned the Operation.

↳ delete_phrase_set_request
DeletePhraseSetRequest

The DeletePhraseSetRequest that spawned the Operation.

↳ undelete_phrase_set_request
UndeletePhraseSetRequest

The UndeletePhraseSetRequest that spawned the Operation.

↳ update_config_request
UpdateConfigRequest

The UpdateConfigRequest that spawned the Operation.

↳ progress_percent
int

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

↳ batch_recognize_metadata
BatchRecognizeMetadata

Metadata specific to the BatchRecognize method.

The time the operation was created.

Returns
Type
Description

The time the operation was created.

Parameter
Name
Description
Returns
Type
Description
$this

The time the operation was last updated.

Returns
Type
Description

The time the operation was last updated.

Parameter
Name
Description
Returns
Type
Description
$this

The resource path for the target of the operation.

Returns
Type
Description
string

The resource path for the target of the operation.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

The method that triggered the operation.

Returns
Type
Description
string

The method that triggered the operation.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

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} .

Returns
Type
Description
string

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} .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

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} .

Returns
Type
Description
string

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} .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

The BatchRecognizeRequest that spawned the Operation.

Returns
Type
Description

The BatchRecognizeRequest that spawned the Operation.

Parameter
Name
Description
Returns
Type
Description
$this

The CreateRecognizerRequest that spawned the Operation.

Returns
Type
Description

The CreateRecognizerRequest that spawned the Operation.

Parameter
Name
Description
Returns
Type
Description
$this

The UpdateRecognizerRequest that spawned the Operation.

Returns
Type
Description

The UpdateRecognizerRequest that spawned the Operation.

Parameter
Name
Description
Returns
Type
Description
$this

The DeleteRecognizerRequest that spawned the Operation.

Returns
Type
Description

The DeleteRecognizerRequest that spawned the Operation.

Parameter
Name
Description
Returns
Type
Description
$this

The UndeleteRecognizerRequest that spawned the Operation.

Returns
Type
Description

The UndeleteRecognizerRequest that spawned the Operation.

Parameter
Name
Description
Returns
Type
Description
$this

The CreateCustomClassRequest that spawned the Operation.

Returns
Type
Description

The CreateCustomClassRequest that spawned the Operation.

Parameter
Name
Description
Returns
Type
Description
$this

The UpdateCustomClassRequest that spawned the Operation.

Returns
Type
Description

The UpdateCustomClassRequest that spawned the Operation.

Parameter
Name
Description
Returns
Type
Description
$this

The DeleteCustomClassRequest that spawned the Operation.

Returns
Type
Description

The DeleteCustomClassRequest that spawned the Operation.

Parameter
Name
Description
Returns
Type
Description
$this

The UndeleteCustomClassRequest that spawned the Operation.

Returns
Type
Description

The UndeleteCustomClassRequest that spawned the Operation.

Parameter
Name
Description
Returns
Type
Description
$this

The CreatePhraseSetRequest that spawned the Operation.

Returns
Type
Description

The CreatePhraseSetRequest that spawned the Operation.

Parameter
Name
Description
Returns
Type
Description
$this

The UpdatePhraseSetRequest that spawned the Operation.

Returns
Type
Description

The UpdatePhraseSetRequest that spawned the Operation.

Parameter
Name
Description
Returns
Type
Description
$this

The DeletePhraseSetRequest that spawned the Operation.

Returns
Type
Description

The DeletePhraseSetRequest that spawned the Operation.

Parameter
Name
Description
Returns
Type
Description
$this

The UndeletePhraseSetRequest that spawned the Operation.

Returns
Type
Description

The UndeletePhraseSetRequest that spawned the Operation.

Parameter
Name
Description
Returns
Type
Description
$this

The UpdateConfigRequest that spawned the Operation.

Returns
Type
Description

The UpdateConfigRequest that spawned the Operation.

Parameter
Name
Description
Returns
Type
Description
$this

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

Returns
Type
Description
int

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

Parameter
Name
Description
var
int
Returns
Type
Description
$this

Metadata specific to the BatchRecognize method.

Returns
Type
Description

Metadata specific to the BatchRecognize method.

Parameter
Name
Description
Returns
Type
Description
$this
Returns
Type
Description
string
Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: