Resource: DataAsset
Represents a data asset resource that can be packaged and shared via a data product.
| JSON representation |
|---|
{
"name": string,
"uid": string,
"createTime": string,
"updateTime": string,
"etag": string,
"labels": {
string: string,
...
},
"resource": string,
"accessGroupConfigs": {
string: {
object ( |
| Fields | |
|---|---|
name |
Identifier. Resource name of the data asset. Format: projects/{project_id_or_number}/locations/{locationId}/dataProducts/{dataProductId}/dataAssets/{dataAssetId} |
uid |
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. |
createTime |
Output only. The time at which the data asset was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The time at which the data asset was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
etag |
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 |
Optional. User-defined labels for the data asset. Example:
An object containing a list of |
resource |
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: |
accessGroupConfigs |
Optional. Access groups configurations for this data asset. The key is Example: 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. An object containing a list of |
AccessGroupConfig
Configuration for access group inherited from the parent data product.
| JSON representation |
|---|
{ "iamRoles": [ string ] } |
| Fields | |
|---|---|
iamRoles[] |
Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles. Example: |
Methods |
|
|---|---|
|
Creates a data asset. |
|
Deletes a data asset. |
|
Gets a data asset. |
|
Lists data assets for a given data product. |
|
Updates a data asset. |