class Google::Apis::BooksV1::FamilyInfo::Membership
Family membership info of the user that made the request.
Attributes
acquire_permission[RW]
Restrictions on user buying and acquiring content. Corresponds to the JSON property `acquirePermission` @return [String]
age_group[RW]
The age group of the user. Corresponds to the JSON property `ageGroup` @return [String]
allowed_maturity_rating[RW]
The maximum allowed maturity rating for the user. Corresponds to the JSON property `allowedMaturityRating` @return [String]
is_in_family[RW]
Corresponds to the JSON property `isInFamily` @return [Boolean]
is_in_family?[RW]
Corresponds to the JSON property `isInFamily` @return [Boolean]
role[RW]
The role of the user in the family. Corresponds to the JSON property `role` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/books_v1/classes.rb, line 1626 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/books_v1/classes.rb, line 1631 def update!(**args) @acquire_permission = args[:acquire_permission] if args.key?(:acquire_permission) @age_group = args[:age_group] if args.key?(:age_group) @allowed_maturity_rating = args[:allowed_maturity_rating] if args.key?(:allowed_maturity_rating) @is_in_family = args[:is_in_family] if args.key?(:is_in_family) @role = args[:role] if args.key?(:role) end