Class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse

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 containing resource names of the DeviceUsers associated with the caller's credentials.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse

Returns a new instance of GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse.



1282
1283
1284
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1282

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

Instance Attribute Details

#customerString

The customer resource name that may be passed back to other Devices API methods such as List, Get, etc. Corresponds to the JSON property customer

Returns:

  • (String)


1267
1268
1269
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1267

def customer
  @customer
end

#namesArray<String>

Resource names of the DeviceUsers in the format: devices/device/deviceUsers/user_resource`, where device is the unique ID assigned to a Device and user_resource is the unique user ID Corresponds to the JSON propertynames`

Returns:

  • (Array<String>)


1275
1276
1277
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1275

def names
  @names
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)


1280
1281
1282
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1280

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1287
1288
1289
1290
1291
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1287

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