Class: Google::Apis::DisplayvideoV1::BusinessChainTargetingOptionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BusinessChainTargetingOptionDetails

Returns a new instance of BusinessChainTargetingOptionDetails.



2070
2071
2072
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2070

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#business_chainString

Output only. The display name of the business chain, e.g. "KFC", "Chase Bank". Corresponds to the JSON property businessChain

Returns:

  • (String)


2058
2059
2060
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2058

def business_chain
  @business_chain
end

#geo_regionString

Output only. The display name of the geographic region, e.g. "Ontario, Canada". Corresponds to the JSON property geoRegion

Returns:

  • (String)


2063
2064
2065
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2063

def geo_region
  @geo_region
end

#geo_region_typeString

Output only. The type of the geographic region. Corresponds to the JSON property geoRegionType

Returns:

  • (String)


2068
2069
2070
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2068

def geo_region_type
  @geo_region_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2075
2076
2077
2078
2079
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2075

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