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



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

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



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

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)


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

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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