class Google::Apis::YoutubeV3::ChannelBannerResource

A channel banner returned as the response to a channel_banner.insert call.

Attributes

etag[RW]

Corresponds to the JSON property `etag` @return [String]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “youtube# channelBannerResource”. Corresponds to the JSON property `kind` @return [String]

url[RW]

The URL of this banner image. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 1087
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/youtube_v3/classes.rb, line 1092
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