Class: Google::Apis::AndroidmanagementV1::Application
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::Application
- 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
Application information.
Instance Attribute Summary collapse
-
#managed_properties ⇒ Array<Google::Apis::AndroidmanagementV1::ManagedProperty>
The set of managed properties available to be pre-configured for the application.
-
#name ⇒ String
The name of the application in the form enterprises/
enterpriseId
/ applications/package_name
Corresponds to the JSON propertyname
. -
#permissions ⇒ Array<Google::Apis::AndroidmanagementV1::ApplicationPermission>
The permissions required by the app.
-
#title ⇒ String
The title of the application.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Application
constructor
A new instance of Application.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Application
Returns a new instance of Application
74 75 76 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 74 def initialize(**args) update!(**args) end |
Instance Attribute Details
#managed_properties ⇒ Array<Google::Apis::AndroidmanagementV1::ManagedProperty>
The set of managed properties available to be pre-configured for the
application.
Corresponds to the JSON property managedProperties
56 57 58 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 56 def managed_properties @managed_properties end |
#name ⇒ String
The name of the application in the form enterprises/enterpriseId
/
applications/package_name
Corresponds to the JSON property name
62 63 64 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 62 def name @name end |
#permissions ⇒ Array<Google::Apis::AndroidmanagementV1::ApplicationPermission>
The permissions required by the app.
Corresponds to the JSON property permissions
67 68 69 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 67 def @permissions end |
#title ⇒ String
The title of the application. Localized.
Corresponds to the JSON property title
72 73 74 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 72 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
79 80 81 82 83 84 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 79 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 |