Class: Google::Apis::DataformV1beta1::Declaration

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

Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Declaration

Returns a new instance of Declaration.



603
604
605
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 603

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

Instance Attribute Details

#relation_descriptorGoogle::Apis::DataformV1beta1::RelationDescriptor

Describes a relation and its columns. Corresponds to the JSON property relationDescriptor



601
602
603
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 601

def relation_descriptor
  @relation_descriptor
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



608
609
610
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 608

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