Class DevicesResource.DeviceUsersResource.ClientStatesResource.GetRequest
Gets the client state for the device user
Inheritance
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1beta1
Assembly: Google.Apis.CloudIdentity.v1beta1.dll
Syntax
public class DevicesResource.DeviceUsersResource.ClientStatesResource.GetRequest : CloudIdentityBaseServiceRequest<ClientState>, IClientServiceRequest<ClientState>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
Customer
Optional. Resource name of the customer.
If you're using this API for your own organization, use customers/my_customer
If you're using
this API to manage another organization, use customers/{customer_id}
, where customer_id is the
customer to whom the device belongs.
Declaration
[RequestParameter("customer", RequestParameterType.Query)]
public virtual string Customer { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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}
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()