Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Lake

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

A lake is a centralized repository for managing enterprise data across the organization distributed across many cloud projects, and stored in a variety of storage services such as Google Cloud Storage and BigQuery. The resources attached to a lake are referred to as managed resources. Data within these managed resources can be structured or unstructured. A lake provides data admins with tools to organize, secure and manage their data at scale, and provides data scientists and data engineers an integrated experience to easily search, discover, analyze and transform data and associated metadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1Lake

Returns a new instance of GoogleCloudDataplexV1Lake.



3433
3434
3435
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3433

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

Instance Attribute Details

#asset_statusGoogle::Apis::DataplexV1::GoogleCloudDataplexV1AssetStatus

Aggregated status of the underlying assets of a lake or zone. Corresponds to the JSON property assetStatus



3373
3374
3375
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3373

def asset_status
  @asset_status
end

#create_timeString

Output only. The time when the lake was created. Corresponds to the JSON property createTime

Returns:

  • (String)


3378
3379
3380
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3378

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


3383
3384
3385
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3383

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


3388
3389
3390
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3388

def display_name
  @display_name
end

#labelsHash<String,String>

Optional. User-defined labels for the lake. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


3393
3394
3395
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3393

def labels
  @labels
end

#metastoreGoogle::Apis::DataplexV1::GoogleCloudDataplexV1LakeMetastore

Settings to manage association of Dataproc Metastore with a lake. Corresponds to the JSON property metastore



3398
3399
3400
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3398

def metastore
  @metastore
end

#metastore_statusGoogle::Apis::DataplexV1::GoogleCloudDataplexV1LakeMetastoreStatus

Status of Lake and Dataproc Metastore service instance association. Corresponds to the JSON property metastoreStatus



3403
3404
3405
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3403

def metastore_status
  @metastore_status
end

#nameString

Output only. The relative resource name of the lake, of the form: projects/ project_number/locations/location_id/lakes/lake_id. Corresponds to the JSON property name

Returns:

  • (String)


3409
3410
3411
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3409

def name
  @name
end

#service_accountString

Output only. Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake. Corresponds to the JSON property serviceAccount

Returns:

  • (String)


3415
3416
3417
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3415

def 
  @service_account
end

#stateString

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

Returns:

  • (String)


3420
3421
3422
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3420

def state
  @state
end

#uidString

Output only. System generated globally unique ID for the lake. This ID will be different if the lake is deleted and re-created with the same name. Corresponds to the JSON property uid

Returns:

  • (String)


3426
3427
3428
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3426

def uid
  @uid
end

#update_timeString

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

Returns:

  • (String)


3431
3432
3433
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3431

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3438

def update!(**args)
  @asset_status = args[:asset_status] if args.key?(:asset_status)
  @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)
  @labels = args[:labels] if args.key?(:labels)
  @metastore = args[:metastore] if args.key?(:metastore)
  @metastore_status = args[:metastore_status] if args.key?(:metastore_status)
  @name = args[:name] if args.key?(:name)
  @service_account = args[:service_account] if args.key?(:service_account)
  @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