Class: Google::Apis::DfareportingV5::CustomValueField
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV5::CustomValueField
- 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 custom value field information.
Instance Attribute Summary collapse
-
#field_id ⇒ Fixnum
Optional.
-
#request_key ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomValueField
constructor
A new instance of CustomValueField.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomValueField
Returns a new instance of CustomValueField.
5215 5216 5217 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5215 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field_id ⇒ Fixnum
Optional. Field ID in the element.
Corresponds to the JSON property fieldId
5208 5209 5210 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5208 def field_id @field_id end |
#request_key ⇒ String
Optional. Custom key used to match for auto filtering.
Corresponds to the JSON property requestKey
5213 5214 5215 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5213 def request_key @request_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5220 5221 5222 5223 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5220 def update!(**args) @field_id = args[:field_id] if args.key?(:field_id) @request_key = args[:request_key] if args.key?(:request_key) end |