class Google::Apis::Adexchangebuyer2V2beta1::ServingContext

The serving context for this restriction.

Attributes

all[RW]

Matches all contexts. Corresponds to the JSON property `all` @return [String]

app_type[RW]

Output only. The app type the restriction applies to for mobile device. Corresponds to the JSON property `appType` @return [Google::Apis::Adexchangebuyer2V2beta1::AppContext]

auction_type[RW]

Output only. The auction type the restriction applies to. Corresponds to the JSON property `auctionType` @return [Google::Apis::Adexchangebuyer2V2beta1::AuctionContext]

location[RW]

Output only. The Geo criteria the restriction applies to. Corresponds to the JSON property `location` @return [Google::Apis::Adexchangebuyer2V2beta1::LocationContext]

platform[RW]

Output only. The type of platform the restriction applies to. Corresponds to the JSON property `platform` @return [Google::Apis::Adexchangebuyer2V2beta1::PlatformContext]

security_type[RW]

Output only. A security context. Corresponds to the JSON property `securityType` @return [Google::Apis::Adexchangebuyer2V2beta1::SecurityContext]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 3796
def update!(**args)
  @all = args[:all] if args.key?(:all)
  @app_type = args[:app_type] if args.key?(:app_type)
  @auction_type = args[:auction_type] if args.key?(:auction_type)
  @location = args[:location] if args.key?(:location)
  @platform = args[:platform] if args.key?(:platform)
  @security_type = args[:security_type] if args.key?(:security_type)
end