Class: Google::Apis::DfareportingV3_2::CreativeFieldValue
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_2::CreativeFieldValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_2/classes.rb,
generated/google/apis/dfareporting_v3_2/representations.rb,
generated/google/apis/dfareporting_v3_2/representations.rb
Overview
Contains properties of a creative field value.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
ID of this creative field value.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#value ⇒ String
Value of this creative field value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreativeFieldValue
constructor
A new instance of CreativeFieldValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreativeFieldValue
Returns a new instance of CreativeFieldValue
4185 4186 4187 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 4185 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
ID of this creative field value. This is a read-only, auto-generated field.
Corresponds to the JSON property id
4171 4172 4173 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 4171 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#creativeFieldValue".
Corresponds to the JSON property kind
4177 4178 4179 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 4177 def kind @kind end |
#value ⇒ String
Value of this creative field value. It needs to be less than 256 characters in
length and unique per creative field.
Corresponds to the JSON property value
4183 4184 4185 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 4183 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4190 4191 4192 4193 4194 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 4190 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @value = args[:value] if args.key?(:value) end |