Class: Google::Apis::CloudkmsV1::KeyOperationAttestation
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::KeyOperationAttestation
- Defined in:
- generated/google/apis/cloudkms_v1/classes.rb,
generated/google/apis/cloudkms_v1/representations.rb,
generated/google/apis/cloudkms_v1/representations.rb
Overview
Contains an HSM-generated attestation about a key operation.
Instance Attribute Summary collapse
-
#content ⇒ String
Output only.
-
#format ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ KeyOperationAttestation
constructor
A new instance of KeyOperationAttestation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ KeyOperationAttestation
Returns a new instance of KeyOperationAttestation
699 700 701 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 699 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
Output only. The attestation data provided by the HSM when the key
operation was performed.
Corresponds to the JSON property content
NOTE: Values are automatically base64 encoded/decoded in the client library.
692 693 694 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 692 def content @content end |
#format ⇒ String
Output only. The format of the attestation data.
Corresponds to the JSON property format
697 698 699 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 697 def format @format end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
704 705 706 707 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 704 def update!(**args) @content = args[:content] if args.key?(:content) @format = args[:format] if args.key?(:format) end |