class Google::Apis::GameservicesV1beta::GkeHubClusterReference

GkeHubClusterReference represents a reference to a Kubernetes cluster registered through GKE Hub.

Attributes

membership[RW]

The full or partial name of a GKE Hub membership, using one of the following forms: * `gkehub.googleapis.com/v1beta1/projects/`project_id`/ locations/global/memberships/`membership_id“ * `projects/`project_id`/ locations/global/memberships/`membership_id“ * “membership_id“ If project is not specified, the project of the GameServerCluster resource is used to generate the full name of the GKE Hub membership. Corresponds to the JSON property `membership` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gameservices_v1beta/classes.rb, line 1011
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/gameservices_v1beta/classes.rb, line 1016
def update!(**args)
  @membership = args[:membership] if args.key?(:membership)
end