Class: Google::Apis::AndroidmanagementV1::Application
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::Application
- 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
Information about an app.
Instance Attribute Summary collapse
-
#app_tracks ⇒ Array<Google::Apis::AndroidmanagementV1::AppTrackInfo>
Application tracks visible to the enterprise.
-
#managed_properties ⇒ Array<Google::Apis::AndroidmanagementV1::ManagedProperty>
The set of managed properties available to be pre-configured for the app.
-
#name ⇒ String
The name of the app in the form enterprises/
enterprise/applications/package_name. -
#permissions ⇒ Array<Google::Apis::AndroidmanagementV1::ApplicationPermission>
The permissions required by the app.
-
#title ⇒ String
The title of the app.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Application
constructor
A new instance of Application.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Application
Returns a new instance of Application.
190 191 192 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 190 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_tracks ⇒ Array<Google::Apis::AndroidmanagementV1::AppTrackInfo>
Application tracks visible to the enterprise.
Corresponds to the JSON property appTracks
167 168 169 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 167 def app_tracks @app_tracks end |
#managed_properties ⇒ Array<Google::Apis::AndroidmanagementV1::ManagedProperty>
The set of managed properties available to be pre-configured for the app.
Corresponds to the JSON property managedProperties
172 173 174 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 172 def managed_properties @managed_properties end |
#name ⇒ String
The name of the app in the form enterprises/enterprise/applications/
package_name.
Corresponds to the JSON property name
178 179 180 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 178 def name @name end |
#permissions ⇒ Array<Google::Apis::AndroidmanagementV1::ApplicationPermission>
The permissions required by the app.
Corresponds to the JSON property permissions
183 184 185 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 183 def @permissions end |
#title ⇒ String
The title of the app. Localized.
Corresponds to the JSON property title
188 189 190 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 188 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
195 196 197 198 199 200 201 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 195 def update!(**args) @app_tracks = args[:app_tracks] if args.key?(:app_tracks) @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 |