Class: Google::Cloud::Translate::V3::UpdateGlossaryMetadata
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::UpdateGlossaryMetadata
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/translate/v3/translation_service.rb
Overview
Stored in the google.longrunning.Operation.metadata field returned by UpdateGlossary.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#glossary ⇒ ::Google::Cloud::Translate::V3::Glossary
The updated glossary object.
-
#state ⇒ ::Google::Cloud::Translate::V3::UpdateGlossaryMetadata::State
The current state of the glossary update operation.
-
#submit_time ⇒ ::Google::Protobuf::Timestamp
The time when the operation was submitted to the server.
Instance Attribute Details
#glossary ⇒ ::Google::Cloud::Translate::V3::Glossary
Returns The updated glossary object.
1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1239 class UpdateGlossaryMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumerates the possible states that the update request can be in. module State # Invalid. STATE_UNSPECIFIED = 0 # Request is being processed. RUNNING = 1 # The glossary was successfully updated. SUCCEEDED = 2 # Failed to update the glossary. FAILED = 3 # Request is in the process of being canceled after caller invoked # longrunning.Operations.CancelOperation on the request id. CANCELLING = 4 # The glossary update request was successfully canceled. CANCELLED = 5 end end |
#state ⇒ ::Google::Cloud::Translate::V3::UpdateGlossaryMetadata::State
Returns The current state of the glossary update operation. If the glossary input file was not updated this will be completed immediately.
1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1239 class UpdateGlossaryMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumerates the possible states that the update request can be in. module State # Invalid. STATE_UNSPECIFIED = 0 # Request is being processed. RUNNING = 1 # The glossary was successfully updated. SUCCEEDED = 2 # Failed to update the glossary. FAILED = 3 # Request is in the process of being canceled after caller invoked # longrunning.Operations.CancelOperation on the request id. CANCELLING = 4 # The glossary update request was successfully canceled. CANCELLED = 5 end end |
#submit_time ⇒ ::Google::Protobuf::Timestamp
Returns The time when the operation was submitted to the server.
1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1239 class UpdateGlossaryMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumerates the possible states that the update request can be in. module State # Invalid. STATE_UNSPECIFIED = 0 # Request is being processed. RUNNING = 1 # The glossary was successfully updated. SUCCEEDED = 2 # Failed to update the glossary. FAILED = 3 # Request is in the process of being canceled after caller invoked # longrunning.Operations.CancelOperation on the request id. CANCELLING = 4 # The glossary update request was successfully canceled. CANCELLED = 5 end end |