class Google::Apis::YoutubeV3::ChannelProfileDetails

Attributes

channel_id[RW]

The YouTube channel ID. Corresponds to the JSON property `channelId` @return [String]

channel_url[RW]

The channel's URL. Corresponds to the JSON property `channelUrl` @return [String]

display_name[RW]

The channel's display name. Corresponds to the JSON property `displayName` @return [String]

profile_image_url[RW]

The channels's avatar URL. Corresponds to the JSON property `profileImageUrl` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtube_v3/classes.rb, line 1372
def update!(**args)
  @channel_id = args[:channel_id] if args.key?(:channel_id)
  @channel_url = args[:channel_url] if args.key?(:channel_url)
  @display_name = args[:display_name] if args.key?(:display_name)
  @profile_image_url = args[:profile_image_url] if args.key?(:profile_image_url)
end