Class CreateDeviceRequest
Request message for creating a Company Owned device.
Implements
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1beta1.Data
Assembly: Google.Apis.CloudIdentity.v1beta1.dll
Syntax
public class CreateDeviceRequest : IDirectResponseSchema
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
[JsonProperty("customer")]
public virtual string Customer { get; set; }
Property Value
Type | Description |
---|---|
string |
Device
Required. The device to be created. The name field within this device is ignored in the create method. A new
name is created by the method, and returned within the response. Only the fields device_type
,
serial_number
and asset_tag
(if present) are used to create the device. All other fields are ignored.
The device_type
and serial_number
fields are required.
Declaration
[JsonProperty("device")]
public virtual Device Device { get; set; }
Property Value
Type | Description |
---|---|
Device |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |