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



1225
1226
1227
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1225

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



1217
1218
1219
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1217

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)


1223
1224
1225
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1223

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1230
1231
1232
1233
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1230

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