Google Cloud Gke Connect Gateway V1 Client - Class GenerateCredentialsResponse (0.6.0)

Reference documentation and code samples for the Google Cloud Gke Connect Gateway V1 Client class GenerateCredentialsResponse.

Connection information for a particular membership.

Generated from protobuf message google.cloud.gkeconnect.gateway.v1.GenerateCredentialsResponse

Namespace

Google \ Cloud \ GkeConnect \ Gateway \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ kubeconfig string

A full YAML kubeconfig in serialized format.

↳ endpoint string

The generated URI of the cluster as accessed through the Connect Gateway API.

getKubeconfig

A full YAML kubeconfig in serialized format.

Returns
Type Description
string

setKubeconfig

A full YAML kubeconfig in serialized format.

Parameter
Name Description
var string
Returns
Type Description
$this

getEndpoint

The generated URI of the cluster as accessed through the Connect Gateway API.

Returns
Type Description
string

setEndpoint

The generated URI of the cluster as accessed through the Connect Gateway API.

Parameter
Name Description
var string
Returns
Type Description
$this