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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\Iot\V1\PublicKeyCertificate|null |
hasPublicKeyCertificate
setPublicKeyCertificate
A public key certificate used to verify the device credentials.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Iot\V1\PublicKeyCertificate
|
Returns | |
---|---|
Type | Description |
$this |
getCredential
Returns | |
---|---|
Type | Description |
string |