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.



5516
5517
5518
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5516

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)


5504
5505
5506
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5504

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)


5509
5510
5511
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5509

def element_id
  @element_id
end

#field_idFixnum

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

Returns:

  • (Fixnum)


5514
5515
5516
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5514

def field_id
  @field_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5521
5522
5523
5524
5525
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5521

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