class Google::Apis::Adexchangebuyer2V2beta1::ServingContext
The serving context for this restriction.
Attributes
Matches all contexts. Corresponds to the JSON property `all` @return [String]
Output only. The app type the restriction applies to for mobile device. Corresponds to the JSON property `appType` @return [Google::Apis::Adexchangebuyer2V2beta1::AppContext]
Output only. The auction type the restriction applies to. Corresponds to the JSON property `auctionType` @return [Google::Apis::Adexchangebuyer2V2beta1::AuctionContext]
Output only. The Geo criteria the restriction applies to. Corresponds to the JSON property `location` @return [Google::Apis::Adexchangebuyer2V2beta1::LocationContext]
Output only. The type of platform the restriction applies to. Corresponds to the JSON property `platform` @return [Google::Apis::Adexchangebuyer2V2beta1::PlatformContext]
Output only. A security context. Corresponds to the JSON property `securityType` @return [Google::Apis::Adexchangebuyer2V2beta1::SecurityContext]
Public Class Methods
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 3791 def initialize(**args) update!(**args) end
Public Instance Methods
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