Class: Google::Apis::DisplayvideoV2::BusinessChainTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::BusinessChainTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb
Overview
Represents a targetable business chain within a geo region. This will be
populated in the business_chain_details field when targeting_type is
TARGETING_TYPE_BUSINESS_CHAIN.
Instance Attribute Summary collapse
-
#business_chain ⇒ String
Output only.
-
#geo_region ⇒ String
Output only.
-
#geo_region_type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BusinessChainTargetingOptionDetails
constructor
A new instance of BusinessChainTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BusinessChainTargetingOptionDetails
Returns a new instance of BusinessChainTargetingOptionDetails.
2234 2235 2236 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2234 def initialize(**args) update!(**args) end |
Instance Attribute Details
#business_chain ⇒ String
Output only. The display name of the business chain, e.g. "KFC", "Chase Bank".
Corresponds to the JSON property businessChain
2222 2223 2224 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2222 def business_chain @business_chain end |
#geo_region ⇒ String
Output only. The display name of the geographic region, e.g. "Ontario, Canada".
Corresponds to the JSON property geoRegion
2227 2228 2229 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2227 def geo_region @geo_region end |
#geo_region_type ⇒ String
Output only. The type of the geographic region.
Corresponds to the JSON property geoRegionType
2232 2233 2234 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2232 def geo_region_type @geo_region_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2239 2240 2241 2242 2243 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2239 def update!(**args) @business_chain = args[:business_chain] if args.key?(:business_chain) @geo_region = args[:geo_region] if args.key?(:geo_region) @geo_region_type = args[:geo_region_type] if args.key?(:geo_region_type) end |