Class: Google::Apis::AndroidmanagementV1::PersonalApplicationPolicy

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PersonalApplicationPolicy

Returns a new instance of PersonalApplicationPolicy.



2398
2399
2400
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2398

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#install_typeString

The type of installation to perform. Corresponds to the JSON property installType

Returns:

  • (String)


2391
2392
2393
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2391

def install_type
  @install_type
end

#package_nameString

The package name of the application. Corresponds to the JSON property packageName

Returns:

  • (String)


2396
2397
2398
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2396

def package_name
  @package_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2403
2404
2405
2406
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2403

def update!(**args)
  @install_type = args[:install_type] if args.key?(:install_type)
  @package_name = args[:package_name] if args.key?(:package_name)
end