Class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::ServingContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
The serving context for this restriction.
Instance Attribute Summary collapse
-
#all ⇒ String
Matches all contexts.
-
#app_type ⇒ Google::Apis::Adexchangebuyer2V2beta1::AppContext
Corresponds to the JSON property
appType. -
#auction_type ⇒ Google::Apis::Adexchangebuyer2V2beta1::AuctionContext
Corresponds to the JSON property
auctionType. -
#location ⇒ Google::Apis::Adexchangebuyer2V2beta1::LocationContext
Corresponds to the JSON property
location. -
#platform ⇒ Google::Apis::Adexchangebuyer2V2beta1::PlatformContext
Corresponds to the JSON property
platform. -
#security_type ⇒ Google::Apis::Adexchangebuyer2V2beta1::SecurityContext
Corresponds to the JSON property
securityType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServingContext
constructor
A new instance of ServingContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ServingContext
Returns a new instance of ServingContext
666 667 668 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 666 def initialize(**args) update!(**args) end |
Instance Attribute Details
#all ⇒ String
Matches all contexts.
Corresponds to the JSON property all
649 650 651 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 649 def all @all end |
#app_type ⇒ Google::Apis::Adexchangebuyer2V2beta1::AppContext
Corresponds to the JSON property appType
654 655 656 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 654 def app_type @app_type end |
#auction_type ⇒ Google::Apis::Adexchangebuyer2V2beta1::AuctionContext
Corresponds to the JSON property auctionType
644 645 646 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 644 def auction_type @auction_type end |
#location ⇒ Google::Apis::Adexchangebuyer2V2beta1::LocationContext
Corresponds to the JSON property location
639 640 641 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 639 def location @location end |
#platform ⇒ Google::Apis::Adexchangebuyer2V2beta1::PlatformContext
Corresponds to the JSON property platform
664 665 666 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 664 def platform @platform end |
#security_type ⇒ Google::Apis::Adexchangebuyer2V2beta1::SecurityContext
Corresponds to the JSON property securityType
659 660 661 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 659 def security_type @security_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
671 672 673 674 675 676 677 678 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 671 def update!(**args) @location = args[:location] if args.key?(:location) @auction_type = args[:auction_type] if args.key?(:auction_type) @all = args[:all] if args.key?(:all) @app_type = args[:app_type] if args.key?(:app_type) @security_type = args[:security_type] if args.key?(:security_type) @platform = args[:platform] if args.key?(:platform) end |