Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::UpdateGlossaryMetadata.
Stored in the google.longrunning.Operation.metadata field returned by UpdateGlossary.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#glossary
def glossary() -> ::Google::Cloud::Translate::V3::Glossary
Returns
- (::Google::Cloud::Translate::V3::Glossary) — The updated glossary object.
#glossary=
def glossary=(value) -> ::Google::Cloud::Translate::V3::Glossary
Parameter
- value (::Google::Cloud::Translate::V3::Glossary) — The updated glossary object.
Returns
- (::Google::Cloud::Translate::V3::Glossary) — The updated glossary object.
#state
def state() -> ::Google::Cloud::Translate::V3::UpdateGlossaryMetadata::State
Returns
- (::Google::Cloud::Translate::V3::UpdateGlossaryMetadata::State) — The current state of the glossary update operation. If the glossary input file was not updated this will be completed immediately
#state=
def state=(value) -> ::Google::Cloud::Translate::V3::UpdateGlossaryMetadata::State
Parameter
- value (::Google::Cloud::Translate::V3::UpdateGlossaryMetadata::State) — The current state of the glossary update operation. If the glossary input file was not updated this will be completed immediately
Returns
- (::Google::Cloud::Translate::V3::UpdateGlossaryMetadata::State) — The current state of the glossary update operation. If the glossary input file was not updated this will be completed immediately
#submit_time
def submit_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time when the operation was submitted to the server.
#submit_time=
def submit_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time when the operation was submitted to the server.
Returns
- (::Google::Protobuf::Timestamp) — The time when the operation was submitted to the server.