Class: Google::Cloud::Dataproc::V1::SessionOperationMetadata

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataproc/v1/operations.rb

Overview

Metadata describing the Session operation.

Defined Under Namespace

Modules: SessionOperationType Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp

Returns The time when the operation was created.

Returns:



97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'proto_docs/google/cloud/dataproc/v1/operations.rb', line 97

class SessionOperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Operation type for Session resources
  module SessionOperationType
    # Session operation type is unknown.
    SESSION_OPERATION_TYPE_UNSPECIFIED = 0

    # Create Session operation type.
    CREATE = 1

    # Terminate Session operation type.
    TERMINATE = 2

    # Delete Session operation type.
    DELETE = 3
  end
end

#description::String

Returns Short description of the operation.

Returns:

  • (::String)

    Short description of the operation.



97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'proto_docs/google/cloud/dataproc/v1/operations.rb', line 97

class SessionOperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Operation type for Session resources
  module SessionOperationType
    # Session operation type is unknown.
    SESSION_OPERATION_TYPE_UNSPECIFIED = 0

    # Create Session operation type.
    CREATE = 1

    # Terminate Session operation type.
    TERMINATE = 2

    # Delete Session operation type.
    DELETE = 3
  end
end

#done_time::Google::Protobuf::Timestamp

Returns The time when the operation was finished.

Returns:



97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'proto_docs/google/cloud/dataproc/v1/operations.rb', line 97

class SessionOperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Operation type for Session resources
  module SessionOperationType
    # Session operation type is unknown.
    SESSION_OPERATION_TYPE_UNSPECIFIED = 0

    # Create Session operation type.
    CREATE = 1

    # Terminate Session operation type.
    TERMINATE = 2

    # Delete Session operation type.
    DELETE = 3
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Labels associated with the operation.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Labels associated with the operation.



97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'proto_docs/google/cloud/dataproc/v1/operations.rb', line 97

class SessionOperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Operation type for Session resources
  module SessionOperationType
    # Session operation type is unknown.
    SESSION_OPERATION_TYPE_UNSPECIFIED = 0

    # Create Session operation type.
    CREATE = 1

    # Terminate Session operation type.
    TERMINATE = 2

    # Delete Session operation type.
    DELETE = 3
  end
end

#operation_type::Google::Cloud::Dataproc::V1::SessionOperationMetadata::SessionOperationType

Returns The operation type.



97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'proto_docs/google/cloud/dataproc/v1/operations.rb', line 97

class SessionOperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Operation type for Session resources
  module SessionOperationType
    # Session operation type is unknown.
    SESSION_OPERATION_TYPE_UNSPECIFIED = 0

    # Create Session operation type.
    CREATE = 1

    # Terminate Session operation type.
    TERMINATE = 2

    # Delete Session operation type.
    DELETE = 3
  end
end

#session::String

Returns Name of the session for the operation.

Returns:

  • (::String)

    Name of the session for the operation.



97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'proto_docs/google/cloud/dataproc/v1/operations.rb', line 97

class SessionOperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Operation type for Session resources
  module SessionOperationType
    # Session operation type is unknown.
    SESSION_OPERATION_TYPE_UNSPECIFIED = 0

    # Create Session operation type.
    CREATE = 1

    # Terminate Session operation type.
    TERMINATE = 2

    # Delete Session operation type.
    DELETE = 3
  end
end

#session_uuid::String

Returns Session UUID for the operation.

Returns:

  • (::String)

    Session UUID for the operation.



97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'proto_docs/google/cloud/dataproc/v1/operations.rb', line 97

class SessionOperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Operation type for Session resources
  module SessionOperationType
    # Session operation type is unknown.
    SESSION_OPERATION_TYPE_UNSPECIFIED = 0

    # Create Session operation type.
    CREATE = 1

    # Terminate Session operation type.
    TERMINATE = 2

    # Delete Session operation type.
    DELETE = 3
  end
end

#warnings::Array<::String>

Returns Warnings encountered during operation execution.

Returns:

  • (::Array<::String>)

    Warnings encountered during operation execution.



97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'proto_docs/google/cloud/dataproc/v1/operations.rb', line 97

class SessionOperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Operation type for Session resources
  module SessionOperationType
    # Session operation type is unknown.
    SESSION_OPERATION_TYPE_UNSPECIFIED = 0

    # Create Session operation type.
    CREATE = 1

    # Terminate Session operation type.
    TERMINATE = 2

    # Delete Session operation type.
    DELETE = 3
  end
end