Reference documentation and code samples for the Google Cloud Chronicle V1 Client class CustomAPIHeaderKeyValue.
CustomAPIHeaderKeyValue defines dynamic headers key-values for Custom API.
Generated from protobuf message google.cloud.chronicle.v1.CustomAPIHeaderKeyValue
Namespace
Google \ Cloud \ Chronicle \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ key |
string
Required. Enter the name of the HTTP Request header (e.g., Authorization or X-API-Key). |
↳ value |
string
Required. Enter the API Key, Bearer Token, or credential value associated with the header. |
getKey
Required. Enter the name of the HTTP Request header (e.g., Authorization or X-API-Key).
| Returns | |
|---|---|
| Type | Description |
string |
|
setKey
Required. Enter the name of the HTTP Request header (e.g., Authorization or X-API-Key).
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValue
Required. Enter the API Key, Bearer Token, or credential value associated with the header.
| Returns | |
|---|---|
| Type | Description |
string |
|
setValue
Required. Enter the API Key, Bearer Token, or credential value associated with the header.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|