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.



1449
1450
1451
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1449

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



1437
1438
1439
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1437

def devices
  @devices
end

#next_page_tokenString

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

Returns:

  • (String)


1442
1443
1444
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1442

def next_page_token
  @next_page_token
end

#total_sizeFixnum

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

Returns:

  • (Fixnum)


1447
1448
1449
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1447

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1454
1455
1456
1457
1458
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1454

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