Show / Hide Table of Contents

Class DevicesResource.DeviceUsersResource.LookupRequest

Looks up resource names of the DeviceUsers associated with the caller's credentials, as well as the properties provided in the request. This method must be called with end-user credentials with the scope: https://www.googleapis.com/auth/cloud-identity.devices.lookup If multiple properties are provided, only DeviceUsers having all of these properties are considered as matches - i.e. the query behaves like an AND. Different platforms require different amounts of information from the caller to ensure that the DeviceUser is uniquely identified. - iOS: No properties need to be passed, the caller's credentials are sufficient to identify the corresponding DeviceUser. - Android: Specifying the 'android_id' field is required. - Desktop: Specifying the 'raw_resource_id' field is required.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<LookupSelfDeviceUsersResponse>
CloudIdentityBaseServiceRequest<LookupSelfDeviceUsersResponse>
DevicesResource.DeviceUsersResource.LookupRequest
Implements
IClientServiceRequest<LookupSelfDeviceUsersResponse>
IClientServiceRequest
Inherited Members
CloudIdentityBaseServiceRequest<LookupSelfDeviceUsersResponse>.Xgafv
CloudIdentityBaseServiceRequest<LookupSelfDeviceUsersResponse>.AccessToken
CloudIdentityBaseServiceRequest<LookupSelfDeviceUsersResponse>.Alt
CloudIdentityBaseServiceRequest<LookupSelfDeviceUsersResponse>.Callback
CloudIdentityBaseServiceRequest<LookupSelfDeviceUsersResponse>.Fields
CloudIdentityBaseServiceRequest<LookupSelfDeviceUsersResponse>.Key
CloudIdentityBaseServiceRequest<LookupSelfDeviceUsersResponse>.OauthToken
CloudIdentityBaseServiceRequest<LookupSelfDeviceUsersResponse>.PrettyPrint
CloudIdentityBaseServiceRequest<LookupSelfDeviceUsersResponse>.QuotaUser
CloudIdentityBaseServiceRequest<LookupSelfDeviceUsersResponse>.UploadType
CloudIdentityBaseServiceRequest<LookupSelfDeviceUsersResponse>.UploadProtocol
ClientServiceRequest<LookupSelfDeviceUsersResponse>.Execute()
ClientServiceRequest<LookupSelfDeviceUsersResponse>.ExecuteAsStream()
ClientServiceRequest<LookupSelfDeviceUsersResponse>.ExecuteAsync()
ClientServiceRequest<LookupSelfDeviceUsersResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<LookupSelfDeviceUsersResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<LookupSelfDeviceUsersResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<LookupSelfDeviceUsersResponse>.CreateRequest(bool?)
ClientServiceRequest<LookupSelfDeviceUsersResponse>.GenerateRequestUri()
ClientServiceRequest<LookupSelfDeviceUsersResponse>.GetBody()
ClientServiceRequest<LookupSelfDeviceUsersResponse>.GetDefaultETagAction(string)
ClientServiceRequest<LookupSelfDeviceUsersResponse>.ETagAction
ClientServiceRequest<LookupSelfDeviceUsersResponse>.ModifyRequest
ClientServiceRequest<LookupSelfDeviceUsersResponse>.ValidateParameters
ClientServiceRequest<LookupSelfDeviceUsersResponse>.ApiVersion
ClientServiceRequest<LookupSelfDeviceUsersResponse>.RequestParameters
ClientServiceRequest<LookupSelfDeviceUsersResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudIdentity.v1beta1
Assembly: Google.Apis.CloudIdentity.v1beta1.dll
Syntax
public class DevicesResource.DeviceUsersResource.LookupRequest : CloudIdentityBaseServiceRequest<LookupSelfDeviceUsersResponse>, IClientServiceRequest<LookupSelfDeviceUsersResponse>, IClientServiceRequest

Constructors

LookupRequest(IClientService, string)

Constructs a new Lookup request.

Declaration
public LookupRequest(IClientService service, string parent)
Parameters
Type Name Description
IClientService service
string parent

Properties

AndroidId

Android Id returned by Settings.Secure#ANDROID_ID.

Declaration
[RequestParameter("androidId", RequestParameterType.Query)]
public virtual string AndroidId { get; set; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<LookupSelfDeviceUsersResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<LookupSelfDeviceUsersResponse>.MethodName

PageSize

The maximum number of DeviceUsers to return. If unspecified, at most 20 DeviceUsers will be returned. The maximum value is 20; values above 20 will be coerced to 20.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

A page token, received from a previous LookupDeviceUsers call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to LookupDeviceUsers must match the call that provided the page token.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

Parent

Must be set to "devices/-/deviceUsers" to search across all DeviceUser belonging to the user.

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

RawResourceId

Raw Resource Id used by Google Endpoint Verification. If the user is enrolled into Google Endpoint Verification, this id will be saved as the 'device_resource_id' field in the following platform dependent files. Mac: ~/.secureConnect/context_aware_config.json Windows: C:\Users%USERPROFILE%.secureConnect\context_aware_config.json Linux: ~/.secureConnect/context_aware_config.json

Declaration
[RequestParameter("rawResourceId", RequestParameterType.Query)]
public virtual string RawResourceId { get; set; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<LookupSelfDeviceUsersResponse>.RestPath

UserId

The user whose DeviceUser's resource name will be fetched. Must be set to 'me' to fetch the DeviceUser's resource name for the calling user.

Declaration
[RequestParameter("userId", RequestParameterType.Query)]
public virtual string UserId { get; set; }
Property Value
Type Description
string

Methods

InitParameters()

Initializes Lookup parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudIdentityBaseServiceRequest<LookupSelfDeviceUsersResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX