Google Cloud Container V1 Client - Class WorkloadIdentityConfig (1.13.1)

Reference documentation and code samples for the Google Cloud Container V1 Client class WorkloadIdentityConfig.

Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.

Generated from protobuf message google.container.v1.WorkloadIdentityConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ workload_pool string

The workload pool to attach all Kubernetes service accounts to.

getWorkloadPool

The workload pool to attach all Kubernetes service accounts to.

Returns
TypeDescription
string

setWorkloadPool

The workload pool to attach all Kubernetes service accounts to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this