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.



652
653
654
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 652

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



650
651
652
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 650

def relation_descriptor
  @relation_descriptor
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



657
658
659
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 657

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