Reference documentation and code samples for the Google Cloud Deploy V1 Client class AnthosCluster.
Information specifying an Anthos Cluster.
Generated from protobuf messagegoogle.cloud.deploy.v1.AnthosCluster
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ membership
string
Membership of the GKE Hub-registered cluster to which to apply the Skaffold configuration. Format isprojects/{project}/locations/{location}/memberships/{membership_name}.
getMembership
Membership of the GKE Hub-registered cluster to which to apply the Skaffold
configuration. Format isprojects/{project}/locations/{location}/memberships/{membership_name}.
Returns
Type
Description
string
setMembership
Membership of the GKE Hub-registered cluster to which to apply the Skaffold
configuration. Format isprojects/{project}/locations/{location}/memberships/{membership_name}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]