public sealed class UpdateDeviceRequest : IMessage<UpdateDeviceRequest>, IEquatable<UpdateDeviceRequest>, IDeepCloneable<UpdateDeviceRequest>, IBufferMessage, IMessage
Request for UpdateDevice
.
Inheritance
System.Object > UpdateDeviceRequestImplements
Google.Protobuf.IMessage<UpdateDeviceRequest>, System.IEquatable<UpdateDeviceRequest>, Google.Protobuf.IDeepCloneable<UpdateDeviceRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Iot.V1Assembly
Google.Cloud.Iot.V1.dll
Constructors
UpdateDeviceRequest()
public UpdateDeviceRequest()
UpdateDeviceRequest(UpdateDeviceRequest)
public UpdateDeviceRequest(UpdateDeviceRequest other)
Parameter | |
---|---|
Name | Description |
other | UpdateDeviceRequest |
Properties
Device
public Device Device { get; set; }
Required. The new values for the device. The id
and num_id
fields must
be empty, and the field name
must specify the name path. For example,
projects/p0/locations/us-central1/registries/registry0/devices/device0
or
projects/p0/locations/us-central1/registries/registry0/devices/{num_id}
.
Property Value | |
---|---|
Type | Description |
Device |
UpdateMask
public FieldMask UpdateMask { get; set; }
Required. Only updates the device
fields indicated by this mask.
The field mask must not be empty, and it must not contain fields that
are immutable or only set by the server.
Mutable top-level fields: credentials
, blocked
, and metadata
Property Value | |
---|---|
Type | Description |
Google.Protobuf.WellKnownTypes.FieldMask |