Class: Google::Cloud::Iot::V1::UpdateDeviceRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Iot::V1::UpdateDeviceRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/iot/v1/device_manager.rb
Overview
Request for UpdateDevice
.
Instance Attribute Summary collapse
-
#device ⇒ ::Google::Cloud::Iot::V1::Device
Required.
-
#update_mask ⇒ ::Google::Protobuf::FieldMask
Required.
Instance Attribute Details
#device ⇒ ::Google::Cloud::Iot::V1::Device
Returns 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}
.
156 157 158 159 |
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 156 class UpdateDeviceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_mask ⇒ ::Google::Protobuf::FieldMask
Returns 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
.
156 157 158 159 |
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 156 class UpdateDeviceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |