Class: Google::Apis::YoutubeV3::ChannelBannerResource
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubeV3::ChannelBannerResource
 
- 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
A channel banner returned as the response to a channel_banner.insert call.
Instance Attribute Summary collapse
- 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Etag of this resource. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies what kind of resource this is. 
- 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The URL of this banner image. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ChannelBannerResource 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ChannelBannerResource. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ChannelBannerResource
Returns a new instance of ChannelBannerResource
| 1049 1050 1051 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1049 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#etag ⇒ String
Etag of this resource.
Corresponds to the JSON property etag
| 1036 1037 1038 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1036 def etag @etag end | 
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "youtube#
channelBannerResource".
Corresponds to the JSON property kind
| 1042 1043 1044 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1042 def kind @kind end | 
#url ⇒ String
The URL of this banner image.
Corresponds to the JSON property url
| 1047 1048 1049 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1047 def url @url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1054 1055 1056 1057 1058 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1054 def update!(**args) @etag = args[:etag] if args.key?(:etag) @kind = args[:kind] if args.key?(:kind) @url = args[:url] if args.key?(:url) end |