Class: Google::Apis::GameservicesV1::GkeClusterReference

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gameservices_v1/classes.rb,
lib/google/apis/gameservices_v1/representations.rb,
lib/google/apis/gameservices_v1/representations.rb

Overview

A reference to a GKE cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GkeClusterReference

Returns a new instance of GkeClusterReference.



965
966
967
# File 'lib/google/apis/gameservices_v1/classes.rb', line 965

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#clusterString

The full or partial name of a GKE cluster, using one of the following forms: * projects/project/locations/locationId/clusters/cluster* `locations/` locationId`/clusters/`cluster * cluster If project and location are not specified, the project and location of the GameServerCluster resource are used to generate the full name of the GKE cluster. Corresponds to the JSON property cluster

Returns:

  • (String)


963
964
965
# File 'lib/google/apis/gameservices_v1/classes.rb', line 963

def cluster
  @cluster
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



970
971
972
# File 'lib/google/apis/gameservices_v1/classes.rb', line 970

def update!(**args)
  @cluster = args[:cluster] if args.key?(:cluster)
end