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.
309 310 311 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 309 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
296 297 298 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 296 def @bigquery_policy_tags end |
#description ⇒ String
A textual description of the column.
Corresponds to the JSON property description
301 302 303 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 301 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
307 308 309 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 307 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
314 315 316 317 318 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 314 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 |