Class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ListDevicesResponse

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

Overview

Response message that is returned from the ListDevices method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsCloudidentityDevicesV1ListDevicesResponse

Returns a new instance of GoogleAppsCloudidentityDevicesV1ListDevicesResponse.



1234
1235
1236
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1234

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

Instance Attribute Details

#devicesArray<Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device>

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



1227
1228
1229
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1227

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)


1232
1233
1234
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1232

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1239
1240
1241
1242
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1239

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