Google Anthos Multi Cloud V1 Client - Class AwsProxyConfig (1.1.2)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AwsProxyConfig.

Details of a proxy config stored in AWS Secret Manager.

Generated from protobuf message google.cloud.gkemulticloud.v1.AwsProxyConfig

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ secret_arn string

The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration. The secret must be a JSON encoded proxy configuration as described in https://cloud.google.com/kubernetes-engine/multi-cloud/docs/aws/how-to/use-a-proxy#create_a_proxy_configuration_file

↳ secret_version string

The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

getSecretArn

The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

The secret must be a JSON encoded proxy configuration as described in https://cloud.google.com/kubernetes-engine/multi-cloud/docs/aws/how-to/use-a-proxy#create_a_proxy_configuration_file

Returns
Type Description
string

setSecretArn

The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

The secret must be a JSON encoded proxy configuration as described in https://cloud.google.com/kubernetes-engine/multi-cloud/docs/aws/how-to/use-a-proxy#create_a_proxy_configuration_file

Parameter
Name Description
var string
Returns
Type Description
$this

getSecretVersion

The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

Returns
Type Description
string

setSecretVersion

The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.

Parameter
Name Description
var string
Returns
Type Description
$this