Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class APIKeySecurityScheme.
APIKeySecurityScheme defines an API key security scheme.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.APIKeySecurityScheme
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ description |
string
Optional. Description of this security scheme. |
↳ location |
string
Optional. Location of the API key, valid values are "query", "header", or "cookie". |
↳ name |
string
Optional. Name of the header, query or cookie parameter to be used. |
getDescription
Optional. Description of this security scheme.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Optional. Description of this security scheme.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocation
Optional. Location of the API key, valid values are "query", "header", or "cookie".
| Returns | |
|---|---|
| Type | Description |
string |
|
setLocation
Optional. Location of the API key, valid values are "query", "header", or "cookie".
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
Optional. Name of the header, query or cookie parameter to be used.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Optional. Name of the header, query or cookie parameter to be used.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|