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.



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

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#messageString

The log message. Corresponds to the JSON property message

Returns:

  • (String)


2374
2375
2376
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2374

def message
  @message
end

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

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

Returns:

  • (String)


2384
2385
2386
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2384

def session_id
  @session_id
end

#typeString

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

Returns:

  • (String)


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

def type
  @type
end

#user_idString

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

Returns:

  • (String)


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