Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Session

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

Represents an active analyze session running for a user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1Session

Returns a new instance of GoogleCloudDataplexV1Session.



6499
6500
6501
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6499

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

Instance Attribute Details

#create_timeString

Output only. Session start time. Corresponds to the JSON property createTime

Returns:

  • (String)


6480
6481
6482
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6480

def create_time
  @create_time
end

#nameString

Output only. The relative resource name of the content, of the form: projects/ project_id/locations/location_id/lakes/lake_id/environment/ environment_id/sessions/session_id Corresponds to the JSON property name

Returns:

  • (String)


6487
6488
6489
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6487

def name
  @name
end

#stateString

Output only. State of Session Corresponds to the JSON property state

Returns:

  • (String)


6492
6493
6494
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6492

def state
  @state
end

#user_idString

Output only. Email of user running the session. Corresponds to the JSON property userId

Returns:

  • (String)


6497
6498
6499
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6497

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6504
6505
6506
6507
6508
6509
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6504

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @user_id = args[:user_id] if args.key?(:user_id)
end