Class DevicesResource.CreateRequest
Creates a device. Only company-owned device may be created. 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
Inheritance
DevicesResource.CreateRequest
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1
Assembly: Google.Apis.CloudIdentity.v1.dll
Syntax
public class DevicesResource.CreateRequest : CloudIdentityBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleAppsCloudidentityDevicesV1Device)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleAppsCloudidentityDevicesV1Device body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleAppsCloudidentityDevicesV1Device | body |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()