Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1FindInstalledAppDevicesResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb

Overview

Response containing a list of devices with queried app installed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1FindInstalledAppDevicesResponse

Returns a new instance of GoogleChromeManagementV1FindInstalledAppDevicesResponse.



1782
1783
1784
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1782

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

Instance Attribute Details

#devicesArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1Device>

A list of devices which have the app installed. Sorted in ascending alphabetical order on the Device.machine field. Corresponds to the JSON property devices



1770
1771
1772
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1770

def devices
  @devices
end

#next_page_tokenString

Token to specify the next page of the request. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1775
1776
1777
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1775

def next_page_token
  @next_page_token
end

#total_sizeFixnum

Total number of devices matching request. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


1780
1781
1782
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1780

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1787
1788
1789
1790
1791
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1787

def update!(**args)
  @devices = args[:devices] if args.key?(:devices)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @total_size = args[:total_size] if args.key?(:total_size)
end