Class: Google::Apis::DfareportingV4::DependentFieldValue

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/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.



5624
5625
5626
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5624

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)


5612
5613
5614
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5612

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)


5617
5618
5619
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5617

def element_id
  @element_id
end

#field_idFixnum

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

Returns:

  • (Fixnum)


5622
5623
5624
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5622

def field_id
  @field_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5629
5630
5631
5632
5633
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5629

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