Reference documentation and code samples for the Cloud Gaming V1 API class Google::Cloud::Gaming::V1::GetGameServerClusterRequest.
Request message for GameServerClustersService.GetGameServerCluster.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
-
(::String) — Required. The name of the game server cluster to retrieve, in the following form:
projects/{project}/locations/{location}/realms/{realm-id}/gameServerClusters/{cluster}
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The name of the game server cluster to retrieve, in the following form:
projects/{project}/locations/{location}/realms/{realm-id}/gameServerClusters/{cluster}
.
Returns
-
(::String) — Required. The name of the game server cluster to retrieve, in the following form:
projects/{project}/locations/{location}/realms/{realm-id}/gameServerClusters/{cluster}
.
#view
def view() -> ::Google::Cloud::Gaming::V1::GameServerClusterView
Returns
-
(::Google::Cloud::Gaming::V1::GameServerClusterView) — Optional. View for the returned GameServerCluster objects. When
FULL
is specified, thecluster_state
field is also returned in the GameServerCluster object, which includes the state of the referenced Kubernetes cluster such as versions and provider info. The default/unset value is GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED, same as BASIC, which does not return thecluster_state
field.
#view=
def view=(value) -> ::Google::Cloud::Gaming::V1::GameServerClusterView
Parameter
-
value (::Google::Cloud::Gaming::V1::GameServerClusterView) — Optional. View for the returned GameServerCluster objects. When
FULL
is specified, thecluster_state
field is also returned in the GameServerCluster object, which includes the state of the referenced Kubernetes cluster such as versions and provider info. The default/unset value is GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED, same as BASIC, which does not return thecluster_state
field.
Returns
-
(::Google::Cloud::Gaming::V1::GameServerClusterView) — Optional. View for the returned GameServerCluster objects. When
FULL
is specified, thecluster_state
field is also returned in the GameServerCluster object, which includes the state of the referenced Kubernetes cluster such as versions and provider info. The default/unset value is GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED, same as BASIC, which does not return thecluster_state
field.