Google Cloud Dataplex V1 Client - Class Lake (0.1.6)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class 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.

Generated from protobuf message google.cloud.dataplex.v1.Lake

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

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

↳ display_name string

Optional. User friendly display name.

↳ uid 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.

↳ create_time Google\Protobuf\Timestamp

Output only. The time when the lake was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The time when the lake was last updated.

↳ labels array|Google\Protobuf\Internal\MapField

Optional. User-defined labels for the lake.

↳ description string

Optional. Description of the lake.

↳ state int

Output only. Current state of the lake.

↳ service_account 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.

↳ metastore Google\Cloud\Dataplex\V1\Lake\Metastore

Optional. Settings to manage lake and Dataproc Metastore service instance association.

↳ asset_status Google\Cloud\Dataplex\V1\AssetStatus

Output only. Aggregated status of the underlying assets of the lake.

↳ metastore_status Google\Cloud\Dataplex\V1\Lake\MetastoreStatus

Output only. Metastore status of the lake.

getName

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

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setName

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

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Optional. User friendly display name.

Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setDisplayName

Optional. User friendly display name.

Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUid

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.

Generated from protobuf field string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
string

setUid

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.

Generated from protobuf field string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The time when the lake was created.

Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the lake was created.

Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The time when the lake was last updated.

Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time when the lake was last updated.

Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLabels

Optional. User-defined labels for the lake.

Generated from protobuf field map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Optional. User-defined labels for the lake.

Generated from protobuf field map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getDescription

Optional. Description of the lake.

Generated from protobuf field string description = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setDescription

Optional. Description of the lake.

Generated from protobuf field string description = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

Output only. Current state of the lake.

Generated from protobuf field .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

setState

Output only. Current state of the lake.

Generated from protobuf field .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getServiceAccount

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

Generated from protobuf field string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
string

setServiceAccount

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

Generated from protobuf field string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMetastore

Optional. Settings to manage lake and Dataproc Metastore service instance association.

Generated from protobuf field .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Google\Cloud\Dataplex\V1\Lake\Metastore|null

hasMetastore

clearMetastore

setMetastore

Optional. Settings to manage lake and Dataproc Metastore service instance association.

Generated from protobuf field .google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\Lake\Metastore
Returns
TypeDescription
$this

getAssetStatus

Output only. Aggregated status of the underlying assets of the lake.

Generated from protobuf field .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Google\Cloud\Dataplex\V1\AssetStatus|null

hasAssetStatus

clearAssetStatus

setAssetStatus

Output only. Aggregated status of the underlying assets of the lake.

Generated from protobuf field .google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\AssetStatus
Returns
TypeDescription
$this

getMetastoreStatus

Output only. Metastore status of the lake.

Generated from protobuf field .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Google\Cloud\Dataplex\V1\Lake\MetastoreStatus|null

hasMetastoreStatus

clearMetastoreStatus

setMetastoreStatus

Output only. Metastore status of the lake.

Generated from protobuf field .google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\Lake\MetastoreStatus
Returns
TypeDescription
$this