class Google::Apis::YoutubeV3::MembershipsLevelSnippet

Attributes

creator_channel_id[RW]

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

level_details[RW]

Details about the pricing level. Corresponds to the JSON property `levelDetails` @return [Google::Apis::YoutubeV3::LevelDetails]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 5433
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 5438
def update!(**args)
  @creator_channel_id = args[:creator_channel_id] if args.key?(:creator_channel_id)
  @level_details = args[:level_details] if args.key?(:level_details)
end