Class: Google::Apis::AndroidmanagementV1::CrossProfilePolicies
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::CrossProfilePolicies
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb
Overview
Cross-profile policies applied on the device.
Instance Attribute Summary collapse
-
#cross_profile_copy_paste ⇒ String
Whether text copied from one profile (personal or work) can be pasted in the other profile.
-
#cross_profile_data_sharing ⇒ String
Whether data from one profile (personal or work) can be shared with apps in the other profile.
-
#show_work_contacts_in_personal_profile ⇒ String
Whether contacts stored in the work profile can be shown in personal profile contact searches and incoming calls.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CrossProfilePolicies
constructor
A new instance of CrossProfilePolicies.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CrossProfilePolicies
Returns a new instance of CrossProfilePolicies.
990 991 992 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 990 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cross_profile_copy_paste ⇒ String
Whether text copied from one profile (personal or work) can be pasted in the
other profile.
Corresponds to the JSON property crossProfileCopyPaste
973 974 975 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 973 def cross_profile_copy_paste @cross_profile_copy_paste end |
#cross_profile_data_sharing ⇒ String
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
982 983 984 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 982 def cross_profile_data_sharing @cross_profile_data_sharing end |
#show_work_contacts_in_personal_profile ⇒ String
Whether contacts stored in the work profile can be shown in personal profile
contact searches and incoming calls.
Corresponds to the JSON property showWorkContactsInPersonalProfile
988 989 990 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 988 def show_work_contacts_in_personal_profile @show_work_contacts_in_personal_profile end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
995 996 997 998 999 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 995 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 |