v1

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

Create a DataAttribute resource.

post/v1/{+parent}/attributes

Path parameters

parentstring required

Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}

Query parameters

dataAttributeIdstring

Required. DataAttribute identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the DataTaxonomy.

validateOnlyboolean

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

Request body

descriptionstring

Optional. Description of the DataAttribute.

namestring

Output only. The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.

etagstring

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.

labelsobject

Optional. User-defined labels for the DataAttribute.

displayNamestring

Optional. User friendly display name.

attributeCountinteger

Output only. The number of child attributes present for this attribute.

createTimestring google-datetime

Output only. The time when the DataAttribute was created.

parentIdstring

Optional. The ID of the parent DataAttribute resource, should belong to the same data taxonomy. Circular dependency in parent chain is not valid. Maximum depth of the hierarchy allowed is 4. a -> b -> c -> d -> e, depth = 4

updateTimestring google-datetime

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

uidstring

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

Response

Successful response