Class DevicesResource.DeviceUsersResource.ClientStatesResource.GetRequest
Gets the client state for the device user
Inheritance
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1
Assembly: Google.Apis.CloudIdentity.v1.dll
Syntax
public class DevicesResource.DeviceUsersResource.ClientStatesResource.GetRequest : CloudIdentityBaseServiceRequest<GoogleAppsCloudidentityDevicesV1ClientState>, IClientServiceRequest<GoogleAppsCloudidentityDevicesV1ClientState>, 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}
, where customer 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}/deviceUsers/{device_user}/clientStates/{partner}
,
where device
is the unique ID assigned to the Device, device_user
is the unique ID assigned
to the User and partner
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}
, so the ClientState
resource name can be: devices/-/deviceUsers/{device_user_resource}/clientStates/{partner}
.
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()