Class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/smartdevicemanagement_v1/classes.rb,
generated/google/apis/smartdevicemanagement_v1/representations.rb,
generated/google/apis/smartdevicemanagement_v1/representations.rb

Overview

Response message for SmartDeviceManagementService.ListDevices

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleHomeEnterpriseSdmV1ListDevicesResponse

Returns a new instance of GoogleHomeEnterpriseSdmV1ListDevicesResponse.



126
127
128
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 126

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

Instance Attribute Details

#devicesArray<Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device>

The list of devices. Corresponds to the JSON property devices



119
120
121
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 119

def devices
  @devices
end

#next_page_tokenString

The pagination token to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


124
125
126
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 124

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



131
132
133
134
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 131

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