Class: Google::Apis::DataformV1beta1::RelationDescriptor

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 relation and its columns.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RelationDescriptor

Returns a new instance of RelationDescriptor.



1744
1745
1746
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1744

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bigquery_labelsHash<String,String>

A set of BigQuery labels that should be applied to the relation. Corresponds to the JSON property bigqueryLabels

Returns:

  • (Hash<String,String>)


1732
1733
1734
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1732

def bigquery_labels
  @bigquery_labels
end

#columnsArray<Google::Apis::DataformV1beta1::ColumnDescriptor>

A list of descriptions of columns within the relation. Corresponds to the JSON property columns



1737
1738
1739
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1737

def columns
  @columns
end

#descriptionString

A text description of the relation. Corresponds to the JSON property description

Returns:

  • (String)


1742
1743
1744
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1742

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1749
1750
1751
1752
1753
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1749

def update!(**args)
  @bigquery_labels = args[:bigquery_labels] if args.key?(:bigquery_labels)
  @columns = args[:columns] if args.key?(:columns)
  @description = args[:description] if args.key?(:description)
end