class Google::Apis::PartnersV2::UserOverrides

Values to use instead of the user's respective defaults. These are only honored by whitelisted products.

Attributes

ip_address[RW]

IP address to use instead of the user's geo-located IP address. Corresponds to the JSON property `ipAddress` @return [String]

user_id[RW]

Logged-in user ID to impersonate instead of the user's ID. Corresponds to the JSON property `userId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/partners_v2/classes.rb, line 140
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/partners_v2/classes.rb, line 145
def update!(**args)
  @ip_address = args[:ip_address] if args.key?(:ip_address)
  @user_id = args[:user_id] if args.key?(:user_id)
end