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.



1386
1387
1388
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1386

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



1374
1375
1376
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1374

def devices
  @devices
end

#next_page_tokenString

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

Returns:

  • (String)


1379
1380
1381
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1379

def next_page_token
  @next_page_token
end

#total_sizeFixnum

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

Returns:

  • (Fixnum)


1384
1385
1386
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1384

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1391
1392
1393
1394
1395
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1391

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