Class: Google::Apis::YoutubeV3::ChannelSectionTargeting
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::YoutubeV3::ChannelSectionTargeting
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb 
Overview
ChannelSection targeting setting.
Instance Attribute Summary collapse
- 
  
    
      #countries  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The country the channel section is targeting.
 - 
  
    
      #languages  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The language the channel section is targeting.
 - 
  
    
      #regions  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The region the channel section is targeting.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ChannelSectionTargeting 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ChannelSectionTargeting.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ChannelSectionTargeting
Returns a new instance of ChannelSectionTargeting.
      1641 1642 1643  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1641 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#countries ⇒ Array<String>
The country the channel section is targeting.
Corresponds to the JSON property countries
      1629 1630 1631  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1629 def countries @countries end  | 
  
#languages ⇒ Array<String>
The language the channel section is targeting.
Corresponds to the JSON property languages
      1634 1635 1636  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1634 def languages @languages end  | 
  
#regions ⇒ Array<String>
The region the channel section is targeting.
Corresponds to the JSON property regions
      1639 1640 1641  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1639 def regions @regions end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1646 1647 1648 1649 1650  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1646 def update!(**args) @countries = args[:countries] if args.key?(:countries) @languages = args[:languages] if args.key?(:languages) @regions = args[:regions] if args.key?(:regions) end  |