Class: Google::Apis::CesV1::LfA2aV1AgentCardSignature

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LfA2aV1AgentCardSignature

Returns a new instance of LfA2aV1AgentCardSignature.



4600
4601
4602
# File 'lib/google/apis/ces_v1/classes.rb', line 4600

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#headerHash<String,Object>

The unprotected JWS header values. Corresponds to the JSON property header

Returns:

  • (Hash<String,Object>)


4587
4588
4589
# File 'lib/google/apis/ces_v1/classes.rb', line 4587

def header
  @header
end

#protectedString

Required. Required. The protected JWS header for the signature. This is always a base64url-encoded JSON object. Corresponds to the JSON property protected

Returns:

  • (String)


4593
4594
4595
# File 'lib/google/apis/ces_v1/classes.rb', line 4593

def protected
  @protected
end

#signatureString

Required. The computed signature, base64url-encoded. Corresponds to the JSON property signature

Returns:

  • (String)


4598
4599
4600
# File 'lib/google/apis/ces_v1/classes.rb', line 4598

def signature
  @signature
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4605
4606
4607
4608
4609
# File 'lib/google/apis/ces_v1/classes.rb', line 4605

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