Class: Google::Apis::GameservicesV1beta::GameServerClusterConnectionInfo

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

Overview

The game server cluster connection information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GameServerClusterConnectionInfo

Returns a new instance of GameServerClusterConnectionInfo.



746
747
748
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 746

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

Instance Attribute Details

#gke_cluster_referenceGoogle::Apis::GameservicesV1beta::GkeClusterReference

A reference to a GKE cluster. Corresponds to the JSON property gkeClusterReference



737
738
739
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 737

def gke_cluster_reference
  @gke_cluster_reference
end

#namespaceString

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

Returns:

  • (String)


744
745
746
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 744

def namespace
  @namespace
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



751
752
753
754
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 751

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