Class: Google::Cloud::Dataproc::V1::TerminateSessionRequest

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

Overview

A request to terminate an interactive session.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Required. The name of the session resource to terminate.

Returns:

  • (::String)

    Required. The name of the session resource to terminate.



128
129
130
131
# File 'proto_docs/google/cloud/dataproc/v1/sessions.rb', line 128

class TerminateSessionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#request_id::String

Returns Optional. A unique ID used to identify the request. If the service receives two TerminateSessionRequests with the same ID, the second request is ignored.

Recommendation: Set this value to a UUID.

The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Returns:

  • (::String)

    Optional. A unique ID used to identify the request. If the service receives two TerminateSessionRequests with the same ID, the second request is ignored.

    Recommendation: Set this value to a UUID.

    The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.



128
129
130
131
# File 'proto_docs/google/cloud/dataproc/v1/sessions.rb', line 128

class TerminateSessionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end