Class: Google::Apis::DataformV1beta1::ColumnDescriptor
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::ColumnDescriptor
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataform_v1beta1/classes.rb,
lib/google/apis/dataform_v1beta1/representations.rb,
lib/google/apis/dataform_v1beta1/representations.rb
Overview
Describes a column.
Instance Attribute Summary collapse
-
#bigquery_policy_tags ⇒ Array<String>
A list of BigQuery policy tags that will be applied to the column.
-
#description ⇒ String
A textual description of the column.
-
#path ⇒ Array<String>
The identifier for the column.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ColumnDescriptor
constructor
A new instance of ColumnDescriptor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ColumnDescriptor
Returns a new instance of ColumnDescriptor.
195 196 197 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 195 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bigquery_policy_tags ⇒ Array<String>
A list of BigQuery policy tags that will be applied to the column.
Corresponds to the JSON property bigqueryPolicyTags
182 183 184 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 182 def @bigquery_policy_tags end |
#description ⇒ String
A textual description of the column.
Corresponds to the JSON property description
187 188 189 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 187 def description @description end |
#path ⇒ Array<String>
The identifier for the column. Each entry in path represents one level of
nesting.
Corresponds to the JSON property path
193 194 195 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 193 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
200 201 202 203 204 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 200 def update!(**args) @bigquery_policy_tags = args[:bigquery_policy_tags] if args.key?(:bigquery_policy_tags) @description = args[:description] if args.key?(:description) @path = args[:path] if args.key?(:path) end |