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
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>
CloudIdentityBaseServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>
DevicesResource.DeviceUsersResource.LookupRequest
Implements
Google.Apis.Requests.IClientServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
CloudIdentityBaseServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.Xgafv
CloudIdentityBaseServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.AccessToken
CloudIdentityBaseServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.Alt
CloudIdentityBaseServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.Callback
CloudIdentityBaseServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.Fields
CloudIdentityBaseServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.Key
CloudIdentityBaseServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.OauthToken
CloudIdentityBaseServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.PrettyPrint
CloudIdentityBaseServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.QuotaUser
CloudIdentityBaseServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.UploadType
CloudIdentityBaseServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudIdentity.v1
Assembly: Google.Apis.CloudIdentity.v1.dll
Syntax
public class LookupRequest : CloudIdentityBaseServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>, IClientServiceRequest<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>, IClientServiceRequest

Constructors

LookupRequest(IClientService, String)

Constructs a new Lookup request.

Declaration
public LookupRequest(IClientService service, string parent)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
System.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
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.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
System.Nullable<System.Int32>

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
System.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
System.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
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.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
System.String

Methods

InitParameters()

Initializes Lookup parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudIdentity.v1.CloudIdentityBaseServiceRequest<Google.Apis.CloudIdentity.v1.Data.GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top