Dataplex V1 API - Class Google::Cloud::Dataplex::V1::DataAttribute (v0.20.0)

Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::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 ```

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attribute_count

def attribute_count() -> ::Integer
Returns
  • (::Integer) — Output only. The number of child attributes present for this attribute.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#data_access_spec

def data_access_spec() -> ::Google::Cloud::Dataplex::V1::DataAccessSpec
Returns

#data_access_spec=

def data_access_spec=(value) -> ::Google::Cloud::Dataplex::V1::DataAccessSpec
Parameter
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. Description of the DataAttribute.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Description of the DataAttribute.
Returns
  • (::String) — Optional. Description of the DataAttribute.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Optional. User friendly display name.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Optional. User friendly display name.
Returns
  • (::String) — Optional. User friendly display name.

#etag

def etag() -> ::String
Returns
  • (::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.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels for the DataAttribute.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels for the DataAttribute.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels for the DataAttribute.

#name

def name() -> ::String
Returns
  • (::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}.

#parent_id

def parent_id() -> ::String
Returns
  • (::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]

#parent_id=

def parent_id=(value) -> ::String
Parameter
  • value (::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]
Returns
  • (::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]

#resource_access_spec

def resource_access_spec() -> ::Google::Cloud::Dataplex::V1::ResourceAccessSpec
Returns

#resource_access_spec=

def resource_access_spec=(value) -> ::Google::Cloud::Dataplex::V1::ResourceAccessSpec
Parameter
Returns

#uid

def uid() -> ::String
Returns
  • (::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.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns