Reference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::OperationMetadata.
Represents the metadata of a long-running operation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#batch_recognize_metadata
def batch_recognize_metadata() -> ::Google::Cloud::Speech::V2::BatchRecognizeMetadata
Returns
- (::Google::Cloud::Speech::V2::BatchRecognizeMetadata) — Metadata specific to the BatchRecognize method.
#batch_recognize_metadata=
def batch_recognize_metadata=(value) -> ::Google::Cloud::Speech::V2::BatchRecognizeMetadata
Parameter
- value (::Google::Cloud::Speech::V2::BatchRecognizeMetadata) — Metadata specific to the BatchRecognize method.
Returns
- (::Google::Cloud::Speech::V2::BatchRecognizeMetadata) — Metadata specific to the BatchRecognize method.
#batch_recognize_request
def batch_recognize_request() -> ::Google::Cloud::Speech::V2::BatchRecognizeRequest
Returns
- (::Google::Cloud::Speech::V2::BatchRecognizeRequest) — The BatchRecognizeRequest that spawned the Operation.
#batch_recognize_request=
def batch_recognize_request=(value) -> ::Google::Cloud::Speech::V2::BatchRecognizeRequest
Parameter
- value (::Google::Cloud::Speech::V2::BatchRecognizeRequest) — The BatchRecognizeRequest that spawned the Operation.
Returns
- (::Google::Cloud::Speech::V2::BatchRecognizeRequest) — The BatchRecognizeRequest that spawned the Operation.
#create_custom_class_request
def create_custom_class_request() -> ::Google::Cloud::Speech::V2::CreateCustomClassRequest
Returns
- (::Google::Cloud::Speech::V2::CreateCustomClassRequest) — The CreateCustomClassRequest that spawned the Operation.
#create_custom_class_request=
def create_custom_class_request=(value) -> ::Google::Cloud::Speech::V2::CreateCustomClassRequest
Parameter
- value (::Google::Cloud::Speech::V2::CreateCustomClassRequest) — The CreateCustomClassRequest that spawned the Operation.
Returns
- (::Google::Cloud::Speech::V2::CreateCustomClassRequest) — The CreateCustomClassRequest that spawned the Operation.
#create_phrase_set_request
def create_phrase_set_request() -> ::Google::Cloud::Speech::V2::CreatePhraseSetRequest
Returns
- (::Google::Cloud::Speech::V2::CreatePhraseSetRequest) — The CreatePhraseSetRequest that spawned the Operation.
#create_phrase_set_request=
def create_phrase_set_request=(value) -> ::Google::Cloud::Speech::V2::CreatePhraseSetRequest
Parameter
- value (::Google::Cloud::Speech::V2::CreatePhraseSetRequest) — The CreatePhraseSetRequest that spawned the Operation.
Returns
- (::Google::Cloud::Speech::V2::CreatePhraseSetRequest) — The CreatePhraseSetRequest that spawned the Operation.
#create_recognizer_request
def create_recognizer_request() -> ::Google::Cloud::Speech::V2::CreateRecognizerRequest
Returns
- (::Google::Cloud::Speech::V2::CreateRecognizerRequest) — The CreateRecognizerRequest that spawned the Operation.
#create_recognizer_request=
def create_recognizer_request=(value) -> ::Google::Cloud::Speech::V2::CreateRecognizerRequest
Parameter
- value (::Google::Cloud::Speech::V2::CreateRecognizerRequest) — The CreateRecognizerRequest that spawned the Operation.
Returns
- (::Google::Cloud::Speech::V2::CreateRecognizerRequest) — The CreateRecognizerRequest that spawned the Operation.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time the operation was created.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time the operation was created.
Returns
- (::Google::Protobuf::Timestamp) — The time the operation was created.
#delete_custom_class_request
def delete_custom_class_request() -> ::Google::Cloud::Speech::V2::DeleteCustomClassRequest
Returns
- (::Google::Cloud::Speech::V2::DeleteCustomClassRequest) — The DeleteCustomClassRequest that spawned the Operation.
#delete_custom_class_request=
def delete_custom_class_request=(value) -> ::Google::Cloud::Speech::V2::DeleteCustomClassRequest
Parameter
- value (::Google::Cloud::Speech::V2::DeleteCustomClassRequest) — The DeleteCustomClassRequest that spawned the Operation.
Returns
- (::Google::Cloud::Speech::V2::DeleteCustomClassRequest) — The DeleteCustomClassRequest that spawned the Operation.
#delete_phrase_set_request
def delete_phrase_set_request() -> ::Google::Cloud::Speech::V2::DeletePhraseSetRequest
Returns
- (::Google::Cloud::Speech::V2::DeletePhraseSetRequest) — The DeletePhraseSetRequest that spawned the Operation.
#delete_phrase_set_request=
def delete_phrase_set_request=(value) -> ::Google::Cloud::Speech::V2::DeletePhraseSetRequest
Parameter
- value (::Google::Cloud::Speech::V2::DeletePhraseSetRequest) — The DeletePhraseSetRequest that spawned the Operation.
Returns
- (::Google::Cloud::Speech::V2::DeletePhraseSetRequest) — The DeletePhraseSetRequest that spawned the Operation.
#delete_recognizer_request
def delete_recognizer_request() -> ::Google::Cloud::Speech::V2::DeleteRecognizerRequest
Returns
- (::Google::Cloud::Speech::V2::DeleteRecognizerRequest) — The DeleteRecognizerRequest that spawned the Operation.
#delete_recognizer_request=
def delete_recognizer_request=(value) -> ::Google::Cloud::Speech::V2::DeleteRecognizerRequest
Parameter
- value (::Google::Cloud::Speech::V2::DeleteRecognizerRequest) — The DeleteRecognizerRequest that spawned the Operation.
Returns
- (::Google::Cloud::Speech::V2::DeleteRecognizerRequest) — The DeleteRecognizerRequest that spawned the Operation.
#kms_key_name
def kms_key_name() -> ::String
Returns
-
(::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_name=
def kms_key_name=(value) -> ::String
Parameter
-
value (::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}
.
Returns
-
(::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
def kms_key_version_name() -> ::String
Returns
-
(::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}
.
#kms_key_version_name=
def kms_key_version_name=(value) -> ::String
Parameter
-
value (::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}
.
Returns
-
(::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}
.
#method
def method() -> ::String
Returns
- (::String) — The method that triggered the operation.
#method=
def method=(value) -> ::String
Parameter
- value (::String) — The method that triggered the operation.
Returns
- (::String) — The method that triggered the operation.
#progress_percent
def progress_percent() -> ::Integer
Returns
- (::Integer) — The percent progress of the Operation. Values can range from 0-100. If the value is 100, then the operation is finished.
#progress_percent=
def progress_percent=(value) -> ::Integer
Parameter
- value (::Integer) — The percent progress of the Operation. Values can range from 0-100. If the value is 100, then the operation is finished.
Returns
- (::Integer) — The percent progress of the Operation. Values can range from 0-100. If the value is 100, then the operation is finished.
#resource
def resource() -> ::String
Returns
- (::String) — The resource path for the target of the operation.
#resource=
def resource=(value) -> ::String
Parameter
- value (::String) — The resource path for the target of the operation.
Returns
- (::String) — The resource path for the target of the operation.
#undelete_custom_class_request
def undelete_custom_class_request() -> ::Google::Cloud::Speech::V2::UndeleteCustomClassRequest
Returns
- (::Google::Cloud::Speech::V2::UndeleteCustomClassRequest) — The UndeleteCustomClassRequest that spawned the Operation.
#undelete_custom_class_request=
def undelete_custom_class_request=(value) -> ::Google::Cloud::Speech::V2::UndeleteCustomClassRequest
Parameter
- value (::Google::Cloud::Speech::V2::UndeleteCustomClassRequest) — The UndeleteCustomClassRequest that spawned the Operation.
Returns
- (::Google::Cloud::Speech::V2::UndeleteCustomClassRequest) — The UndeleteCustomClassRequest that spawned the Operation.
#undelete_phrase_set_request
def undelete_phrase_set_request() -> ::Google::Cloud::Speech::V2::UndeletePhraseSetRequest
Returns
- (::Google::Cloud::Speech::V2::UndeletePhraseSetRequest) — The UndeletePhraseSetRequest that spawned the Operation.
#undelete_phrase_set_request=
def undelete_phrase_set_request=(value) -> ::Google::Cloud::Speech::V2::UndeletePhraseSetRequest
Parameter
- value (::Google::Cloud::Speech::V2::UndeletePhraseSetRequest) — The UndeletePhraseSetRequest that spawned the Operation.
Returns
- (::Google::Cloud::Speech::V2::UndeletePhraseSetRequest) — The UndeletePhraseSetRequest that spawned the Operation.
#undelete_recognizer_request
def undelete_recognizer_request() -> ::Google::Cloud::Speech::V2::UndeleteRecognizerRequest
Returns
- (::Google::Cloud::Speech::V2::UndeleteRecognizerRequest) — The UndeleteRecognizerRequest that spawned the Operation.
#undelete_recognizer_request=
def undelete_recognizer_request=(value) -> ::Google::Cloud::Speech::V2::UndeleteRecognizerRequest
Parameter
- value (::Google::Cloud::Speech::V2::UndeleteRecognizerRequest) — The UndeleteRecognizerRequest that spawned the Operation.
Returns
- (::Google::Cloud::Speech::V2::UndeleteRecognizerRequest) — The UndeleteRecognizerRequest that spawned the Operation.
#update_config_request
def update_config_request() -> ::Google::Cloud::Speech::V2::UpdateConfigRequest
Returns
- (::Google::Cloud::Speech::V2::UpdateConfigRequest) — The UpdateConfigRequest that spawned the Operation.
#update_config_request=
def update_config_request=(value) -> ::Google::Cloud::Speech::V2::UpdateConfigRequest
Parameter
- value (::Google::Cloud::Speech::V2::UpdateConfigRequest) — The UpdateConfigRequest that spawned the Operation.
Returns
- (::Google::Cloud::Speech::V2::UpdateConfigRequest) — The UpdateConfigRequest that spawned the Operation.
#update_custom_class_request
def update_custom_class_request() -> ::Google::Cloud::Speech::V2::UpdateCustomClassRequest
Returns
- (::Google::Cloud::Speech::V2::UpdateCustomClassRequest) — The UpdateCustomClassRequest that spawned the Operation.
#update_custom_class_request=
def update_custom_class_request=(value) -> ::Google::Cloud::Speech::V2::UpdateCustomClassRequest
Parameter
- value (::Google::Cloud::Speech::V2::UpdateCustomClassRequest) — The UpdateCustomClassRequest that spawned the Operation.
Returns
- (::Google::Cloud::Speech::V2::UpdateCustomClassRequest) — The UpdateCustomClassRequest that spawned the Operation.
#update_phrase_set_request
def update_phrase_set_request() -> ::Google::Cloud::Speech::V2::UpdatePhraseSetRequest
Returns
- (::Google::Cloud::Speech::V2::UpdatePhraseSetRequest) — The UpdatePhraseSetRequest that spawned the Operation.
#update_phrase_set_request=
def update_phrase_set_request=(value) -> ::Google::Cloud::Speech::V2::UpdatePhraseSetRequest
Parameter
- value (::Google::Cloud::Speech::V2::UpdatePhraseSetRequest) — The UpdatePhraseSetRequest that spawned the Operation.
Returns
- (::Google::Cloud::Speech::V2::UpdatePhraseSetRequest) — The UpdatePhraseSetRequest that spawned the Operation.
#update_recognizer_request
def update_recognizer_request() -> ::Google::Cloud::Speech::V2::UpdateRecognizerRequest
Returns
- (::Google::Cloud::Speech::V2::UpdateRecognizerRequest) — The UpdateRecognizerRequest that spawned the Operation.
#update_recognizer_request=
def update_recognizer_request=(value) -> ::Google::Cloud::Speech::V2::UpdateRecognizerRequest
Parameter
- value (::Google::Cloud::Speech::V2::UpdateRecognizerRequest) — The UpdateRecognizerRequest that spawned the Operation.
Returns
- (::Google::Cloud::Speech::V2::UpdateRecognizerRequest) — The UpdateRecognizerRequest that spawned the Operation.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time the operation was last updated.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time the operation was last updated.
Returns
- (::Google::Protobuf::Timestamp) — The time the operation was last updated.