class Google::Apis::BooksV1::Volume::UserInfo::FamilySharing

Information on the ability to share with the family.

Attributes

family_role[RW]

The role of the user in the family. Corresponds to the JSON property `familyRole` @return [String]

is_sharing_allowed[RW]

Whether or not this volume can be shared with the family by the user. This includes sharing eligibility of both the volume and the user. If the value is true, the user can initiate a family sharing action. Corresponds to the JSON property `isSharingAllowed` @return [Boolean]

is_sharing_allowed?[RW]

Whether or not this volume can be shared with the family by the user. This includes sharing eligibility of both the volume and the user. If the value is true, the user can initiate a family sharing action. Corresponds to the JSON property `isSharingAllowed` @return [Boolean]

is_sharing_disabled_by_fop[RW]

Whether or not sharing this volume is temporarily disabled due to issues with the Family Wallet. Corresponds to the JSON property `isSharingDisabledByFop` @return [Boolean]

is_sharing_disabled_by_fop?[RW]

Whether or not sharing this volume is temporarily disabled due to issues with the Family Wallet. Corresponds to the JSON property `isSharingDisabledByFop` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/books_v1/classes.rb, line 3388
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/books_v1/classes.rb, line 3393
def update!(**args)
  @family_role = args[:family_role] if args.key?(:family_role)
  @is_sharing_allowed = args[:is_sharing_allowed] if args.key?(:is_sharing_allowed)
  @is_sharing_disabled_by_fop = args[:is_sharing_disabled_by_fop] if args.key?(:is_sharing_disabled_by_fop)
end