Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1SessionEvent
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1SessionEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
These messages contain information about sessions within an environment. The monitored resource is 'Environment'.
Instance Attribute Summary collapse
-
#event_succeeded ⇒ Boolean
(also: #event_succeeded?)
The status of the event.
-
#message ⇒ String
The log message.
-
#query ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1SessionEventQueryDetail
Execution details of the query.
-
#session_id ⇒ String
Unique identifier for the session.
-
#type ⇒ String
The type of the event.
-
#unassigned_duration ⇒ String
The idle duration of a warm pooled session before it is assigned to user.
-
#user_id ⇒ String
The information about the user that created the session.
-
#warm_pool_enabled ⇒ Boolean
(also: #warm_pool_enabled?)
If the session is a warm pooled session.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1SessionEvent
constructor
A new instance of GoogleCloudDataplexV1SessionEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1SessionEvent
Returns a new instance of GoogleCloudDataplexV1SessionEvent.
2420 2421 2422 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2420 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_succeeded ⇒ Boolean Also known as: event_succeeded?
The status of the event.
Corresponds to the JSON property eventSucceeded
2380 2381 2382 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2380 def event_succeeded @event_succeeded end |
#message ⇒ String
The log message.
Corresponds to the JSON property message
2386 2387 2388 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2386 def @message end |
#query ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1SessionEventQueryDetail
Execution details of the query.
Corresponds to the JSON property query
2391 2392 2393 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2391 def query @query end |
#session_id ⇒ String
Unique identifier for the session.
Corresponds to the JSON property sessionId
2396 2397 2398 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2396 def session_id @session_id end |
#type ⇒ String
The type of the event.
Corresponds to the JSON property type
2401 2402 2403 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2401 def type @type end |
#unassigned_duration ⇒ String
The idle duration of a warm pooled session before it is assigned to user.
Corresponds to the JSON property unassignedDuration
2406 2407 2408 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2406 def unassigned_duration @unassigned_duration end |
#user_id ⇒ String
The information about the user that created the session. It will be the email
address of the user.
Corresponds to the JSON property userId
2412 2413 2414 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2412 def user_id @user_id end |
#warm_pool_enabled ⇒ Boolean Also known as: warm_pool_enabled?
If the session is a warm pooled session.
Corresponds to the JSON property warmPoolEnabled
2417 2418 2419 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2417 def warm_pool_enabled @warm_pool_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2425 def update!(**args) @event_succeeded = args[:event_succeeded] if args.key?(:event_succeeded) @message = args[:message] if args.key?(:message) @query = args[:query] if args.key?(:query) @session_id = args[:session_id] if args.key?(:session_id) @type = args[:type] if args.key?(:type) @unassigned_duration = args[:unassigned_duration] if args.key?(:unassigned_duration) @user_id = args[:user_id] if args.key?(:user_id) @warm_pool_enabled = args[:warm_pool_enabled] if args.key?(:warm_pool_enabled) end |