Class: Google::Apis::YoutubeV3::ChannelProfileDetails
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubeV3::ChannelProfileDetails
 
- 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
Instance Attribute Summary collapse
- 
  
    
      #channel_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The YouTube channel ID. 
- 
  
    
      #channel_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The channel's URL. 
- 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The channel's display name. 
- 
  
    
      #profile_image_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The channels's avatar URL. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ChannelProfileDetails 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ChannelProfileDetails. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ChannelProfileDetails
Returns a new instance of ChannelProfileDetails
| 1371 1372 1373 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1371 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#channel_id ⇒ String
The YouTube channel ID.
Corresponds to the JSON property channelId
| 1354 1355 1356 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1354 def channel_id @channel_id end | 
#channel_url ⇒ String
The channel's URL.
Corresponds to the JSON property channelUrl
| 1359 1360 1361 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1359 def channel_url @channel_url end | 
#display_name ⇒ String
The channel's display name.
Corresponds to the JSON property displayName
| 1364 1365 1366 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1364 def display_name @display_name end | 
#profile_image_url ⇒ String
The channels's avatar URL.
Corresponds to the JSON property profileImageUrl
| 1369 1370 1371 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1369 def profile_image_url @profile_image_url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1376 1377 1378 1379 1380 1381 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1376 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 |