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.



1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1046

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:



1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1046

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:



1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1046

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