Method: projects.locations.dataProducts.dataAssets.patch

Updates a data asset.

HTTP request

PATCH https://dataplex.googleapis.com/v1/{dataAsset.name=projects/*/locations/*/dataProducts/*/dataAssets/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
dataAsset.name

string

Identifier. Resource name of the data asset. Format: projects/{project_id_or_number}/locations/{locationId}/dataProducts/{dataProductId}/dataAssets/{dataAssetId}

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

validateOnly

boolean

Optional. Validates the request without actually updating the data asset. Defaults to false.

Request body

The request body contains an instance of DataAsset.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • dataplex.dataAssets.update

For more information, see the IAM documentation.