Class: Google::Apis::DfareportingV4::CustomValueField

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 custom value field information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomValueField

Returns a new instance of CustomValueField.



5323
5324
5325
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5323

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

Instance Attribute Details

#field_idFixnum

Optional. Field ID in the element. Corresponds to the JSON property fieldId

Returns:

  • (Fixnum)


5316
5317
5318
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5316

def field_id
  @field_id
end

#request_keyString

Optional. Custom key used to match for auto filtering. Corresponds to the JSON property requestKey

Returns:

  • (String)


5321
5322
5323
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5321

def request_key
  @request_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5328
5329
5330
5331
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5328

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