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.



1063
1064
1065
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1063

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



1055
1056
1057
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1055

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)


1061
1062
1063
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1061

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1068
1069
1070
1071
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1068

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