Class CreateDeviceRequest (2.6.2)

CreateDeviceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request for CreateDevice.

Attributes

NameDescription
parent str
Required. The name of the device registry where this device should be created. For example, ``projects/example-project/locations/us-central1/registries/my-registry``.
device google.cloud.iot_v1.types.Device
Required. The device registration details. The field ``name`` must be empty. The server generates ``name`` from the device registry ``id`` and the ``parent`` field.

Inheritance

builtins.object > proto.message.Message > CreateDeviceRequest