Class: Google::Apis::DfareportingV5::DependentFieldValue

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v5/classes.rb,
lib/google/apis/dfareporting_v5/representations.rb,
lib/google/apis/dfareporting_v5/representations.rb

Overview

Contains dependent field value information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DependentFieldValue

Returns a new instance of DependentFieldValue.



5550
5551
5552
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5550

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

Instance Attribute Details

#dynamic_feed_idFixnum

Optional. The ID of the dynamic feed that value's field will match against. Corresponds to the JSON property dynamicFeedId

Returns:

  • (Fixnum)


5538
5539
5540
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5538

def dynamic_feed_id
  @dynamic_feed_id
end

#element_idFixnum

Optional. The ID of the element that value's field will match against. Corresponds to the JSON property elementId

Returns:

  • (Fixnum)


5543
5544
5545
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5543

def element_id
  @element_id
end

#field_idFixnum

Optional. The field id of the dependent field. Corresponds to the JSON property fieldId

Returns:

  • (Fixnum)


5548
5549
5550
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5548

def field_id
  @field_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5555
5556
5557
5558
5559
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5555

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