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.



781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 781

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:



781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 781

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:



781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 781

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