Class: Google::Apis::DataprocV1::TerminateSessionRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb

Overview

A request to terminate an interactive session.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TerminateSessionRequest

Returns a new instance of TerminateSessionRequest.



6008
6009
6010
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6008

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#request_idString

Optional. A unique ID used to identify the request. If the service receives two TerminateSessionRequest (https://cloud.google.com/dataproc/docs/reference/ rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.TerminateSessionRequest) s with the same ID, the second request is ignored.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier). The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. Corresponds to the JSON property requestId

Returns:

  • (String)


6006
6007
6008
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6006

def request_id
  @request_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6013
6014
6015
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6013

def update!(**args)
  @request_id = args[:request_id] if args.key?(:request_id)
end