Request for UpdateDevice
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#device
def device() -> ::Google::Cloud::Iot::V1::Device
Returns
-
(::Google::Cloud::Iot::V1::Device) — Required. The new values for the device. The
id
andnum_id
fields must be empty, and the fieldname
must specify the name path. For example,projects/p0/locations/us-central1/registries/registry0/devices/device0
orprojects/p0/locations/us-central1/registries/registry0/devices/{num_id}
.
#device=
def device=(value) -> ::Google::Cloud::Iot::V1::Device
Parameter
-
value (::Google::Cloud::Iot::V1::Device) — Required. The new values for the device. The
id
andnum_id
fields must be empty, and the fieldname
must specify the name path. For example,projects/p0/locations/us-central1/registries/registry0/devices/device0
orprojects/p0/locations/us-central1/registries/registry0/devices/{num_id}
.
Returns
-
(::Google::Cloud::Iot::V1::Device) — Required. The new values for the device. The
id
andnum_id
fields must be empty, and the fieldname
must specify the name path. For example,projects/p0/locations/us-central1/registries/registry0/devices/device0
orprojects/p0/locations/us-central1/registries/registry0/devices/{num_id}
.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
-
(::Google::Protobuf::FieldMask) — 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
, andmetadata
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
-
value (::Google::Protobuf::FieldMask) — 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
, andmetadata
Returns
-
(::Google::Protobuf::FieldMask) — 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
, andmetadata