Class: Google::Cloud::Translate::V3::DeleteGlossaryMetadata

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

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns The name of the glossary that is being deleted.

Returns:

  • (::String)

    The name of the glossary that is being deleted.



1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1085

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.

Returns:



1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1085

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.

Returns:



1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1085

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