Class: Google::Apis::YoutubeV3::MemberSnippet
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::MemberSnippet
- 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
-
#creator_channel_id ⇒ String
The id of the channel that's offering memberships.
-
#member_details ⇒ Google::Apis::YoutubeV3::ChannelProfileDetails
Details about the member.
-
#memberships_details ⇒ Google::Apis::YoutubeV3::MembershipsDetails
Details about the user's membership.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MemberSnippet
constructor
A new instance of MemberSnippet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MemberSnippet
Returns a new instance of MemberSnippet.
5145 5146 5147 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 5145 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creator_channel_id ⇒ String
The id of the channel that's offering memberships.
Corresponds to the JSON property creatorChannelId
5133 5134 5135 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 5133 def creator_channel_id @creator_channel_id end |
#member_details ⇒ Google::Apis::YoutubeV3::ChannelProfileDetails
Details about the member.
Corresponds to the JSON property memberDetails
5138 5139 5140 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 5138 def member_details @member_details end |
#memberships_details ⇒ Google::Apis::YoutubeV3::MembershipsDetails
Details about the user's membership.
Corresponds to the JSON property membershipsDetails
5143 5144 5145 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 5143 def memberships_details @memberships_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5150 5151 5152 5153 5154 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 5150 def update!(**args) @creator_channel_id = args[:creator_channel_id] if args.key?(:creator_channel_id) @member_details = args[:member_details] if args.key?(:member_details) @memberships_details = args[:memberships_details] if args.key?(:memberships_details) end |