Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse

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 that have requested the queried extension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse

Returns a new instance of GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse.



1719
1720
1721
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1719

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

Instance Attribute Details

#device_detailsArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceRequestingExtensionDetails>

Details of devices that have requested the queried extension. Corresponds to the JSON property deviceDetails



1706
1707
1708
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1706

def device_details
  @device_details
end

#next_page_tokenString

Optional. Token to specify the next page in the list. Token expires after 1 day. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1712
1713
1714
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1712

def next_page_token
  @next_page_token
end

#total_sizeFixnum

Optional. Total number of devices in response. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


1717
1718
1719
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1717

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1724
1725
1726
1727
1728
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1724

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