Reference documentation and code samples for the Google Cloud Dataplex V1 Client class DataAttribute.
Denotes one dataAttribute in a dataTaxonomy, for example, PII.
DataAttribute resources can be defined in a hierarchy. A single dataAttribute resource can contain specs of multiple types
PII
- ResourceAccessSpec :
- readers :foo@bar.com
- DataAccessSpec :
- readers :bar@foo.com
Generated from protobuf message google.cloud.dataplex.v1.DataAttribute
Namespace
Google \ Cloud \ Dataplex \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
↳ uid
string
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.
↳ create_time
↳ update_time
↳ description
string
Optional. Description of the DataAttribute.
↳ display_name
string
Optional. User friendly display name.
↳ labels
↳ parent_id
string
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]
↳ attribute_count
int
Output only. The number of child attributes present for this attribute.
↳ etag
string
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.
↳ resource_access_spec
Google\Cloud\Dataplex\V1\ResourceAccessSpec
Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).
↳ data_access_spec
Google\Cloud\Dataplex\V1\DataAccessSpec
Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).
getName
Output only. The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
string
setName
Output only. The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
var
string
$this
getUid
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.
string
setUid
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.
var
string
$this
getCreateTime
Output only. The time when the DataAttribute was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the DataAttribute was created.
$this
getUpdateTime
Output only. The time when the DataAttribute was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the DataAttribute was last updated.
$this
getDescription
Optional. Description of the DataAttribute.
string
setDescription
Optional. Description of the DataAttribute.
var
string
$this
getDisplayName
Optional. User friendly display name.
string
setDisplayName
Optional. User friendly display name.
var
string
$this
getLabels
Optional. User-defined labels for the DataAttribute.
setLabels
Optional. User-defined labels for the DataAttribute.
$this
getParentId
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]
string
setParentId
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]
var
string
$this
getAttributeCount
Output only. The number of child attributes present for this attribute.
int
setAttributeCount
Output only. The number of child attributes present for this attribute.
var
int
$this
getEtag
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
setEtag
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.
var
string
$this
getResourceAccessSpec
Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).
hasResourceAccessSpec
clearResourceAccessSpec
setResourceAccessSpec
Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table).
$this
getDataAccessSpec
Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).
hasDataAccessSpec
clearDataAccessSpec
setDataAccessSpec
Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables).
$this