Class: Google::Apis::CloudidentityV1beta1::ListDevicesResponse

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

Overview

Response message that is returned from the ListDevices method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDevicesResponse

Returns a new instance of ListDevicesResponse.



1636
1637
1638
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1636

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

Instance Attribute Details

#devicesArray<Google::Apis::CloudidentityV1beta1::Device>

Devices meeting the list restrictions. Corresponds to the JSON property devices



1629
1630
1631
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1629

def devices
  @devices
end

#next_page_tokenString

Token to retrieve the next page of results. Empty if there are no more results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1634
1635
1636
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1634

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1641
1642
1643
1644
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1641

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