Reference documentation and code samples for the Google Cloud IoT Core V1 Client class UpdateDeviceRegistryRequest.
Request for UpdateDeviceRegistry
.
Generated from protobuf message google.cloud.iot.v1.UpdateDeviceRegistryRequest
Namespace
Google \ Cloud \ Iot \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ device_registry
Google\Cloud\Iot\V1\DeviceRegistry
Required. The new values for the device registry. The id
field must be empty, and the name
field must indicate the path of the resource. For example, projects/example-project/locations/us-central1/registries/my-registry
.
↳ update_mask
Google\Protobuf\FieldMask
Required. Only updates the device_registry
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: event_notification_config
, http_config
, mqtt_config
, and state_notification_config
.
getDeviceRegistry
Required. The new values for the device registry. The id
field must be empty, and
the name
field must indicate the path of the resource. For example, projects/example-project/locations/us-central1/registries/my-registry
.
hasDeviceRegistry
clearDeviceRegistry
setDeviceRegistry
Required. The new values for the device registry. The id
field must be empty, and
the name
field must indicate the path of the resource. For example, projects/example-project/locations/us-central1/registries/my-registry
.
$this
getUpdateMask
Required. Only updates the device_registry
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: event_notification_config
, http_config
, mqtt_config
, and state_notification_config
.
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. Only updates the device_registry
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: event_notification_config
, http_config
, mqtt_config
, and state_notification_config
.
$this
static::build
deviceRegistry
Google\Cloud\Iot\V1\DeviceRegistry
Required. The new values for the device registry. The id
field must be empty, and
the name
field must indicate the path of the resource. For example, projects/example-project/locations/us-central1/registries/my-registry
.
updateMask
Google\Protobuf\FieldMask
Required. Only updates the device_registry
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: event_notification_config
, http_config
, mqtt_config
, and state_notification_config
.