Class: Google::Apis::CloudiotV1beta1::ListDevicesResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CloudiotV1beta1::ListDevicesResponse
 
- Defined in:
- generated/google/apis/cloudiot_v1beta1/classes.rb,
 generated/google/apis/cloudiot_v1beta1/representations.rb,
 generated/google/apis/cloudiot_v1beta1/representations.rb
Overview
Response for ListDevices.
Instance Attribute Summary collapse
- 
  
    
      #devices  ⇒ Array<Google::Apis::CloudiotV1beta1::Device> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The devices that match the request. 
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    If not empty, indicates that there may be more devices that match the request; this value should be passed in a new ListDevicesRequest.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListDevicesResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListDevicesResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListDevicesResponse
Returns a new instance of ListDevicesResponse
| 606 607 608 | # File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 606 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#devices ⇒ Array<Google::Apis::CloudiotV1beta1::Device>
The devices that match the request.
Corresponds to the JSON property devices
| 598 599 600 | # File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 598 def devices @devices end | 
#next_page_token ⇒ String
If not empty, indicates that there may be more devices that match the
request; this value should be passed in a new ListDevicesRequest.
Corresponds to the JSON property nextPageToken
| 604 605 606 | # File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 604 def next_page_token @next_page_token end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 611 612 613 614 | # File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 611 def update!(**args) @devices = args[:devices] if args.key?(:devices) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |