Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class AgentCardSignature.
AgentCardSignature represents a JWS signature of an AgentCard.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.AgentCardSignature
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ protected |
string
Required. The protected JWS header for the signature. Base64url-encoded. |
↳ signature |
string
Required. The computed signature, base64url-encoded. |
↳ header |
Google\Protobuf\Struct
Optional. The unprotected JWS header values. |
getProtected
Required. The protected JWS header for the signature. Base64url-encoded.
| Returns | |
|---|---|
| Type | Description |
string |
|
setProtected
Required. The protected JWS header for the signature. Base64url-encoded.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSignature
Required. The computed signature, base64url-encoded.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSignature
Required. The computed signature, base64url-encoded.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHeader
Optional. The unprotected JWS header values.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasHeader
clearHeader
setHeader
Optional. The unprotected JWS header values.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|