Class: Google::Apis::CesV1::LfA2aV1AgentCardSignature
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::LfA2aV1AgentCardSignature
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
AgentCardSignature represents a JWS signature of an AgentCard. This follows the JSON format of an RFC 7515 JSON Web Signature (JWS).
Instance Attribute Summary collapse
-
#header ⇒ Hash<String,Object>
The unprotected JWS header values.
-
#protected ⇒ String
Required.
-
#signature ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LfA2aV1AgentCardSignature
constructor
A new instance of LfA2aV1AgentCardSignature.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LfA2aV1AgentCardSignature
Returns a new instance of LfA2aV1AgentCardSignature.
4544 4545 4546 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4544 def initialize(**args) update!(**args) end |
Instance Attribute Details
#header ⇒ Hash<String,Object>
The unprotected JWS header values.
Corresponds to the JSON property header
4531 4532 4533 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4531 def header @header end |
#protected ⇒ String
Required. Required. The protected JWS header for the signature. This is always
a base64url-encoded JSON object.
Corresponds to the JSON property protected
4537 4538 4539 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4537 def protected @protected end |
#signature ⇒ String
Required. The computed signature, base64url-encoded.
Corresponds to the JSON property signature
4542 4543 4544 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4542 def signature @signature end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4549 4550 4551 4552 4553 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4549 def update!(**args) @header = args[:header] if args.key?(:header) @protected = args[:protected] if args.key?(:protected) @signature = args[:signature] if args.key?(:signature) end |