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.
-
#fast_startup_enabled ⇒ Boolean
(also: #fast_startup_enabled?)
If the session is associated with an environment with fast startup enabled, and was created before being assigned to a user.
-
#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.
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.
6990 6991 6992 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6990 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
6949 6950 6951 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6949 def event_succeeded @event_succeeded end |
#fast_startup_enabled ⇒ Boolean Also known as: fast_startup_enabled?
If the session is associated with an environment with fast startup enabled,
and was created before being assigned to a user.
Corresponds to the JSON property fastStartupEnabled
6956 6957 6958 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6956 def fast_startup_enabled @fast_startup_enabled end |
#message ⇒ String
The log message.
Corresponds to the JSON property message
6962 6963 6964 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6962 def @message end |
#query ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1SessionEventQueryDetail
Execution details of the query.
Corresponds to the JSON property query
6967 6968 6969 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6967 def query @query end |
#session_id ⇒ String
Unique identifier for the session.
Corresponds to the JSON property sessionId
6972 6973 6974 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6972 def session_id @session_id end |
#type ⇒ String
The type of the event.
Corresponds to the JSON property type
6977 6978 6979 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6977 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
6982 6983 6984 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6982 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
6988 6989 6990 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6988 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6995 def update!(**args) @event_succeeded = args[:event_succeeded] if args.key?(:event_succeeded) @fast_startup_enabled = args[:fast_startup_enabled] if args.key?(:fast_startup_enabled) @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) end |