Class: Google::Apis::PubliccaV1beta1::ExternalAccountKey
- Inherits:
-
Object
- Object
- Google::Apis::PubliccaV1beta1::ExternalAccountKey
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/publicca_v1beta1/classes.rb,
lib/google/apis/publicca_v1beta1/representations.rb,
lib/google/apis/publicca_v1beta1/representations.rb
Overview
A representation of an ExternalAccountKey used for external account binding within ACME.
Instance Attribute Summary collapse
-
#b64_mac_key ⇒ String
Output only.
-
#key_id ⇒ String
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExternalAccountKey
constructor
A new instance of ExternalAccountKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExternalAccountKey
Returns a new instance of ExternalAccountKey.
49 50 51 |
# File 'lib/google/apis/publicca_v1beta1/classes.rb', line 49 def initialize(**args) update!(**args) end |
Instance Attribute Details
#b64_mac_key ⇒ String
Output only. Base64-URL-encoded HS256 key. It is generated by the
PublicCertificateAuthorityService when the ExternalAccountKey is created
Corresponds to the JSON property b64MacKey
NOTE: Values are automatically base64 encoded/decoded in the client library.
35 36 37 |
# File 'lib/google/apis/publicca_v1beta1/classes.rb', line 35 def b64_mac_key @b64_mac_key end |
#key_id ⇒ String
Output only. Key ID. It is generated by the PublicCertificateAuthorityService
when the ExternalAccountKey is created
Corresponds to the JSON property keyId
41 42 43 |
# File 'lib/google/apis/publicca_v1beta1/classes.rb', line 41 def key_id @key_id end |
#name ⇒ String
Output only. Resource name. projects/project
/locations/location
/
externalAccountKeys/key_id
Corresponds to the JSON property name
47 48 49 |
# File 'lib/google/apis/publicca_v1beta1/classes.rb', line 47 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
54 55 56 57 58 |
# File 'lib/google/apis/publicca_v1beta1/classes.rb', line 54 def update!(**args) @b64_mac_key = args[:b64_mac_key] if args.key?(:b64_mac_key) @key_id = args[:key_id] if args.key?(:key_id) @name = args[:name] if args.key?(:name) end |