Class: Google::Apis::AccessapprovalV1::SignatureInfo
- Inherits:
-
Object
- Object
- Google::Apis::AccessapprovalV1::SignatureInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/accessapproval_v1/classes.rb,
lib/google/apis/accessapproval_v1/representations.rb,
lib/google/apis/accessapproval_v1/representations.rb
Overview
Information about the digital signature of the resource.
Instance Attribute Summary collapse
-
#customer_kms_key_version ⇒ String
The resource name of the customer CryptoKeyVersion used for signing.
-
#google_public_key_pem ⇒ String
The public key for the Google default signing, encoded in PEM format.
-
#signature ⇒ String
The digital signature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SignatureInfo
constructor
A new instance of SignatureInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SignatureInfo
Returns a new instance of SignatureInfo.
498 499 500 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 498 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer_kms_key_version ⇒ String
The resource name of the customer CryptoKeyVersion used for signing.
Corresponds to the JSON property customerKmsKeyVersion
483 484 485 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 483 def customer_kms_key_version @customer_kms_key_version end |
#google_public_key_pem ⇒ String
The public key for the Google default signing, encoded in PEM format. The
signature was created using a private key which may be verified using this
public key.
Corresponds to the JSON property googlePublicKeyPem
490 491 492 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 490 def google_public_key_pem @google_public_key_pem end |
#signature ⇒ String
The digital signature.
Corresponds to the JSON property signature
NOTE: Values are automatically base64 encoded/decoded in the client library.
496 497 498 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 496 def signature @signature end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
503 504 505 506 507 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 503 def update!(**args) @customer_kms_key_version = args[:customer_kms_key_version] if args.key?(:customer_kms_key_version) @google_public_key_pem = args[:google_public_key_pem] if args.key?(:google_public_key_pem) @signature = args[:signature] if args.key?(:signature) end |