Class ProjectsResource.LocationsResource.RegistriesResource.DevicesResource.ModifyCloudToDeviceConfigRequest
Modifies the configuration for the device, which is eventually sent from the Cloud IoT Core servers. Returns the modified configuration version and its metadata.
Inheritance
object
ProjectsResource.LocationsResource.RegistriesResource.DevicesResource.ModifyCloudToDeviceConfigRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudIot.v1
Assembly: Google.Apis.CloudIot.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RegistriesResource.DevicesResource.ModifyCloudToDeviceConfigRequest : CloudIotBaseServiceRequest<DeviceConfig>, IClientServiceRequest<DeviceConfig>, IClientServiceRequest
Constructors
ModifyCloudToDeviceConfigRequest(IClientService, ModifyCloudToDeviceConfigRequest, string)
Constructs a new ModifyCloudToDeviceConfig request.
Declaration
public ModifyCloudToDeviceConfigRequest(IClientService service, ModifyCloudToDeviceConfigRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ModifyCloudToDeviceConfigRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIot.v1.Data.DeviceConfig>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIot.v1.Data.DeviceConfig>.MethodName
Name
Required. The name of the device. For example,
projects/p0/locations/us-central1/registries/registry0/devices/device0
or
projects/p0/locations/us-central1/registries/registry0/devices/{num_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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIot.v1.Data.DeviceConfig>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIot.v1.Data.DeviceConfig>.GetBody()
InitParameters()
Initializes ModifyCloudToDeviceConfig parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudIot.v1.CloudIotBaseServiceRequest<Google.Apis.CloudIot.v1.Data.DeviceConfig>.InitParameters()