Class: Google::Apis::DataformV1beta1::ColumnDescriptor

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_tagsArray<String>

A list of BigQuery policy tags that will be applied to the column. Corresponds to the JSON property bigqueryPolicyTags

Returns:

  • (Array<String>)


296
297
298
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 296

def bigquery_policy_tags
  @bigquery_policy_tags
end

#descriptionString

A textual description of the column. Corresponds to the JSON property description

Returns:

  • (String)


301
302
303
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 301

def description
  @description
end

#pathArray<String>

The identifier for the column. Each entry in path represents one level of nesting. Corresponds to the JSON property path

Returns:

  • (Array<String>)


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