google_api_cloud_iot v0.19.0 GoogleApi.CloudIot.V1.Model.DeviceCredential View Source
A server-stored device credential used for authentication.
Attributes
expirationTime
(type:DateTime.t
, default:nil
) - [Optional] The time at which this credential becomes invalid. This credential will be ignored for new client authentication requests after this timestamp; however, it will not be automatically deleted.publicKey
(type:GoogleApi.CloudIot.V1.Model.PublicKeyCredential.t
, default:nil
) - A public key used to verify the signature of JSON Web Tokens (JWTs). When adding a new device credential, either via device creation or via modifications, this public key credential may be required to be signed by one of the registry level certificates. More specifically, if the registry contains at least one certificate, any new device credential must be signed by one of the registry certificates. As a result, when the registry contains certificates, only X.509 certificates are accepted as device credentials. However, if the registry does not contain a certificate, self-signed certificates and public keys will be accepted. New device credentials must be different from every registry-level certificate.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.CloudIot.V1.Model.DeviceCredential{ expirationTime: DateTime.t(), publicKey: GoogleApi.CloudIot.V1.Model.PublicKeyCredential.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.