v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1372300401.5 KB
projects

Creates an asset resource.

post/v1/{+parent}/assets

Path parameters

parentstring required

Required. The resource name of the parent zone: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}.

Query parameters

assetIdstring

Required. Asset identifier. This ID will be used to generate names such as table names when publishing metadata to Hive Metastore and BigQuery. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must end with a number or a letter. * Must be between 1-63 characters. * Must be unique within the zone.

validateOnlyboolean

Optional. Only validate the request, but do not perform mutations. The default is false.

Request body

descriptionstring

Optional. Description of the asset.

namestring

Output only. The relative resource name of the asset, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}.

state'STATE_UNSPECIFIED' | 'ACTIVE' | 'CREATING' | 'DELETING' | 'ACTION_REQUIRED'

Output only. Current state of the asset.

createTimestring google-datetime

Output only. The time when the asset was created.

updateTimestring google-datetime

Output only. The time when the asset was last updated.

displayNamestring

Optional. User friendly display name.

labelsobject

Optional. User defined labels for the asset.

uidstring

Output only. System generated globally unique ID for the asset. This ID will be different if the asset is deleted and re-created with the same name.

Response

Successful response