Class: Google::Apis::DfareportingV4::RequestValue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RequestValue

Returns a new instance of RequestValue.



12454
12455
12456
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12454

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>)


12440
12441
12442
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12440

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)


12446
12447
12448
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12446

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>)


12452
12453
12454
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12452

def user_attribute_ids
  @user_attribute_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12459
12460
12461
12462
12463
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12459

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