Class: Google::Cloud::Translate::V3::UpdateGlossaryMetadata

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#glossary::Google::Cloud::Translate::V3::Glossary

Returns The updated glossary object.

Returns:



1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1220

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.

Returns:



1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1220

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.

Returns:



1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1220

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