Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::DataAsset.
Represents a data asset resource that can be packaged and shared via a data product.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#access_group_configs
def access_group_configs() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Dataplex::V1::DataAsset::AccessGroupConfig}-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Dataplex::V1::DataAsset::AccessGroupConfig}) — Optional. Access groups configurations for this data asset.
The key is
DataProduct.AccessGroup.idand the value isAccessGroupConfig.Example:
{ "analyst": { "iamRoles": ["roles/bigquery.dataViewer"] } }Currently, at most one IAM role is allowed per access group. For providing multiple predefined IAM roles, wrap them in a custom IAM role as per https://cloud.google.com/iam/docs/creating-custom-roles.
#access_group_configs=
def access_group_configs=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Dataplex::V1::DataAsset::AccessGroupConfig}-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::Dataplex::V1::DataAsset::AccessGroupConfig}) — Optional. Access groups configurations for this data asset.
The key is
DataProduct.AccessGroup.idand the value isAccessGroupConfig.Example:
{ "analyst": { "iamRoles": ["roles/bigquery.dataViewer"] } }Currently, at most one IAM role is allowed per access group. For providing multiple predefined IAM roles, wrap them in a custom IAM role as per https://cloud.google.com/iam/docs/creating-custom-roles.
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Dataplex::V1::DataAsset::AccessGroupConfig}) — Optional. Access groups configurations for this data asset.
The key is
DataProduct.AccessGroup.idand the value isAccessGroupConfig.Example:
{ "analyst": { "iamRoles": ["roles/bigquery.dataViewer"] } }Currently, at most one IAM role is allowed per access group. For providing multiple predefined IAM roles, wrap them in a custom IAM role as per https://cloud.google.com/iam/docs/creating-custom-roles.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The time at which the data asset was created.
#etag
def etag() -> ::String- (::String) — Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
#etag=
def etag=(value) -> ::String- value (::String) — Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- (::String) — Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}-
(::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels for the data asset.
Example:
{ "environment": "production", "billing": "marketing-department" }
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}-
value (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels for the data asset.
Example:
{ "environment": "production", "billing": "marketing-department" }
-
(::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels for the data asset.
Example:
{ "environment": "production", "billing": "marketing-department" }
#name
def name() -> ::String- (::String) — Identifier. Resource name of the data asset. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}
#name=
def name=(value) -> ::String- value (::String) — Identifier. Resource name of the data asset. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}
- (::String) — Identifier. Resource name of the data asset. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}
#resource
def resource() -> ::String-
(::String) — Required. Immutable. Full resource name of the cloud resource represented
by the data asset. This must follow
https://cloud.google.com/iam/docs/full-resource-names. Example:
//bigquery.googleapis.com/projects/my_project_123/datasets/dataset_456/tables/table_789Only BigQuery tables and datasets are currently supported. Data asset creator must have getIamPolicy and setIamPolicy permissions on the resource. Data asset creator must also have resource specific get permission, for instance, bigquery.tables.get for BigQuery tables.
#resource=
def resource=(value) -> ::String-
value (::String) — Required. Immutable. Full resource name of the cloud resource represented
by the data asset. This must follow
https://cloud.google.com/iam/docs/full-resource-names. Example:
//bigquery.googleapis.com/projects/my_project_123/datasets/dataset_456/tables/table_789Only BigQuery tables and datasets are currently supported. Data asset creator must have getIamPolicy and setIamPolicy permissions on the resource. Data asset creator must also have resource specific get permission, for instance, bigquery.tables.get for BigQuery tables.
-
(::String) — Required. Immutable. Full resource name of the cloud resource represented
by the data asset. This must follow
https://cloud.google.com/iam/docs/full-resource-names. Example:
//bigquery.googleapis.com/projects/my_project_123/datasets/dataset_456/tables/table_789Only BigQuery tables and datasets are currently supported. Data asset creator must have getIamPolicy and setIamPolicy permissions on the resource. Data asset creator must also have resource specific get permission, for instance, bigquery.tables.get for BigQuery tables.
#uid
def uid() -> ::String- (::String) — Output only. System generated globally unique ID for the data asset. This ID will be different if the data asset is deleted and re-created with the same name.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The time at which the data asset was last updated.