class Google::Apis::YoutubeV3::MembershipsDuration
Attributes
member_since[RW]
The date and time when the user became a continuous member across all levels. Corresponds to the JSON property `memberSince` @return [String]
member_total_duration_months[RW]
The cumulative time the user has been a member across all levels in complete months (the time is rounded down to the nearest integer). Corresponds to the JSON property `memberTotalDurationMonths` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 5291 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 5296 def update!(**args) @member_since = args[:member_since] if args.key?(:member_since) @member_total_duration_months = args[:member_total_duration_months] if args.key?(:member_total_duration_months) end