# Dataplex V1 API - Class Google::Cloud::Dataplex::V1::Lake (v2.10.0)

2.10.0 (latest) 2.9.0 2.8.1 2.7.0 2.6.1 2.5.0 2.4.1 2.3.1 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.23.0 0.22.0 0.21.1 0.20.0 0.19.0 0.18.2 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.1 0.9.0 0.8.0 0.7.0 0.6.1 0.5.1 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::Lake.

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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #asset_status

    def asset_status() -> ::Google::Cloud::Dataplex::V1::AssetStatus

**Returns**

- ([::Google::Cloud::Dataplex::V1::AssetStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-AssetStatus)) --- Output only. Aggregated status of the underlying assets of the lake.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the lake was created.

### #description

    def description() -> ::String

**Returns**

- (::String) --- Optional. Description of the lake.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Description of the lake.
**Returns**

- (::String) --- Optional. Description of the lake.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Optional. User friendly display name.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. User friendly display name.
**Returns**

- (::String) --- Optional. User friendly display name.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. User-defined labels for the lake.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. User-defined labels for the lake.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. User-defined labels for the lake.

### #metastore

    def metastore() -> ::Google::Cloud::Dataplex::V1::Lake::Metastore

**Returns**

- ([::Google::Cloud::Dataplex::V1::Lake::Metastore](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-Lake-Metastore)) --- Optional. Settings to manage lake and Dataproc Metastore service instance association.

### #metastore=

    def metastore=(value) -> ::Google::Cloud::Dataplex::V1::Lake::Metastore

**Parameter**

- **value** ([::Google::Cloud::Dataplex::V1::Lake::Metastore](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-Lake-Metastore)) --- Optional. Settings to manage lake and Dataproc Metastore service instance association.
**Returns**

- ([::Google::Cloud::Dataplex::V1::Lake::Metastore](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-Lake-Metastore)) --- Optional. Settings to manage lake and Dataproc Metastore service instance association.

### #metastore_status

    def metastore_status() -> ::Google::Cloud::Dataplex::V1::Lake::MetastoreStatus

**Returns**

- ([::Google::Cloud::Dataplex::V1::Lake::MetastoreStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-Lake-MetastoreStatus)) --- Output only. Metastore status of the lake.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. The relative resource name of the lake, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.

### #service_account

    def service_account() -> ::String

**Returns**

- (::String) --- Output only. Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake.

### #state

    def state() -> ::Google::Cloud::Dataplex::V1::State

**Returns**

- ([::Google::Cloud::Dataplex::V1::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-State)) --- Output only. Current state of the lake.

### #uid

    def uid() -> ::String

**Returns**

- (::String) --- 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.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the lake was last updated.