Class: Google::Apis::YoutubeV3::SubscriptionSubscriberSnippet
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::SubscriptionSubscriberSnippet
- 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
Basic details about a subscription's subscriber including title, description, channel ID and thumbnails.
Instance Attribute Summary collapse
-
#channel_id ⇒ String
The channel ID of the subscriber.
-
#description ⇒ String
The description of the subscriber.
-
#thumbnails ⇒ Google::Apis::YoutubeV3::ThumbnailDetails
Internal representation of thumbnails for a YouTube resource.
-
#title ⇒ String
The title of the subscriber.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SubscriptionSubscriberSnippet
constructor
A new instance of SubscriptionSubscriberSnippet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SubscriptionSubscriberSnippet
Returns a new instance of SubscriptionSubscriberSnippet
6696 6697 6698 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6696 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_id ⇒ String
The channel ID of the subscriber.
Corresponds to the JSON property channelId
6679 6680 6681 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6679 def channel_id @channel_id end |
#description ⇒ String
The description of the subscriber.
Corresponds to the JSON property description
6684 6685 6686 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6684 def description @description end |
#thumbnails ⇒ Google::Apis::YoutubeV3::ThumbnailDetails
Internal representation of thumbnails for a YouTube resource.
Corresponds to the JSON property thumbnails
6689 6690 6691 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6689 def thumbnails @thumbnails end |
#title ⇒ String
The title of the subscriber.
Corresponds to the JSON property title
6694 6695 6696 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6694 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6701 6702 6703 6704 6705 6706 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6701 def update!(**args) @channel_id = args[:channel_id] if args.key?(:channel_id) @description = args[:description] if args.key?(:description) @thumbnails = args[:thumbnails] if args.key?(:thumbnails) @title = args[:title] if args.key?(:title) end |