Class PartnersResource.DevicesResource.MetadataRequest
Updates reseller metadata associated with the device. Android devices only.
Inheritance
PartnersResource.DevicesResource.MetadataRequest
Inherited Members
Namespace: Google.Apis.AndroidProvisioningPartner.v1
Assembly: Google.Apis.AndroidProvisioningPartner.v1.dll
Syntax
public class PartnersResource.DevicesResource.MetadataRequest : AndroidProvisioningPartnerBaseServiceRequest<DeviceMetadata>, IClientServiceRequest<DeviceMetadata>, IClientServiceRequest
Constructors
MetadataRequest(IClientService, UpdateDeviceMetadataRequest, long, long)
Constructs a new Metadata request.
Declaration
public MetadataRequest(IClientService service, UpdateDeviceMetadataRequest body, long metadataOwnerId, long deviceId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UpdateDeviceMetadataRequest | body | |
long | metadataOwnerId | |
long | deviceId |
Properties
DeviceId
Required. The ID of the device.
Declaration
[RequestParameter("deviceId", RequestParameterType.Path)]
public virtual long DeviceId { get; }
Property Value
Type | Description |
---|---|
long |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MetadataOwnerId
Required. The owner of the newly set metadata. Set this to the partner ID.
Declaration
[RequestParameter("metadataOwnerId", RequestParameterType.Path)]
public virtual long MetadataOwnerId { get; }
Property Value
Type | Description |
---|---|
long |
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 Metadata parameter list.
Declaration
protected override void InitParameters()