@@ -745,16 +745,19 @@ def list_device_device_users(parent, customer: nil, filter: nil, order_by: nil,
745745 # provided, only DeviceUsers having all of these properties are considered as
746746 # matches - i.e. the query behaves like an AND. Different platforms require
747747 # different amounts of information from the caller to ensure that the DeviceUser
748- # is uniquely identified. - iOS: No properties need to be passed, the caller's
749- # credentials are sufficient to identify the corresponding DeviceUser. - Android:
750- # Specifying the 'android_id' field is required. - Desktop: Specifying the '
751- # raw_resource_id' field is required.
748+ # is uniquely identified. - iOS: Specifying the 'partner' and 'ios_device_id'
749+ # fields is required. - Android: Specifying the 'android_id' field is required. -
750+ # Desktop: Specifying the 'raw_resource_id' field is required.
752751 # @param [String] parent
753752 # Must be set to "devices/-/deviceUsers" to search across all DeviceUser
754753 # belonging to the user.
755754 # @param [String] android_id
756755 # Android Id returned by [Settings.Secure#ANDROID_ID](https://developer.android.
757756 # com/reference/android/provider/Settings.Secure.html#ANDROID_ID).
757+ # @param [String] ios_device_id
758+ # Optional. The partner-specified device identifier assigned to the iOS device
759+ # that initiated the Lookup API call. This string must match the value of the
760+ # iosDeviceId key in the app config dictionary provided to Google Workspace apps.
758761 # @param [Fixnum] page_size
759762 # The maximum number of DeviceUsers to return. If unspecified, at most 20
760763 # DeviceUsers will be returned. The maximum value is 20; values above 20 will be
@@ -764,6 +767,10 @@ def list_device_device_users(parent, customer: nil, filter: nil, order_by: nil,
764767 # to retrieve the subsequent page. When paginating, all other parameters
765768 # provided to `LookupDeviceUsers` must match the call that provided the page
766769 # token.
770+ # @param [String] partner
771+ # Optional. The partner ID of the calling iOS app. This string must match the
772+ # value of the partner key within the app configuration dictionary provided to
773+ # Google Workspace apps.
767774 # @param [String] raw_resource_id
768775 # Raw Resource Id used by Google Endpoint Verification. If the user is enrolled
769776 # into Google Endpoint Verification, this id will be saved as the '
@@ -791,14 +798,16 @@ def list_device_device_users(parent, customer: nil, filter: nil, order_by: nil,
791798 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
792799 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
793800 # @raise [Google::Apis::AuthorizationError] Authorization is required
794- def lookup_device_device_user ( parent , android_id : nil , page_size : nil , page_token : nil , raw_resource_id : nil , user_id : nil , fields : nil , quota_user : nil , options : nil , &block )
801+ def lookup_device_device_user ( parent , android_id : nil , ios_device_id : nil , page_size : nil , page_token : nil , partner : nil , raw_resource_id : nil , user_id : nil , fields : nil , quota_user : nil , options : nil , &block )
795802 command = make_simple_command ( :get , 'v1beta1/{+parent}:lookup' , options )
796803 command . response_representation = Google ::Apis ::CloudidentityV1beta1 ::LookupSelfDeviceUsersResponse ::Representation
797804 command . response_class = Google ::Apis ::CloudidentityV1beta1 ::LookupSelfDeviceUsersResponse
798805 command . params [ 'parent' ] = parent unless parent . nil?
799806 command . query [ 'androidId' ] = android_id unless android_id . nil?
807+ command . query [ 'iosDeviceId' ] = ios_device_id unless ios_device_id . nil?
800808 command . query [ 'pageSize' ] = page_size unless page_size . nil?
801809 command . query [ 'pageToken' ] = page_token unless page_token . nil?
810+ command . query [ 'partner' ] = partner unless partner . nil?
802811 command . query [ 'rawResourceId' ] = raw_resource_id unless raw_resource_id . nil?
803812 command . query [ 'userId' ] = user_id unless user_id . nil?
804813 command . query [ 'fields' ] = fields unless fields . nil?
0 commit comments