Cloud Speech-to-Text V2 API - Class Google::Cloud::Speech::V2::OperationMetadata (v0.1.0)

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

#batch_recognize_metadata=

def batch_recognize_metadata=(value) -> ::Google::Cloud::Speech::V2::BatchRecognizeMetadata
Parameter
Returns

#batch_recognize_request

def batch_recognize_request() -> ::Google::Cloud::Speech::V2::BatchRecognizeRequest
Returns

#batch_recognize_request=

def batch_recognize_request=(value) -> ::Google::Cloud::Speech::V2::BatchRecognizeRequest
Parameter
Returns

#create_custom_class_request

def create_custom_class_request() -> ::Google::Cloud::Speech::V2::CreateCustomClassRequest
Returns

#create_custom_class_request=

def create_custom_class_request=(value) -> ::Google::Cloud::Speech::V2::CreateCustomClassRequest
Parameter
Returns

#create_phrase_set_request

def create_phrase_set_request() -> ::Google::Cloud::Speech::V2::CreatePhraseSetRequest
Returns

#create_phrase_set_request=

def create_phrase_set_request=(value) -> ::Google::Cloud::Speech::V2::CreatePhraseSetRequest
Parameter
Returns

#create_recognizer_request

def create_recognizer_request() -> ::Google::Cloud::Speech::V2::CreateRecognizerRequest
Returns

#create_recognizer_request=

def create_recognizer_request=(value) -> ::Google::Cloud::Speech::V2::CreateRecognizerRequest
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#delete_custom_class_request

def delete_custom_class_request() -> ::Google::Cloud::Speech::V2::DeleteCustomClassRequest
Returns

#delete_custom_class_request=

def delete_custom_class_request=(value) -> ::Google::Cloud::Speech::V2::DeleteCustomClassRequest
Parameter
Returns

#delete_phrase_set_request

def delete_phrase_set_request() -> ::Google::Cloud::Speech::V2::DeletePhraseSetRequest
Returns

#delete_phrase_set_request=

def delete_phrase_set_request=(value) -> ::Google::Cloud::Speech::V2::DeletePhraseSetRequest
Parameter
Returns

#delete_recognizer_request

def delete_recognizer_request() -> ::Google::Cloud::Speech::V2::DeleteRecognizerRequest
Returns

#delete_recognizer_request=

def delete_recognizer_request=(value) -> ::Google::Cloud::Speech::V2::DeleteRecognizerRequest
Parameter
Returns

#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

#undelete_custom_class_request=

def undelete_custom_class_request=(value) -> ::Google::Cloud::Speech::V2::UndeleteCustomClassRequest
Parameter
Returns

#undelete_phrase_set_request

def undelete_phrase_set_request() -> ::Google::Cloud::Speech::V2::UndeletePhraseSetRequest
Returns

#undelete_phrase_set_request=

def undelete_phrase_set_request=(value) -> ::Google::Cloud::Speech::V2::UndeletePhraseSetRequest
Parameter
Returns

#undelete_recognizer_request

def undelete_recognizer_request() -> ::Google::Cloud::Speech::V2::UndeleteRecognizerRequest
Returns

#undelete_recognizer_request=

def undelete_recognizer_request=(value) -> ::Google::Cloud::Speech::V2::UndeleteRecognizerRequest
Parameter
Returns

#update_config_request

def update_config_request() -> ::Google::Cloud::Speech::V2::UpdateConfigRequest
Returns

#update_config_request=

def update_config_request=(value) -> ::Google::Cloud::Speech::V2::UpdateConfigRequest
Parameter
Returns

#update_custom_class_request

def update_custom_class_request() -> ::Google::Cloud::Speech::V2::UpdateCustomClassRequest
Returns

#update_custom_class_request=

def update_custom_class_request=(value) -> ::Google::Cloud::Speech::V2::UpdateCustomClassRequest
Parameter
Returns

#update_phrase_set_request

def update_phrase_set_request() -> ::Google::Cloud::Speech::V2::UpdatePhraseSetRequest
Returns

#update_phrase_set_request=

def update_phrase_set_request=(value) -> ::Google::Cloud::Speech::V2::UpdatePhraseSetRequest
Parameter
Returns

#update_recognizer_request

def update_recognizer_request() -> ::Google::Cloud::Speech::V2::UpdateRecognizerRequest
Returns

#update_recognizer_request=

def update_recognizer_request=(value) -> ::Google::Cloud::Speech::V2::UpdateRecognizerRequest
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#update_time=

def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns