class Google::Apis::YoutubeV3::MemberSnippet

Attributes

creator_channel_id[RW]

The id of the channel that's offering memberships. Corresponds to the JSON property `creatorChannelId` @return [String]

member_details[RW]

Details about the member. Corresponds to the JSON property `memberDetails` @return [Google::Apis::YoutubeV3::ChannelProfileDetails]

memberships_details[RW]

Details about the user's membership. Corresponds to the JSON property `membershipsDetails` @return [Google::Apis::YoutubeV3::MembershipsDetails]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 5218
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 5223
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