Class: Google::Apis::GameservicesV1beta::GameServerClusterConnectionInfo
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1beta::GameServerClusterConnectionInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gameservices_v1beta/classes.rb,
lib/google/apis/gameservices_v1beta/representations.rb,
lib/google/apis/gameservices_v1beta/representations.rb
Overview
The game server cluster connection information.
Instance Attribute Summary collapse
-
#gke_cluster_reference ⇒ Google::Apis::GameservicesV1beta::GkeClusterReference
A reference to a GKE cluster.
-
#gke_hub_cluster_reference ⇒ Google::Apis::GameservicesV1beta::GkeHubClusterReference
GkeHubClusterReference represents a reference to a Kubernetes cluster registered through GKE Hub.
-
#namespace ⇒ String
Namespace designated on the game server cluster where the Agones game server instances will be created.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GameServerClusterConnectionInfo
constructor
A new instance of GameServerClusterConnectionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GameServerClusterConnectionInfo
Returns a new instance of GameServerClusterConnectionInfo.
761 762 763 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 761 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gke_cluster_reference ⇒ Google::Apis::GameservicesV1beta::GkeClusterReference
A reference to a GKE cluster.
Corresponds to the JSON property gkeClusterReference
746 747 748 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 746 def gke_cluster_reference @gke_cluster_reference end |
#gke_hub_cluster_reference ⇒ Google::Apis::GameservicesV1beta::GkeHubClusterReference
GkeHubClusterReference represents a reference to a Kubernetes cluster
registered through GKE Hub.
Corresponds to the JSON property gkeHubClusterReference
752 753 754 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 752 def gke_hub_cluster_reference @gke_hub_cluster_reference end |
#namespace ⇒ String
Namespace designated on the game server cluster where the Agones game server
instances will be created. Existence of the namespace will be validated during
creation.
Corresponds to the JSON property namespace
759 760 761 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 759 def namespace @namespace end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
766 767 768 769 770 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 766 def update!(**args) @gke_cluster_reference = args[:gke_cluster_reference] if args.key?(:gke_cluster_reference) @gke_hub_cluster_reference = args[:gke_hub_cluster_reference] if args.key?(:gke_hub_cluster_reference) @namespace = args[:namespace] if args.key?(:namespace) end |