Google Cloud Developer Connect V1 Client - Class GKEWorkload (0.4.0)

Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class GKEWorkload.

GKEWorkload represents the Google Kubernetes Engine runtime.

Generated from protobuf message google.cloud.developerconnect.v1.GKEWorkload

Namespace

Google \ Cloud \ DeveloperConnect \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cluster string

Required. Immutable. The name of the GKE cluster. Format: projects/{project}/locations/{location}/clusters/{cluster}.

↳ deployment string

Output only. The name of the GKE deployment. Format: projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}.

getCluster

Required. Immutable. The name of the GKE cluster.

Format: projects/{project}/locations/{location}/clusters/{cluster}.

Returns
Type Description
string

setCluster

Required. Immutable. The name of the GKE cluster.

Format: projects/{project}/locations/{location}/clusters/{cluster}.

Parameter
Name Description
var string
Returns
Type Description
$this

getDeployment

Output only. The name of the GKE deployment.

Format: projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}.

Returns
Type Description
string

setDeployment

Output only. The name of the GKE deployment.

Format: projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}.

Parameter
Name Description
var string
Returns
Type Description
$this