Class: Google::Apis::DfareportingV2_1::CreativeFieldValue

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb

Overview

Contains properties of a creative field value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreativeFieldValue

Returns a new instance of CreativeFieldValue



3474
3475
3476
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3474

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

Instance Attribute Details

#idString

ID of this creative field value. This is a read-only, auto-generated field. Corresponds to the JSON property id

Returns:

  • (String)


3460
3461
3462
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3460

def id
  @id
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#creativeFieldValue". Corresponds to the JSON property kind

Returns:

  • (String)


3466
3467
3468
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3466

def kind
  @kind
end

#valueString

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

Returns:

  • (String)


3472
3473
3474
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3472

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3479
3480
3481
3482
3483
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3479

def update!(**args)
  @id = args[:id] unless args[:id].nil?
  @kind = args[:kind] unless args[:kind].nil?
  @value = args[:value] unless args[:value].nil?
end