Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Session
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1Session
- 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
-
#create_time ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#user_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1Session
constructor
A new instance of GoogleCloudDataplexV1Session.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1Session
Returns a new instance of GoogleCloudDataplexV1Session.
7785 7786 7787 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7785 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Session start time.
Corresponds to the JSON property createTime
7766 7767 7768 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7766 def create_time @create_time end |
#name ⇒ String
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
7773 7774 7775 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7773 def name @name end |
#state ⇒ String
Output only. State of Session
Corresponds to the JSON property state
7778 7779 7780 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7778 def state @state end |
#user_id ⇒ String
Output only. Email of user running the session.
Corresponds to the JSON property userId
7783 7784 7785 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7783 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7790 7791 7792 7793 7794 7795 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7790 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 |