Google Cloud IoT Core V1 Client - Class GetDeviceRegistryRequest (1.7.4)

Reference documentation and code samples for the Google Cloud IoT Core V1 Client class GetDeviceRegistryRequest.

Request for GetDeviceRegistry.

Generated from protobuf message google.cloud.iot.v1.GetDeviceRegistryRequest

Namespace

Google \ Cloud \ Iot \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the device registry. For example, projects/example-project/locations/us-central1/registries/my-registry.

getName

Required. The name of the device registry. For example, projects/example-project/locations/us-central1/registries/my-registry.

Returns
Type Description
string

setName

Required. The name of the device registry. For example, projects/example-project/locations/us-central1/registries/my-registry.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the device registry. For example, projects/example-project/locations/us-central1/registries/my-registry. Please see Google\Cloud\Iot\V1\DeviceManagerClient::registryName() for help formatting this field.

Returns
Type Description
Google\Cloud\Iot\V1\GetDeviceRegistryRequest