Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataAttributeBindingPath
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DataAttributeBindingPath
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
Represents a subresource of the given resource, and associated bindings with it. Currently supported subresources are column and partition schema fields within a table.
Instance Attribute Summary collapse
-
#attributes ⇒ Array<String>
Optional.
-
#name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DataAttributeBindingPath
constructor
A new instance of GoogleCloudDataplexV1DataAttributeBindingPath.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DataAttributeBindingPath
Returns a new instance of GoogleCloudDataplexV1DataAttributeBindingPath.
1152 1153 1154 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1152 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attributes ⇒ Array<String>
Optional. List of attributes to be associated with the path of the resource,
provided in the form: projects/project/locations/location/dataTaxonomies/
dataTaxonomy/attributes/data_attribute_id
Corresponds to the JSON property attributes
1144 1145 1146 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1144 def attributes @attributes end |
#name ⇒ String
Required. The name identifier of the path. Nested columns should be of the
form: 'address.city'.
Corresponds to the JSON property name
1150 1151 1152 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1150 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1157 1158 1159 1160 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1157 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @name = args[:name] if args.key?(:name) end |