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.



1349
1350
1351
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1349

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



1337
1338
1339
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1337

def devices
  @devices
end

#next_page_tokenString

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

Returns:

  • (String)


1342
1343
1344
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1342

def next_page_token
  @next_page_token
end

#total_sizeFixnum

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

Returns:

  • (Fixnum)


1347
1348
1349
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1347

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1354
1355
1356
1357
1358
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1354

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