Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ApiKeyConfig.
The API secret.
Generated from protobuf message google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig
Namespace
Google \ Cloud \ AIPlatform \ V1 \ ApiAuthMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ api_key_secret_version |
string
Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version} |
getApiKeySecretVersion
Required. The SecretManager secret version resource name storing API key.
e.g. projects/{project}/secrets/{secret}/versions/{version}
Returns | |
---|---|
Type | Description |
string |
setApiKeySecretVersion
Required. The SecretManager secret version resource name storing API key.
e.g. projects/{project}/secrets/{secret}/versions/{version}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |