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
Namespace
Google \ Cloud \ Dataplex \ V1 \ AssetMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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: |
↳ 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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getType
Required. Immutable. Type of resource.
Returns | |
---|---|
Type | Description |
int |
setType
Required. Immutable. Type of resource.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getReadAccessMode
Optional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets.
Returns | |
---|---|
Type | Description |
int |
setReadAccessMode
Optional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |