Class: Google::Cloud::Translate::V3::CreateGlossaryMetadata

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 CreateGlossary.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns The name of the glossary that is being created.

Returns:

  • (::String)

    The name of the glossary that is being created.



1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1180

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

Returns The current state of the glossary creation operation.

Returns:



1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1180

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

Returns The time when the operation was submitted to the server.

Returns:



1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1180

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