class Google::Apis::AndroidmanagementV1::CrossProfilePolicies

Cross-profile policies applied on the device.

Attributes

cross_profile_copy_paste[RW]

Whether text copied from one profile (personal or work) can be pasted in the other profile. Corresponds to the JSON property `crossProfileCopyPaste` @return [String]

cross_profile_data_sharing[RW]

Whether data from one profile (personal or work) can be shared with apps in the other profile. Specifically controls simple data sharing via intents. Management of other cross-profile communication channels, such as contact search, copy/paste, or connected work & personal apps, are configured separately. Corresponds to the JSON property `crossProfileDataSharing` @return [String]

show_work_contacts_in_personal_profile[RW]

Whether contacts stored in the work profile can be shown in personal profile contact searches and incoming calls. Corresponds to the JSON property `showWorkContactsInPersonalProfile` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidmanagement_v1/classes.rb, line 826
def update!(**args)
  @cross_profile_copy_paste = args[:cross_profile_copy_paste] if args.key?(:cross_profile_copy_paste)
  @cross_profile_data_sharing = args[:cross_profile_data_sharing] if args.key?(:cross_profile_data_sharing)
  @show_work_contacts_in_personal_profile = args[:show_work_contacts_in_personal_profile] if args.key?(:show_work_contacts_in_personal_profile)
end