Google Cloud IoT Core V1 Client - Class RegistryCredential (1.6.4)

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

A server-stored registry credential used to validate device credentials.

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

Namespace

Google \ Cloud \ Iot \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ public_key_certificate Google\Cloud\Iot\V1\PublicKeyCertificate

A public key certificate used to verify the device credentials.

getPublicKeyCertificate

A public key certificate used to verify the device credentials.

Returns
TypeDescription
Google\Cloud\Iot\V1\PublicKeyCertificate|null

hasPublicKeyCertificate

setPublicKeyCertificate

A public key certificate used to verify the device credentials.

Parameter
NameDescription
var Google\Cloud\Iot\V1\PublicKeyCertificate
Returns
TypeDescription
$this

getCredential

Returns
TypeDescription
string