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 | |
---|---|
Name | Description |
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 |
↳ 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 |
getParent
Required. The parent (project and location) where the Memberships will be
created. Specified in the format projects/*/locations/*
.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The parent (project and location) where the Memberships will be
created. Specified in the format projects/*/locations/*
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCrManifest
Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.
Returns | |
---|---|
Type | Description |
string |
setCrManifest
Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |