Google Cloud Gke Hub V1 Client - Class GroupVersionKind (1.0.0-RC1)

Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class GroupVersionKind.

A Kubernetes object's GVK

Generated from protobuf message google.cloud.gkehub.configmanagement.v1.GroupVersionKind

Namespace

Google \ Cloud \ GkeHub \ ConfigManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ group string

Kubernetes Group

↳ version string

Kubernetes Version

↳ kind string

Kubernetes Kind

getGroup

Kubernetes Group

Returns
Type Description
string

setGroup

Kubernetes Group

Parameter
Name Description
var string
Returns
Type Description
$this

getVersion

Kubernetes Version

Returns
Type Description
string

setVersion

Kubernetes Version

Parameter
Name Description
var string
Returns
Type Description
$this

getKind

Kubernetes Kind

Returns
Type Description
string

setKind

Kubernetes Kind

Parameter
Name Description
var string
Returns
Type Description
$this