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
2059 2060 2061 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2059 def initialize(**args) update!(**args) end |
Instance Attribute Details
#all ⇒ String
Matches all contexts.
Corresponds to the JSON property all
2032 2033 2034 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2032 def all @all end |
#app_type ⇒ Google::Apis::Adexchangebuyer2V2beta1::AppContext
Corresponds to the JSON property appType
2037 2038 2039 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2037 def app_type @app_type end |
#auction_type ⇒ Google::Apis::Adexchangebuyer2V2beta1::AuctionContext
Corresponds to the JSON property auctionType
2042 2043 2044 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2042 def auction_type @auction_type end |
#location ⇒ Google::Apis::Adexchangebuyer2V2beta1::LocationContext
Corresponds to the JSON property location
2047 2048 2049 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2047 def location @location end |
#platform ⇒ Google::Apis::Adexchangebuyer2V2beta1::PlatformContext
Corresponds to the JSON property platform
2052 2053 2054 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2052 def platform @platform end |
#security_type ⇒ Google::Apis::Adexchangebuyer2V2beta1::SecurityContext
Corresponds to the JSON property securityType
2057 2058 2059 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2057 def security_type @security_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2064 2065 2066 2067 2068 2069 2070 2071 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2064 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 |