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.
2402 2403 2404 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2402 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
The log message.
Corresponds to the JSON property message
2380 2381 2382 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2380 def @message end |
#query ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1SessionEventQueryDetail
Execution details of the query.
Corresponds to the JSON property query
2385 2386 2387 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2385 def query @query end |
#session_id ⇒ String
Unique identifier for the session.
Corresponds to the JSON property sessionId
2390 2391 2392 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2390 def session_id @session_id end |
#type ⇒ String
The type of the event.
Corresponds to the JSON property type
2395 2396 2397 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2395 def type @type end |
#user_id ⇒ String
The information about the user that created the session.
Corresponds to the JSON property userId
2400 2401 2402 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2400 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2407 2408 2409 2410 2411 2412 2413 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2407 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 |