Class: Google::Cloud::Translate::V3::CreateGlossaryMetadata
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::CreateGlossaryMetadata
- 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 CreateGlossary.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#name ⇒ ::String
The name of the glossary that is being created.
-
#state ⇒ ::Google::Cloud::Translate::V3::CreateGlossaryMetadata::State
The current state of the glossary creation operation.
-
#submit_time ⇒ ::Google::Protobuf::Timestamp
The time when the operation was submitted to the server.
Instance Attribute Details
#name ⇒ ::String
1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1199 class CreateGlossaryMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumerates the possible states that the creation request can be in. module State # Invalid. STATE_UNSPECIFIED = 0 # Request is being processed. RUNNING = 1 # The glossary was successfully created. SUCCEEDED = 2 # Failed to create 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 creation request was successfully canceled. CANCELLED = 5 end end |
#state ⇒ ::Google::Cloud::Translate::V3::CreateGlossaryMetadata::State
1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1199 class CreateGlossaryMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumerates the possible states that the creation request can be in. module State # Invalid. STATE_UNSPECIFIED = 0 # Request is being processed. RUNNING = 1 # The glossary was successfully created. SUCCEEDED = 2 # Failed to create 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 creation request was successfully canceled. CANCELLED = 5 end end |
#submit_time ⇒ ::Google::Protobuf::Timestamp
1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1199 class CreateGlossaryMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumerates the possible states that the creation request can be in. module State # Invalid. STATE_UNSPECIFIED = 0 # Request is being processed. RUNNING = 1 # The glossary was successfully created. SUCCEEDED = 2 # Failed to create 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 creation request was successfully canceled. CANCELLED = 5 end end |