class Google::Apis::YoutubeV3::MembershipsDetails
Attributes
Ids of all levels that the user has access to. This includes the currently active level and all other levels that are included because of a higher purchase. Corresponds to the JSON property `accessibleLevels` @return [Array<String>]
Id of the highest level that the user has access to at the moment. Corresponds to the JSON property `highestAccessibleLevel` @return [String]
Display name for the highest level that the user has access to at the moment. Corresponds to the JSON property `highestAccessibleLevelDisplayName` @return [String]
Data about memberships duration without taking into consideration pricing levels. Corresponds to the JSON property `membershipsDuration` @return [Google::Apis::YoutubeV3::MembershipsDuration]
Data about memberships duration on particular pricing levels. Corresponds to the JSON property `membershipsDurationAtLevels` @return [Array<Google::Apis::YoutubeV3::MembershipsDurationAtLevel>]
Public Class Methods
# File lib/google/apis/youtube_v3/classes.rb, line 5262 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 5267 def update!(**args) @accessible_levels = args[:accessible_levels] if args.key?(:accessible_levels) @highest_accessible_level = args[:highest_accessible_level] if args.key?(:highest_accessible_level) @highest_accessible_level_display_name = args[:highest_accessible_level_display_name] if args.key?(:highest_accessible_level_display_name) @memberships_duration = args[:memberships_duration] if args.key?(:memberships_duration) @memberships_duration_at_levels = args[:memberships_duration_at_levels] if args.key?(:memberships_duration_at_levels) end