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
-
#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.
-
#user_id ⇒ String
The information about the user that created the 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.
2396 2397 2398 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2396 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
The log message.
Corresponds to the JSON property message
2374 2375 2376 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2374 def @message end |
#query ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1SessionEventQueryDetail
Execution details of the query.
Corresponds to the JSON property query
2379 2380 2381 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2379 def query @query end |
#session_id ⇒ String
Unique identifier for the session.
Corresponds to the JSON property sessionId
2384 2385 2386 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2384 def session_id @session_id end |
#type ⇒ String
The type of the event.
Corresponds to the JSON property type
2389 2390 2391 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2389 def type @type end |
#user_id ⇒ String
The information about the user that created the session.
Corresponds to the JSON property userId
2394 2395 2396 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2394 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2401 2402 2403 2404 2405 2406 2407 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2401 def update!(**args) @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) @user_id = args[:user_id] if args.key?(:user_id) end |