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

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
NameDescription
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/anthos/clusters/docs/multi-cloud/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/anthos/clusters/docs/multi-cloud/aws/how-to/use-a-proxy#create_a_proxy_configuration_file

Returns
TypeDescription
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/anthos/clusters/docs/multi-cloud/aws/how-to/use-a-proxy#create_a_proxy_configuration_file

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSecretVersion

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

Returns
TypeDescription
string

setSecretVersion

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this