Class: Google::Apis::AndroidmanagementV1::PersonalApplicationPolicy
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::PersonalApplicationPolicy
- 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
Policies for apps in the personal profile of a company-owned device with a work profile.
Instance Attribute Summary collapse
-
#install_type ⇒ String
The type of installation to perform.
-
#package_name ⇒ String
The package name of the application.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PersonalApplicationPolicy
constructor
A new instance of PersonalApplicationPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PersonalApplicationPolicy
Returns a new instance of PersonalApplicationPolicy.
3825 3826 3827 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3825 def initialize(**args) update!(**args) end |
Instance Attribute Details
#install_type ⇒ String
The type of installation to perform.
Corresponds to the JSON property installType
3818 3819 3820 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3818 def install_type @install_type end |
#package_name ⇒ String
The package name of the application.
Corresponds to the JSON property packageName
3823 3824 3825 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3823 def package_name @package_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3830 3831 3832 3833 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3830 def update!(**args) @install_type = args[:install_type] if args.key?(:install_type) @package_name = args[:package_name] if args.key?(:package_name) end |