Class: Google::Apis::YoutubeV3::ChannelSettings
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubeV3::ChannelSettings
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
 generated/google/apis/youtube_v3/representations.rb,
 generated/google/apis/youtube_v3/representations.rb
Overview
Branding properties for the channel view.
Instance Attribute Summary collapse
- 
  
    
      #country  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The country of the channel. 
- 
  
    
      #default_language  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property defaultLanguage.
- 
  
    
      #default_tab  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Which content tab users should see when viewing the channel. 
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Specifies the channel description. 
- 
  
    
      #featured_channels_title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Title for the featured channels tab. 
- 
  
    
      #featured_channels_urls  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The list of featured channels. 
- 
  
    
      #keywords  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Lists keywords associated with the channel, comma-separated. 
- 
  
    
      #moderate_comments  ⇒ Boolean 
    
    
      (also: #moderate_comments?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible. 
- 
  
    
      #profile_color  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A prominent color that can be rendered on this channel page. 
- 
  
    
      #show_browse_view  ⇒ Boolean 
    
    
      (also: #show_browse_view?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether the tab to browse the videos should be displayed. 
- 
  
    
      #show_related_channels  ⇒ Boolean 
    
    
      (also: #show_related_channels?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether related channels should be proposed. 
- 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Specifies the channel title. 
- 
  
    
      #tracking_analytics_account_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID for a Google Analytics account to track and measure traffic to the channels. 
- 
  
    
      #unsubscribed_trailer  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The trailer of the channel, for users that are not subscribers. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ChannelSettings 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ChannelSettings. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ChannelSettings
Returns a new instance of ChannelSettings
| 1695 1696 1697 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1695 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#country ⇒ String
The country of the channel.
Corresponds to the JSON property country
| 1623 1624 1625 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1623 def country @country end | 
#default_language ⇒ String
Corresponds to the JSON property defaultLanguage
| 1628 1629 1630 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1628 def default_language @default_language end | 
#default_tab ⇒ String
Which content tab users should see when viewing the channel.
Corresponds to the JSON property defaultTab
| 1633 1634 1635 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1633 def default_tab @default_tab end | 
#description ⇒ String
Specifies the channel description.
Corresponds to the JSON property description
| 1638 1639 1640 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1638 def description @description end | 
#featured_channels_title ⇒ String
Title for the featured channels tab.
Corresponds to the JSON property featuredChannelsTitle
| 1643 1644 1645 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1643 def featured_channels_title @featured_channels_title end | 
#featured_channels_urls ⇒ Array<String>
The list of featured channels.
Corresponds to the JSON property featuredChannelsUrls
| 1648 1649 1650 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1648 def featured_channels_urls @featured_channels_urls end | 
#keywords ⇒ String
Lists keywords associated with the channel, comma-separated.
Corresponds to the JSON property keywords
| 1653 1654 1655 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1653 def keywords @keywords end | 
#moderate_comments ⇒ Boolean Also known as: moderate_comments?
Whether user-submitted comments left on the channel page need to be approved
by the channel owner to be publicly visible.
Corresponds to the JSON property moderateComments
| 1659 1660 1661 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1659 def moderate_comments @moderate_comments end | 
#profile_color ⇒ String
A prominent color that can be rendered on this channel page.
Corresponds to the JSON property profileColor
| 1665 1666 1667 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1665 def profile_color @profile_color end | 
#show_browse_view ⇒ Boolean Also known as: show_browse_view?
Whether the tab to browse the videos should be displayed.
Corresponds to the JSON property showBrowseView
| 1670 1671 1672 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1670 def show_browse_view @show_browse_view end | 
#show_related_channels ⇒ Boolean Also known as:
Whether related channels should be proposed.
Corresponds to the JSON property showRelatedChannels
| 1676 1677 1678 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1676 def @show_related_channels end | 
#title ⇒ String
Specifies the channel title.
Corresponds to the JSON property title
| 1682 1683 1684 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1682 def title @title end | 
#tracking_analytics_account_id ⇒ String
The ID for a Google Analytics account to track and measure traffic to the
channels.
Corresponds to the JSON property trackingAnalyticsAccountId
| 1688 1689 1690 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1688 def tracking_analytics_account_id @tracking_analytics_account_id end | 
#unsubscribed_trailer ⇒ String
The trailer of the channel, for users that are not subscribers.
Corresponds to the JSON property unsubscribedTrailer
| 1693 1694 1695 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1693 def unsubscribed_trailer @unsubscribed_trailer end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1700 def update!(**args) @country = args[:country] if args.key?(:country) @default_language = args[:default_language] if args.key?(:default_language) @default_tab = args[:default_tab] if args.key?(:default_tab) @description = args[:description] if args.key?(:description) @featured_channels_title = args[:featured_channels_title] if args.key?(:featured_channels_title) @featured_channels_urls = args[:featured_channels_urls] if args.key?(:featured_channels_urls) @keywords = args[:keywords] if args.key?(:keywords) @moderate_comments = args[:moderate_comments] if args.key?(:moderate_comments) @profile_color = args[:profile_color] if args.key?(:profile_color) @show_browse_view = args[:show_browse_view] if args.key?(:show_browse_view) @show_related_channels = args[:show_related_channels] if args.key?(:show_related_channels) @title = args[:title] if args.key?(:title) @tracking_analytics_account_id = args[:tracking_analytics_account_id] if args.key?(:tracking_analytics_account_id) @unsubscribed_trailer = args[:unsubscribed_trailer] if args.key?(:unsubscribed_trailer) end |