Show / Hide Table of Contents

Class DevicesResource.DeviceUsersResource.ClientStatesResource

The "clientStates" collection of methods.

Inheritance
object
DevicesResource.DeviceUsersResource.ClientStatesResource
Inherited Members
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.ClientStatesResource

Constructors

ClientStatesResource(IClientService)

Constructs a new resource.

Declaration
public ClientStatesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Get(string)

Gets the client state for the device user

Declaration
public virtual DevicesResource.DeviceUsersResource.ClientStatesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Resource name of the ClientState in format: devices/{device_id}/deviceUsers/{device_user_id}/clientStates/{partner_id}, where device_id is the unique ID assigned to the Device, device_user_id is the unique ID assigned to the User and partner_id identifies the partner storing the data. To get the client state for devices belonging to your own organization, the partnerId is in the format: customerId-*anystring*. Where the customerId is your organization's customer ID and anystring is any suffix. This suffix is used in setting up Custom Access Levels in Context-Aware Access. You may use my_customer instead of the customer ID for devices managed by your own organization. You may specify - in place of the {device_id}, so the ClientState resource name can be: devices/-/deviceUsers/{device_user_resource_id}/clientStates/{partner_id}.

Returns
Type Description
DevicesResource.DeviceUsersResource.ClientStatesResource.GetRequest

Patch(ClientState, string)

Updates the client state for the device user Note: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium

Declaration
public virtual DevicesResource.DeviceUsersResource.ClientStatesResource.PatchRequest Patch(ClientState body, string name)
Parameters
Type Name Description
ClientState body

The body of the request.

string name

Output only. Resource name of the ClientState in format: devices/{device_id}/deviceUsers/{device_user_id}/clientState/{partner_id}, where partner_id corresponds to the partner storing the data.

Returns
Type Description
DevicesResource.DeviceUsersResource.ClientStatesResource.PatchRequest
In this article
Back to top Generated by DocFX