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

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

Information about an app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Application

Returns a new instance of Application.



191
192
193
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 191

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

Instance Attribute Details

#app_tracksArray<Google::Apis::AndroidmanagementV1::AppTrackInfo>

Application tracks visible to the enterprise. Corresponds to the JSON property appTracks



168
169
170
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 168

def app_tracks
  @app_tracks
end

#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



173
174
175
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 173

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)


179
180
181
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 179

def name
  @name
end

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

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



184
185
186
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 184

def permissions
  @permissions
end

#titleString

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

Returns:

  • (String)


189
190
191
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 189

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



196
197
198
199
200
201
202
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 196

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