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.
Returns
Type
Description
string
setParent
Required. The project and cloud region where this device registry must be created.
For example, projects/example-project/locations/us-central1.
Parameter
Name
Description
var
string
Returns
Type
Description
$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.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud IoT Core V1 Client - Class CreateDeviceRegistryRequest (1.7.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.5 (latest)](/php/docs/reference/cloud-iot/latest/V1.CreateDeviceRegistryRequest)\n- [1.7.4](/php/docs/reference/cloud-iot/1.7.4/V1.CreateDeviceRegistryRequest)\n- [1.6.4](/php/docs/reference/cloud-iot/1.6.4/V1.CreateDeviceRegistryRequest)\n- [1.5.12](/php/docs/reference/cloud-iot/1.5.12/V1.CreateDeviceRegistryRequest) \nReference documentation and code samples for the Google Cloud IoT Core V1 Client class CreateDeviceRegistryRequest.\n\nRequest for `CreateDeviceRegistry`.\n\nGenerated from protobuf message `google.cloud.iot.v1.CreateDeviceRegistryRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Iot \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The project and cloud region where this device registry must be created.\n\nFor example, `projects/example-project/locations/us-central1`.\n\n### setParent\n\nRequired. The project and cloud region where this device registry must be created.\n\nFor example, `projects/example-project/locations/us-central1`.\n\n### getDeviceRegistry\n\nRequired. The device registry. The field `name` must be empty. The server will\ngenerate that field from the device registry `id` provided and the\n`parent` field.\n\n### hasDeviceRegistry\n\n### clearDeviceRegistry\n\n### setDeviceRegistry\n\nRequired. The device registry. The field `name` must be empty. The server will\ngenerate that field from the device registry `id` provided and the\n`parent` field.\n\n### static::build"]]