class Google::Apis::AdminDirectoryV1::MobileDevice::Application

Attributes

display_name[RW]

The application's display name. An example is `Browser`. Corresponds to the JSON property `displayName` @return [String]

package_name[RW]

The application's package name. An example is `com.android.browser`. Corresponds to the JSON property `packageName` @return [String]

permission[RW]

The list of permissions of this application. These can be either a standard Android permission or one defined by the application, and are found in an application's [Android manifest](developer.android.com/guide/topics/ manifest/uses-permission-element.html). Examples of a Calendar application's permissions are `READ_CALENDAR`, or `MANAGE_ACCOUNTS`. Corresponds to the JSON property `permission` @return [Array<String>]

version_code[RW]

The application's version code. An example is `13`. Corresponds to the JSON property `versionCode` @return [Fixnum]

version_name[RW]

The application's version name. An example is `3.2-140714`. Corresponds to the JSON property `versionName` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admin_directory_v1/classes.rb, line 2701
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @package_name = args[:package_name] if args.key?(:package_name)
  @permission = args[:permission] if args.key?(:permission)
  @version_code = args[:version_code] if args.key?(:version_code)
  @version_name = args[:version_name] if args.key?(:version_name)
end