Google Cloud Dataplex V1 Client - Class ResourceSpec (0.4.0)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class ResourceSpec.

Identifies the cloud resource that is referenced by this asset.

Generated from protobuf message google.cloud.dataplex.v1.Asset.ResourceSpec

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Immutable. Relative name of the cloud resource that contains the data that is being managed within a lake. For example: projects/{project_number}/buckets/{bucket_id} projects/{project_number}/datasets/{dataset_id}

↳ type int

Required. Immutable. Type of resource.

↳ read_access_mode int

Optional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets.

getName

Immutable. Relative name of the cloud resource that contains the data that is being managed within a lake. For example: projects/{project_number}/buckets/{bucket_id} projects/{project_number}/datasets/{dataset_id}

Returns
TypeDescription
string

setName

Immutable. Relative name of the cloud resource that contains the data that is being managed within a lake. For example: projects/{project_number}/buckets/{bucket_id} projects/{project_number}/datasets/{dataset_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

Required. Immutable. Type of resource.

Returns
TypeDescription
int

setType

Required. Immutable. Type of resource.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getReadAccessMode

Optional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets.

Returns
TypeDescription
int

setReadAccessMode

Optional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets.

Parameter
NameDescription
var int
Returns
TypeDescription
$this