Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Environment
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1Environment
- 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
Environment represents a user-visible compute infrastructure for analytics within a lake.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#endpoints ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentEndpoints
URI Endpoints to access sessions associated with the Environment.
-
#infrastructure_spec ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentInfrastructureSpec
Configuration for the underlying infrastructure used to run workloads.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Output only.
-
#session_spec ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentSessionSpec
Configuration for sessions created for this environment.
-
#session_status ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentSessionStatus
Status of sessions created for this environment.
-
#state ⇒ String
Output only.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1Environment
constructor
A new instance of GoogleCloudDataplexV1Environment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1Environment
Returns a new instance of GoogleCloudDataplexV1Environment.
5168 5169 5170 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5168 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Environment creation time.
Corresponds to the JSON property createTime
5107 5108 5109 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5107 def create_time @create_time end |
#description ⇒ String
Optional. Description of the environment.
Corresponds to the JSON property description
5112 5113 5114 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5112 def description @description end |
#display_name ⇒ String
Optional. User friendly display name.
Corresponds to the JSON property displayName
5117 5118 5119 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5117 def display_name @display_name end |
#endpoints ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentEndpoints
URI Endpoints to access sessions associated with the Environment.
Corresponds to the JSON property endpoints
5122 5123 5124 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5122 def endpoints @endpoints end |
#infrastructure_spec ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentInfrastructureSpec
Configuration for the underlying infrastructure used to run workloads.
Corresponds to the JSON property infrastructureSpec
5127 5128 5129 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5127 def infrastructure_spec @infrastructure_spec end |
#labels ⇒ Hash<String,String>
Optional. User defined labels for the environment.
Corresponds to the JSON property labels
5132 5133 5134 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5132 def labels @labels end |
#name ⇒ String
Output only. The relative resource name of the environment, of the form:
projects/project_id/locations/location_id/lakes/lake_id/environment/
environment_id
Corresponds to the JSON property name
5139 5140 5141 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5139 def name @name end |
#session_spec ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentSessionSpec
Configuration for sessions created for this environment.
Corresponds to the JSON property sessionSpec
5144 5145 5146 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5144 def session_spec @session_spec end |
#session_status ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentSessionStatus
Status of sessions created for this environment.
Corresponds to the JSON property sessionStatus
5149 5150 5151 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5149 def session_status @session_status end |
#state ⇒ String
Output only. Current state of the environment.
Corresponds to the JSON property state
5154 5155 5156 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5154 def state @state end |
#uid ⇒ String
Output only. System generated globally unique ID for the environment. This ID
will be different if the environment is deleted and re-created with the same
name.
Corresponds to the JSON property uid
5161 5162 5163 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5161 def uid @uid end |
#update_time ⇒ String
Output only. The time when the environment was last updated.
Corresponds to the JSON property updateTime
5166 5167 5168 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5166 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5173 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @endpoints = args[:endpoints] if args.key?(:endpoints) @infrastructure_spec = args[:infrastructure_spec] if args.key?(:infrastructure_spec) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @session_spec = args[:session_spec] if args.key?(:session_spec) @session_status = args[:session_status] if args.key?(:session_status) @state = args[:state] if args.key?(:state) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) end |