Class: Google::Apis::AndroidmanagementV1::Application

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/google/apis/androidmanagement_v1/representations.rb

Overview

Information about an app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Application

Returns a new instance of Application



99
100
101
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 99

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

Instance Attribute Details

#managed_propertiesArray<Google::Apis::AndroidmanagementV1::ManagedProperty>

The set of managed properties available to be pre-configured for the app. Corresponds to the JSON property managedProperties



81
82
83
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 81

def managed_properties
  @managed_properties
end

#nameString

The name of the app in the form enterprises/enterpriseId/applications/ package_name. Corresponds to the JSON property name

Returns:

  • (String)


87
88
89
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 87

def name
  @name
end

#permissionsArray<Google::Apis::AndroidmanagementV1::ApplicationPermission>

The permissions required by the app. Corresponds to the JSON property permissions



92
93
94
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 92

def permissions
  @permissions
end

#titleString

The title of the app. Localized. Corresponds to the JSON property title

Returns:

  • (String)


97
98
99
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 97

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



104
105
106
107
108
109
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 104

def update!(**args)
  @managed_properties = args[:managed_properties] if args.key?(:managed_properties)
  @name = args[:name] if args.key?(:name)
  @permissions = args[:permissions] if args.key?(:permissions)
  @title = args[:title] if args.key?(:title)
end