Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Environment

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

Environment represents a user-visible compute infrastructure for analytics within a lake.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1Environment

Returns a new instance of GoogleCloudDataplexV1Environment.



4439
4440
4441
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4439

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

Instance Attribute Details

#create_timeString

Output only. Environment creation time. Corresponds to the JSON property createTime

Returns:

  • (String)


4378
4379
4380
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4378

def create_time
  @create_time
end

#descriptionString

Optional. Description of the environment. Corresponds to the JSON property description

Returns:

  • (String)


4383
4384
4385
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4383

def description
  @description
end

#display_nameString

Optional. User friendly display name. Corresponds to the JSON property displayName

Returns:

  • (String)


4388
4389
4390
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4388

def display_name
  @display_name
end

#endpointsGoogle::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentEndpoints

URI Endpoints to access sessions associated with the Environment. Corresponds to the JSON property endpoints



4393
4394
4395
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4393

def endpoints
  @endpoints
end

#infrastructure_specGoogle::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentInfrastructureSpec

Configuration for the underlying infrastructure used to run workloads. Corresponds to the JSON property infrastructureSpec



4398
4399
4400
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4398

def infrastructure_spec
  @infrastructure_spec
end

#labelsHash<String,String>

Optional. User defined labels for the environment. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


4403
4404
4405
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4403

def labels
  @labels
end

#nameString

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

Returns:

  • (String)


4410
4411
4412
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4410

def name
  @name
end

#session_specGoogle::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentSessionSpec

Configuration for sessions created for this environment. Corresponds to the JSON property sessionSpec



4415
4416
4417
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4415

def session_spec
  @session_spec
end

#session_statusGoogle::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentSessionStatus

Status of sessions created for this environment. Corresponds to the JSON property sessionStatus



4420
4421
4422
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4420

def session_status
  @session_status
end

#stateString

Output only. Current state of the environment. Corresponds to the JSON property state

Returns:

  • (String)


4425
4426
4427
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4425

def state
  @state
end

#uidString

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

Returns:

  • (String)


4432
4433
4434
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4432

def uid
  @uid
end

#update_timeString

Output only. The time when the environment was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


4437
4438
4439
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4437

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4444

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