Class: Google::Apis::DataprocV1::SparkConnectSessionInfo
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::SparkConnectSessionInfo
- 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
Represents session-level information for Spark Connect
Instance Attribute Summary collapse
-
#finish_timestamp ⇒ Fixnum
Timestamp when the session finished.
-
#session_id ⇒ String
Required.
-
#start_timestamp ⇒ Fixnum
Timestamp when the session started.
-
#total_execution ⇒ Fixnum
Optional.
-
#user_id ⇒ String
User ID of the user who started the session.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SparkConnectSessionInfo
constructor
A new instance of SparkConnectSessionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SparkConnectSessionInfo
Returns a new instance of SparkConnectSessionInfo.
8921 8922 8923 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8921 def initialize(**args) update!(**args) end |
Instance Attribute Details
#finish_timestamp ⇒ Fixnum
Timestamp when the session finished.
Corresponds to the JSON property finishTimestamp
8899 8900 8901 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8899 def @finish_timestamp end |
#session_id ⇒ String
Required. Session ID of the session.
Corresponds to the JSON property sessionId
8904 8905 8906 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8904 def session_id @session_id end |
#start_timestamp ⇒ Fixnum
Timestamp when the session started.
Corresponds to the JSON property startTimestamp
8909 8910 8911 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8909 def @start_timestamp end |
#total_execution ⇒ Fixnum
Optional. Total number of executions in the session.
Corresponds to the JSON property totalExecution
8914 8915 8916 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8914 def total_execution @total_execution end |
#user_id ⇒ String
User ID of the user who started the session.
Corresponds to the JSON property userId
8919 8920 8921 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8919 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8926 8927 8928 8929 8930 8931 8932 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8926 def update!(**args) @finish_timestamp = args[:finish_timestamp] if args.key?(:finish_timestamp) @session_id = args[:session_id] if args.key?(:session_id) @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp) @total_execution = args[:total_execution] if args.key?(:total_execution) @user_id = args[:user_id] if args.key?(:user_id) end |