ResourceSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Identifies the cloud resource that is referenced by this asset.
Attributes | |
---|---|
Name | Description |
name |
str
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_ |
google.cloud.dataplex_v1.types.Asset.ResourceSpec.Type
Required. Immutable. Type of resource. |
read_access_mode |
google.cloud.dataplex_v1.types.Asset.ResourceSpec.AccessMode
Optional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets. |
Classes
AccessMode
AccessMode(value)
Access Mode determines how data stored within the resource is read. This is only applicable to storage bucket assets.
Values: ACCESS_MODE_UNSPECIFIED (0): Access mode unspecified. DIRECT (1): Default. Data is accessed directly using storage APIs. MANAGED (2): Data is accessed through a managed interface using BigQuery APIs.
Type
Type(value)
Type of resource.
Values: TYPE_UNSPECIFIED (0): Type not specified. STORAGE_BUCKET (1): Cloud Storage bucket. BIGQUERY_DATASET (2): BigQuery dataset.