Class: Google::Apis::DfareportingV5::RequestValue

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 request value information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RequestValue

Returns a new instance of RequestValue.



11622
11623
11624
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 11622

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

Instance Attribute Details

#exclude_from_user_attribute_idsArray<Fixnum>

Optional. User attribute IDs in the request that should be excluded. Used only when the field type is REMARKETING_VALUE or USER_ATTRIBUTE_ID. Corresponds to the JSON property excludeFromUserAttributeIds

Returns:

  • (Array<Fixnum>)


11608
11609
11610
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 11608

def exclude_from_user_attribute_ids
  @exclude_from_user_attribute_ids
end

#keyString

Optional. Custom key in the request. Used only when the field type is CUSTOM_VALUE. Corresponds to the JSON property key

Returns:

  • (String)


11614
11615
11616
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 11614

def key
  @key
end

#user_attribute_idsArray<Fixnum>

Optional. User attribute IDs in the request. Used only when the field type is REMARKETING_VALUE or USER_ATTRIBUTE_ID. Corresponds to the JSON property userAttributeIds

Returns:

  • (Array<Fixnum>)


11620
11621
11622
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 11620

def user_attribute_ids
  @user_attribute_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11627
11628
11629
11630
11631
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 11627

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