Class: Google::Apis::GameservicesV1::GkeClusterReference
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::GkeClusterReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gameservices_v1/classes.rb,
generated/google/apis/gameservices_v1/representations.rb,
generated/google/apis/gameservices_v1/representations.rb
Overview
A reference to a GKE cluster.
Instance Attribute Summary collapse
-
#cluster ⇒ String
The full or partial name of a GKE cluster, using one of the following forms: *
projects/
project/locations/
location/clusters/
cluster* `locations/` location`/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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GkeClusterReference
constructor
A new instance of GkeClusterReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GkeClusterReference
Returns a new instance of GkeClusterReference.
964 965 966 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 964 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster ⇒ String
The full or partial name of a GKE cluster, using one of the following forms: *
projects/
project/locations/
location/clusters/
cluster* `locations/`
location`/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
962 963 964 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 962 def cluster @cluster end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
969 970 971 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 969 def update!(**args) @cluster = args[:cluster] if args.key?(:cluster) end |