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