Reference documentation and code samples for the Google Cloud IoT Core V1 Client class CreateDeviceRegistryRequest.
Request for CreateDeviceRegistry
.
Generated from protobuf message google.cloud.iot.v1.CreateDeviceRegistryRequest
Namespace
Google \ Cloud \ Iot \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The project and cloud region where this device registry must be created. For example, projects/example-project/locations/us-central1
.
↳ device_registry
Google\Cloud\Iot\V1\DeviceRegistry
Required. The device registry. The field name
must be empty. The server will generate that field from the device registry id
provided and the parent
field.
getParent
Required. The project and cloud region where this device registry must be created.
For example, projects/example-project/locations/us-central1
.
string
setParent
Required. The project and cloud region where this device registry must be created.
For example, projects/example-project/locations/us-central1
.
var
string
$this
getDeviceRegistry
Required. The device registry. The field name
must be empty. The server will
generate that field from the device registry id
provided and the parent
field.
hasDeviceRegistry
clearDeviceRegistry
setDeviceRegistry
Required. The device registry. The field name
must be empty. The server will
generate that field from the device registry id
provided and the parent
field.
$this
static::build
parent
string
Required. The project and cloud region where this device registry must be created.
For example, projects/example-project/locations/us-central1
. Please see Google\Cloud\Iot\V1\DeviceManagerClient::locationName()
for help formatting this field.
deviceRegistry
Google\Cloud\Iot\V1\DeviceRegistry
Required. The device registry. The field name
must be empty. The server will
generate that field from the device registry id
provided and the parent
field.