Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1SessionEvent

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#messageString

The log message. Corresponds to the JSON property message

Returns:

  • (String)


2380
2381
2382
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2380

def message
  @message
end

#queryGoogle::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_idString

Unique identifier for the session. Corresponds to the JSON property sessionId

Returns:

  • (String)


2390
2391
2392
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2390

def session_id
  @session_id
end

#typeString

The type of the event. Corresponds to the JSON property type

Returns:

  • (String)


2395
2396
2397
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2395

def type
  @type
end

#user_idString

The information about the user that created the session. Corresponds to the JSON property userId

Returns:

  • (String)


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