Class: Google::Apis::AndroidenterpriseV1::ListInstallsResponse

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

Overview

The install resources for the device.

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) ⇒ ListInstallsResponse

Returns a new instance of ListInstallsResponse.



1307
1308
1309
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1307

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

Instance Attribute Details

#installArray<Google::Apis::AndroidenterpriseV1::Install>

An installation of an app for a user on a specific device. The existence of an install implies that the user must have an entitlement to the app. Corresponds to the JSON property install



1299
1300
1301
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1299

def install
  @install
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " androidenterprise#installsListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


1305
1306
1307
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1305

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1312
1313
1314
1315
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1312

def update!(**args)
  @install = args[:install] if args.key?(:install)
  @kind = args[:kind] if args.key?(:kind)
end