Class: Google::Apis::BigqueryV2::SessionInfo

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

Overview

[Preview] Information related to sessions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SessionInfo

Returns a new instance of SessionInfo.



8595
8596
8597
# File 'lib/google/apis/bigquery_v2/classes.rb', line 8595

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

Instance Attribute Details

#session_idString

Output only. The id of the session. Corresponds to the JSON property sessionId

Returns:

  • (String)


8593
8594
8595
# File 'lib/google/apis/bigquery_v2/classes.rb', line 8593

def session_id
  @session_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8600
8601
8602
# File 'lib/google/apis/bigquery_v2/classes.rb', line 8600

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