Class: Google::Cloud::Translate::V3::DeleteGlossaryMetadata
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::DeleteGlossaryMetadata
- 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 DeleteGlossary.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#name ⇒ ::String
The name of the glossary that is being deleted.
-
#state ⇒ ::Google::Cloud::Translate::V3::DeleteGlossaryMetadata::State
The current state of the glossary deletion operation.
-
#submit_time ⇒ ::Google::Protobuf::Timestamp
The time when the operation was submitted to the server.
Instance Attribute Details
#name ⇒ ::String
Returns The name of the glossary that is being deleted.
1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1259 class DeleteGlossaryMetadata 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 deleted. SUCCEEDED = 2 # Failed to delete 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 deletion request was successfully canceled. CANCELLED = 5 end end |
#state ⇒ ::Google::Cloud::Translate::V3::DeleteGlossaryMetadata::State
Returns The current state of the glossary deletion operation.
1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1259 class DeleteGlossaryMetadata 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 deleted. SUCCEEDED = 2 # Failed to delete 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 deletion request was successfully canceled. CANCELLED = 5 end end |
#submit_time ⇒ ::Google::Protobuf::Timestamp
Returns The time when the operation was submitted to the server.
1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1259 class DeleteGlossaryMetadata 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 deleted. SUCCEEDED = 2 # Failed to delete 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 deletion request was successfully canceled. CANCELLED = 5 end end |