Skip to content

Commit c02a951

Browse files
1 parent f516258 commit c02a951

2 files changed

Lines changed: 21 additions & 8 deletions

File tree

src/CloudIdentity.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
374374
'location' => 'query',
375375
'type' => 'string',
376376
],
377+
'iosDeviceId' => [
378+
'location' => 'query',
379+
'type' => 'string',
380+
],
377381
'pageSize' => [
378382
'location' => 'query',
379383
'type' => 'integer',
@@ -382,6 +386,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
382386
'location' => 'query',
383387
'type' => 'string',
384388
],
389+
'partner' => [
390+
'location' => 'query',
391+
'type' => 'string',
392+
],
385393
'rawResourceId' => [
386394
'location' => 'query',
387395
'type' => 'string',

src/CloudIdentity/Resource/DevicesDeviceUsers.php

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,10 @@ public function listDevicesDeviceUsers($parent, $optParams = [])
190190
* properties are provided, only DeviceUsers having all of these properties are
191191
* considered as matches - i.e. the query behaves like an AND. Different
192192
* platforms require different amounts of information from the caller to ensure
193-
* that the DeviceUser is uniquely identified. - iOS: No properties need to be
194-
* passed, the caller's credentials are sufficient to identify the corresponding
195-
* DeviceUser. - Android: Specifying the 'android_id' field is required. -
196-
* Desktop: Specifying the 'raw_resource_id' field is required.
197-
* (deviceUsers.lookup)
193+
* that the DeviceUser is uniquely identified. - iOS: Specifying the 'partner'
194+
* and 'ios_device_id' fields is required. - Android: Specifying the
195+
* 'android_id' field is required. - Desktop: Specifying the 'raw_resource_id'
196+
* field is required. (deviceUsers.lookup)
198197
*
199198
* @param string $parent Must be set to "devices/-/deviceUsers" to search across
200199
* all DeviceUser belonging to the user.
@@ -203,19 +202,25 @@ public function listDevicesDeviceUsers($parent, $optParams = [])
203202
* @opt_param string androidId Android Id returned by [Settings.Secure#ANDROID_I
204203
* D](https://developer.android.com/reference/android/provider/Settings.Secure.h
205204
* tml#ANDROID_ID).
205+
* @opt_param string iosDeviceId Optional. The partner-specified device
206+
* identifier assigned to the iOS device that initiated the Lookup API call.
207+
* This string must match the value of the iosDeviceId key in the app config
208+
* dictionary provided to Google Workspace apps.
206209
* @opt_param int pageSize The maximum number of DeviceUsers to return. If
207210
* unspecified, at most 20 DeviceUsers will be returned. The maximum value is
208211
* 20; values above 20 will be coerced to 20.
209212
* @opt_param string pageToken A page token, received from a previous
210213
* `LookupDeviceUsers` call. Provide this to retrieve the subsequent page. When
211214
* paginating, all other parameters provided to `LookupDeviceUsers` must match
212215
* the call that provided the page token.
216+
* @opt_param string partner Optional. The partner ID of the calling iOS app.
217+
* This string must match the value of the partner key within the app
218+
* configuration dictionary provided to Google Workspace apps.
213219
* @opt_param string rawResourceId Raw Resource Id used by Google Endpoint
214220
* Verification. If the user is enrolled into Google Endpoint Verification, this
215221
* id will be saved as the 'device_resource_id' field in the following platform
216-
* dependent files. * macOS: ~/.secureConnect/context_aware_config.json *
217-
* Windows: %USERPROFILE%\AppData\Local\Google\Endpoint
218-
* Verification\accounts.json * Linux:
222+
* dependent files. Mac: ~/.secureConnect/context_aware_config.json Windows:
223+
* C:\Users\%USERPROFILE%\.secureConnect\context_aware_config.json Linux:
219224
* ~/.secureConnect/context_aware_config.json
220225
* @opt_param string userId The user whose DeviceUser's resource name will be
221226
* fetched. Must be set to 'me' to fetch the DeviceUser's resource name for the

0 commit comments

Comments
 (0)