Google Cloud Gke Hub V1beta1 Client - Class ValidateExclusivityRequest (0.5.6)

Reference documentation and code samples for the Google Cloud Gke Hub V1beta1 Client class ValidateExclusivityRequest.

The request to validate the existing state of the membership CR in the cluster.

Generated from protobuf message google.cloud.gkehub.v1beta1.ValidateExclusivityRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent (project and location) where the Memberships will be created. Specified in the format projects/*/locations/*.

↳ cr_manifest string

Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.

↳ intended_membership string

Required. The intended membership name under the parent. This method only does validation in anticipation of a CreateMembership call with the same name.

getParent

Required. The parent (project and location) where the Memberships will be created.

Specified in the format projects/*/locations/*.

Returns
TypeDescription
string

setParent

Required. The parent (project and location) where the Memberships will be created.

Specified in the format projects/*/locations/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCrManifest

Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.

Returns
TypeDescription
string

setCrManifest

Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIntendedMembership

Required. The intended membership name under the parent. This method only does validation in anticipation of a CreateMembership call with the same name.

Returns
TypeDescription
string

setIntendedMembership

Required. The intended membership name under the parent. This method only does validation in anticipation of a CreateMembership call with the same name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this