blob: 26e3337893bd3e236fedb7e16bc6ebb22710768e [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="gameservices_v1beta.html">Game Services API</a> . <a href="gameservices_v1beta.projects.html">projects</a> . <a href="gameservices_v1beta.projects.locations.html">locations</a> . <a href="gameservices_v1beta.projects.locations.realms.html">realms</a> . <a href="gameservices_v1beta.projects.locations.realms.gameServerClusters.html">gameServerClusters</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070081 <code><a href="#create">create(parent, body=None, gameServerClusterId=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Creates a new game server cluster in a given project and location.</p>
83<p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85<p class="firstline">Deletes a single game server cluster.</p>
86<p class="toc_element">
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -070087 <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070088<p class="firstline">Gets details of a single game server cluster.</p>
89<p class="toc_element">
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -070090 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070091<p class="firstline">Lists game server clusters in a given project and location.</p>
92<p class="toc_element">
93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
95<p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97<p class="firstline">Patches a single game server cluster.</p>
98<p class="toc_element">
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -070099 <code><a href="#previewCreate">previewCreate(parent, body=None, gameServerClusterId=None, previewTime=None, view=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700100<p class="firstline">Previews creation of a new game server cluster in a given project and location.</p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700101<p class="toc_element">
102 <code><a href="#previewDelete">previewDelete(name, previewTime=None, x__xgafv=None)</a></code></p>
103<p class="firstline">Previews deletion of a single game server cluster.</p>
104<p class="toc_element">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800105 <code><a href="#previewUpdate">previewUpdate(name, body=None, previewTime=None, updateMask=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700106<p class="firstline">Previews updating a GameServerCluster.</p>
107<h3>Method Details</h3>
108<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700109 <code class="details" id="close">close()</code>
110 <pre>Close httplib2 connections.</pre>
111</div>
112
113<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700114 <code class="details" id="create">create(parent, body=None, gameServerClusterId=None, x__xgafv=None)</code>
115 <pre>Creates a new game server cluster in a given project and location.
116
117Args:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700118 parent: string, Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/realms/{realm-id}`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700119 body: object, The request body.
120 The object takes the form of:
121
122{ # A game server cluster resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800123 &quot;allocationPriority&quot;: &quot;A String&quot;, # Optional. The allocation priority assigned to the game server cluster. Game server clusters receive new game server allocations based on the relative allocation priorites set for each cluster, if the realm is configured for multicluster allocation.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700124 &quot;clusterState&quot;: { # The state of the Kubernetes cluster. # Output only. The state of the Kubernetes cluster, this will be available if &#x27;view&#x27; is set to `FULL` in the relevant List/Get/Preview request.
125 &quot;agonesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Agones currently installed in the registered Kubernetes cluster.
126 &quot;agonesVersionTargeted&quot;: &quot;A String&quot;, # Output only. The version of Agones that is targeted to be installed in the cluster.
127 &quot;installationState&quot;: &quot;A String&quot;, # Output only. The state for the installed versions of Agones/Kubernetes.
128 &quot;kubernetesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Kubernetes that is currently used in the registered Kubernetes cluster (as detected by the Cloud Game Servers service).
129 &quot;provider&quot;: &quot;A String&quot;, # Output only. The cloud provider type reported by the first node&#x27;s providerID in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the provider type will be empty.
130 &quot;versionInstalledErrorMessage&quot;: &quot;A String&quot;, # Output only. The detailed error message for the installed versions of Agones/Kubernetes.
131 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800132 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
133 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
134 &quot;cluster&quot;: &quot;A String&quot;, # 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700135 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800136 &quot;gkeHubClusterReference&quot;: { # GkeHubClusterReference represents a reference to a Kubernetes cluster registered through GKE Hub. # Reference to a Kubernetes cluster registered through GKE Hub. See https://cloud.google.com/anthos/multicluster-management/ for more information about registering Kubernetes clusters.
137 &quot;membership&quot;: &quot;A String&quot;, # The full or partial name of a GKE Hub membership, using one of the following forms: * `https://gkehub.googleapis.com/v1beta1/projects/{project_id}/locations/global/memberships/{membership_id}` * `projects/{project_id}/locations/global/memberships/{membership_id}` * `{membership_id}` If project is not specified, the project of the GameServerCluster resource is used to generate the full name of the GKE Hub membership.
138 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800139 &quot;namespace&quot;: &quot;A String&quot;, # 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.
140 },
141 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
142 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
143 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
144 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
145 &quot;a_key&quot;: &quot;A String&quot;,
146 },
147 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
148 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
149}
Bu Sun Kim65020912020-05-20 12:08:20 -0700150
151 gameServerClusterId: string, Required. The ID of the game server cluster resource to be created.
152 x__xgafv: string, V1 error format.
153 Allowed values
154 1 - v1 error format
155 2 - v2 error format
156
157Returns:
158 An object of the form:
159
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700160 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800161 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
162 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
163 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
164 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
165 {
166 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
167 },
168 ],
169 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
170 },
171 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
172 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
173 },
174 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
175 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
176 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
177 },
178}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700179</div>
180
181<div class="method">
182 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
183 <pre>Deletes a single game server cluster.
184
185Args:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700186 name: string, Required. The name of the game server cluster to delete, in the following form: `projects/{project}/locations/{location}/gameServerClusters/{cluster}`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700187 x__xgafv: string, V1 error format.
188 Allowed values
189 1 - v1 error format
190 2 - v2 error format
191
192Returns:
193 An object of the form:
194
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700195 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800196 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
197 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
198 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
199 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
200 {
201 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
202 },
203 ],
204 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
205 },
206 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
207 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
208 },
209 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
210 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
211 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
212 },
213}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700214</div>
215
216<div class="method">
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700217 <code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700218 <pre>Gets details of a single game server cluster.
219
220Args:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700221 name: string, Required. The name of the game server cluster to retrieve, in the following form: `projects/{project}/locations/{location}/realms/{realm-id}/gameServerClusters/{cluster}`. (required)
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700222 view: string, Optional. View for the returned GameServerCluster objects. When `FULL` is specified, the `cluster_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 the `cluster_state` field.
223 Allowed values
224 GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED - The default / unset value. The API will default to the BASIC view.
225 BASIC - Include basic information of a GameServerCluster resource and omit `cluster_state`. This is the default value (for ListGameServerClusters, GetGameServerCluster and PreviewCreateGameServerCluster).
226 FULL - Include everything.
Bu Sun Kim65020912020-05-20 12:08:20 -0700227 x__xgafv: string, V1 error format.
228 Allowed values
229 1 - v1 error format
230 2 - v2 error format
231
232Returns:
233 An object of the form:
234
235 { # A game server cluster resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800236 &quot;allocationPriority&quot;: &quot;A String&quot;, # Optional. The allocation priority assigned to the game server cluster. Game server clusters receive new game server allocations based on the relative allocation priorites set for each cluster, if the realm is configured for multicluster allocation.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700237 &quot;clusterState&quot;: { # The state of the Kubernetes cluster. # Output only. The state of the Kubernetes cluster, this will be available if &#x27;view&#x27; is set to `FULL` in the relevant List/Get/Preview request.
238 &quot;agonesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Agones currently installed in the registered Kubernetes cluster.
239 &quot;agonesVersionTargeted&quot;: &quot;A String&quot;, # Output only. The version of Agones that is targeted to be installed in the cluster.
240 &quot;installationState&quot;: &quot;A String&quot;, # Output only. The state for the installed versions of Agones/Kubernetes.
241 &quot;kubernetesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Kubernetes that is currently used in the registered Kubernetes cluster (as detected by the Cloud Game Servers service).
242 &quot;provider&quot;: &quot;A String&quot;, # Output only. The cloud provider type reported by the first node&#x27;s providerID in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the provider type will be empty.
243 &quot;versionInstalledErrorMessage&quot;: &quot;A String&quot;, # Output only. The detailed error message for the installed versions of Agones/Kubernetes.
244 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800245 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
246 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
247 &quot;cluster&quot;: &quot;A String&quot;, # 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.
248 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800249 &quot;gkeHubClusterReference&quot;: { # GkeHubClusterReference represents a reference to a Kubernetes cluster registered through GKE Hub. # Reference to a Kubernetes cluster registered through GKE Hub. See https://cloud.google.com/anthos/multicluster-management/ for more information about registering Kubernetes clusters.
250 &quot;membership&quot;: &quot;A String&quot;, # The full or partial name of a GKE Hub membership, using one of the following forms: * `https://gkehub.googleapis.com/v1beta1/projects/{project_id}/locations/global/memberships/{membership_id}` * `projects/{project_id}/locations/global/memberships/{membership_id}` * `{membership_id}` If project is not specified, the project of the GameServerCluster resource is used to generate the full name of the GKE Hub membership.
251 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800252 &quot;namespace&quot;: &quot;A String&quot;, # 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.
253 },
254 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
255 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
256 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
257 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
258 &quot;a_key&quot;: &quot;A String&quot;,
259 },
260 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
261 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
262}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700263</div>
264
265<div class="method">
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700266 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700267 <pre>Lists game server clusters in a given project and location.
268
269Args:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700270 parent: string, Required. The parent resource name, in the following form: &quot;projects/{project}/locations/{location}/realms/{realm}&quot;. (required)
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800271 filter: string, Optional. The filter to apply to list results.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800272 orderBy: string, Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800273 pageSize: integer, Optional. The maximum number of items to return. If unspecified, the server will pick an appropriate default. The server may return fewer items than requested. A caller should only rely on response&#x27;s next_page_token to determine if there are more GameServerClusters left to be queried.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800274 pageToken: string, Optional. The next_page_token value returned from a previous List request, if any.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700275 view: string, Optional. View for the returned GameServerCluster objects. When `FULL` is specified, the `cluster_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 the `cluster_state` field.
276 Allowed values
277 GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED - The default / unset value. The API will default to the BASIC view.
278 BASIC - Include basic information of a GameServerCluster resource and omit `cluster_state`. This is the default value (for ListGameServerClusters, GetGameServerCluster and PreviewCreateGameServerCluster).
279 FULL - Include everything.
Bu Sun Kim65020912020-05-20 12:08:20 -0700280 x__xgafv: string, V1 error format.
281 Allowed values
282 1 - v1 error format
283 2 - v2 error format
284
285Returns:
286 An object of the form:
287
288 { # Response message for GameServerClustersService.ListGameServerClusters.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800289 &quot;gameServerClusters&quot;: [ # The list of game server clusters.
290 { # A game server cluster resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800291 &quot;allocationPriority&quot;: &quot;A String&quot;, # Optional. The allocation priority assigned to the game server cluster. Game server clusters receive new game server allocations based on the relative allocation priorites set for each cluster, if the realm is configured for multicluster allocation.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700292 &quot;clusterState&quot;: { # The state of the Kubernetes cluster. # Output only. The state of the Kubernetes cluster, this will be available if &#x27;view&#x27; is set to `FULL` in the relevant List/Get/Preview request.
293 &quot;agonesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Agones currently installed in the registered Kubernetes cluster.
294 &quot;agonesVersionTargeted&quot;: &quot;A String&quot;, # Output only. The version of Agones that is targeted to be installed in the cluster.
295 &quot;installationState&quot;: &quot;A String&quot;, # Output only. The state for the installed versions of Agones/Kubernetes.
296 &quot;kubernetesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Kubernetes that is currently used in the registered Kubernetes cluster (as detected by the Cloud Game Servers service).
297 &quot;provider&quot;: &quot;A String&quot;, # Output only. The cloud provider type reported by the first node&#x27;s providerID in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the provider type will be empty.
298 &quot;versionInstalledErrorMessage&quot;: &quot;A String&quot;, # Output only. The detailed error message for the installed versions of Agones/Kubernetes.
299 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800300 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
301 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
302 &quot;cluster&quot;: &quot;A String&quot;, # 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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800303 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800304 &quot;gkeHubClusterReference&quot;: { # GkeHubClusterReference represents a reference to a Kubernetes cluster registered through GKE Hub. # Reference to a Kubernetes cluster registered through GKE Hub. See https://cloud.google.com/anthos/multicluster-management/ for more information about registering Kubernetes clusters.
305 &quot;membership&quot;: &quot;A String&quot;, # The full or partial name of a GKE Hub membership, using one of the following forms: * `https://gkehub.googleapis.com/v1beta1/projects/{project_id}/locations/global/memberships/{membership_id}` * `projects/{project_id}/locations/global/memberships/{membership_id}` * `{membership_id}` If project is not specified, the project of the GameServerCluster resource is used to generate the full name of the GKE Hub membership.
306 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800307 &quot;namespace&quot;: &quot;A String&quot;, # 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.
308 },
309 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
310 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
311 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
312 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
313 &quot;a_key&quot;: &quot;A String&quot;,
314 },
315 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
316 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
317 },
318 ],
319 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no more results in the list.
320 &quot;unreachable&quot;: [ # List of locations that could not be reached.
321 &quot;A String&quot;,
322 ],
323}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700324</div>
325
326<div class="method">
327 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
328 <pre>Retrieves the next page of results.
329
330Args:
331 previous_request: The request for the previous page. (required)
332 previous_response: The response from the request for the previous page. (required)
333
334Returns:
335 A request object that you can call &#x27;execute()&#x27; on to request the next
336 page. Returns None if there are no more items in the collection.
337 </pre>
338</div>
339
340<div class="method">
341 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
342 <pre>Patches a single game server cluster.
343
344Args:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700345 name: string, Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700346 body: object, The request body.
347 The object takes the form of:
348
349{ # A game server cluster resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800350 &quot;allocationPriority&quot;: &quot;A String&quot;, # Optional. The allocation priority assigned to the game server cluster. Game server clusters receive new game server allocations based on the relative allocation priorites set for each cluster, if the realm is configured for multicluster allocation.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700351 &quot;clusterState&quot;: { # The state of the Kubernetes cluster. # Output only. The state of the Kubernetes cluster, this will be available if &#x27;view&#x27; is set to `FULL` in the relevant List/Get/Preview request.
352 &quot;agonesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Agones currently installed in the registered Kubernetes cluster.
353 &quot;agonesVersionTargeted&quot;: &quot;A String&quot;, # Output only. The version of Agones that is targeted to be installed in the cluster.
354 &quot;installationState&quot;: &quot;A String&quot;, # Output only. The state for the installed versions of Agones/Kubernetes.
355 &quot;kubernetesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Kubernetes that is currently used in the registered Kubernetes cluster (as detected by the Cloud Game Servers service).
356 &quot;provider&quot;: &quot;A String&quot;, # Output only. The cloud provider type reported by the first node&#x27;s providerID in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the provider type will be empty.
357 &quot;versionInstalledErrorMessage&quot;: &quot;A String&quot;, # Output only. The detailed error message for the installed versions of Agones/Kubernetes.
358 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800359 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
360 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
361 &quot;cluster&quot;: &quot;A String&quot;, # 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700362 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800363 &quot;gkeHubClusterReference&quot;: { # GkeHubClusterReference represents a reference to a Kubernetes cluster registered through GKE Hub. # Reference to a Kubernetes cluster registered through GKE Hub. See https://cloud.google.com/anthos/multicluster-management/ for more information about registering Kubernetes clusters.
364 &quot;membership&quot;: &quot;A String&quot;, # The full or partial name of a GKE Hub membership, using one of the following forms: * `https://gkehub.googleapis.com/v1beta1/projects/{project_id}/locations/global/memberships/{membership_id}` * `projects/{project_id}/locations/global/memberships/{membership_id}` * `{membership_id}` If project is not specified, the project of the GameServerCluster resource is used to generate the full name of the GKE Hub membership.
365 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800366 &quot;namespace&quot;: &quot;A String&quot;, # 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.
367 },
368 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
369 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
370 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
371 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
372 &quot;a_key&quot;: &quot;A String&quot;,
373 },
374 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
375 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
376}
Bu Sun Kim65020912020-05-20 12:08:20 -0700377
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800378 updateMask: string, Required. Mask of fields to update. At least one path must be supplied in this field. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
Bu Sun Kim65020912020-05-20 12:08:20 -0700379 x__xgafv: string, V1 error format.
380 Allowed values
381 1 - v1 error format
382 2 - v2 error format
383
384Returns:
385 An object of the form:
386
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700387 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800388 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
389 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
390 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
391 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
392 {
393 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
394 },
395 ],
396 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
397 },
398 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
399 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
400 },
401 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
402 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
403 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
404 },
405}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700406</div>
407
408<div class="method">
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700409 <code class="details" id="previewCreate">previewCreate(parent, body=None, gameServerClusterId=None, previewTime=None, view=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700410 <pre>Previews creation of a new game server cluster in a given project and location.
Bu Sun Kim65020912020-05-20 12:08:20 -0700411
412Args:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700413 parent: string, Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/realms/{realm}`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700414 body: object, The request body.
415 The object takes the form of:
416
417{ # A game server cluster resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800418 &quot;allocationPriority&quot;: &quot;A String&quot;, # Optional. The allocation priority assigned to the game server cluster. Game server clusters receive new game server allocations based on the relative allocation priorites set for each cluster, if the realm is configured for multicluster allocation.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700419 &quot;clusterState&quot;: { # The state of the Kubernetes cluster. # Output only. The state of the Kubernetes cluster, this will be available if &#x27;view&#x27; is set to `FULL` in the relevant List/Get/Preview request.
420 &quot;agonesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Agones currently installed in the registered Kubernetes cluster.
421 &quot;agonesVersionTargeted&quot;: &quot;A String&quot;, # Output only. The version of Agones that is targeted to be installed in the cluster.
422 &quot;installationState&quot;: &quot;A String&quot;, # Output only. The state for the installed versions of Agones/Kubernetes.
423 &quot;kubernetesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Kubernetes that is currently used in the registered Kubernetes cluster (as detected by the Cloud Game Servers service).
424 &quot;provider&quot;: &quot;A String&quot;, # Output only. The cloud provider type reported by the first node&#x27;s providerID in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the provider type will be empty.
425 &quot;versionInstalledErrorMessage&quot;: &quot;A String&quot;, # Output only. The detailed error message for the installed versions of Agones/Kubernetes.
426 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800427 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
428 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
429 &quot;cluster&quot;: &quot;A String&quot;, # 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700430 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800431 &quot;gkeHubClusterReference&quot;: { # GkeHubClusterReference represents a reference to a Kubernetes cluster registered through GKE Hub. # Reference to a Kubernetes cluster registered through GKE Hub. See https://cloud.google.com/anthos/multicluster-management/ for more information about registering Kubernetes clusters.
432 &quot;membership&quot;: &quot;A String&quot;, # The full or partial name of a GKE Hub membership, using one of the following forms: * `https://gkehub.googleapis.com/v1beta1/projects/{project_id}/locations/global/memberships/{membership_id}` * `projects/{project_id}/locations/global/memberships/{membership_id}` * `{membership_id}` If project is not specified, the project of the GameServerCluster resource is used to generate the full name of the GKE Hub membership.
433 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800434 &quot;namespace&quot;: &quot;A String&quot;, # 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.
435 },
436 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
437 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
438 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
439 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
440 &quot;a_key&quot;: &quot;A String&quot;,
441 },
442 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
443 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
444}
Bu Sun Kim65020912020-05-20 12:08:20 -0700445
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800446 gameServerClusterId: string, Required. The ID of the game server cluster resource to be created.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800447 previewTime: string, Optional. The target timestamp to compute the preview.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700448 view: string, Optional. This field is deprecated, preview will always return KubernetesClusterState.
449 Allowed values
450 GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED - The default / unset value. The API will default to the BASIC view.
451 BASIC - Include basic information of a GameServerCluster resource and omit `cluster_state`. This is the default value (for ListGameServerClusters, GetGameServerCluster and PreviewCreateGameServerCluster).
452 FULL - Include everything.
Bu Sun Kim65020912020-05-20 12:08:20 -0700453 x__xgafv: string, V1 error format.
454 Allowed values
455 1 - v1 error format
456 2 - v2 error format
457
458Returns:
459 An object of the form:
460
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700461 { # Response message for GameServerClustersService.PreviewCreateGameServerCluster.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700462 &quot;clusterState&quot;: { # The state of the Kubernetes cluster. # Output only. The state of the Kubernetes cluster in preview, this will be available if &#x27;view&#x27; is set to `FULL` in the relevant List/Get/Preview request.
463 &quot;agonesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Agones currently installed in the registered Kubernetes cluster.
464 &quot;agonesVersionTargeted&quot;: &quot;A String&quot;, # Output only. The version of Agones that is targeted to be installed in the cluster.
465 &quot;installationState&quot;: &quot;A String&quot;, # Output only. The state for the installed versions of Agones/Kubernetes.
466 &quot;kubernetesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Kubernetes that is currently used in the registered Kubernetes cluster (as detected by the Cloud Game Servers service).
467 &quot;provider&quot;: &quot;A String&quot;, # Output only. The cloud provider type reported by the first node&#x27;s providerID in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the provider type will be empty.
468 &quot;versionInstalledErrorMessage&quot;: &quot;A String&quot;, # Output only. The detailed error message for the installed versions of Agones/Kubernetes.
469 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800470 &quot;etag&quot;: &quot;A String&quot;, # The ETag of the game server cluster.
471 &quot;targetState&quot;: { # Encapsulates the Target state. # The target state.
472 &quot;details&quot;: [ # Details about Agones fleets.
473 { # Details about the Agones resources.
474 &quot;fleetDetails&quot;: [ # Agones fleet details for game server clusters and game server deployments.
475 { # Details of the target Agones fleet.
476 &quot;autoscaler&quot;: { # Target Agones autoscaler policy reference. # Reference to target Agones fleet autoscaling policy.
477 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones autoscaler.
478 &quot;specSource&quot;: { # Encapsulates Agones fleet spec and Agones autoscaler spec sources. # Encapsulates the source of the Agones fleet spec. Details about the Agones autoscaler spec.
479 &quot;gameServerConfigName&quot;: &quot;A String&quot;, # The game server config resource. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`.
480 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones leet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800481 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700482 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800483 &quot;fleet&quot;: { # Target Agones fleet specification. # Reference to target Agones fleet.
484 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet.
485 &quot;specSource&quot;: { # Encapsulates Agones fleet spec and Agones autoscaler spec sources. # Encapsulates the source of the Agones fleet spec. The Agones fleet spec source.
486 &quot;gameServerConfigName&quot;: &quot;A String&quot;, # The game server config resource. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`.
487 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones leet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.
488 },
489 },
490 },
491 ],
492 &quot;gameServerClusterName&quot;: &quot;A String&quot;, # The game server cluster name. Uses the form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
493 &quot;gameServerDeploymentName&quot;: &quot;A String&quot;, # The game server deployment name. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}`.
494 },
495 ],
496 },
497}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700498</div>
499
500<div class="method">
501 <code class="details" id="previewDelete">previewDelete(name, previewTime=None, x__xgafv=None)</code>
502 <pre>Previews deletion of a single game server cluster.
503
504Args:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700505 name: string, Required. The name of the game server cluster to delete, in the following form: `projects/{project}/locations/{location}/gameServerClusters/{cluster}`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700506 previewTime: string, Optional. The target timestamp to compute the preview.
507 x__xgafv: string, V1 error format.
508 Allowed values
509 1 - v1 error format
510 2 - v2 error format
511
512Returns:
513 An object of the form:
514
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700515 { # Response message for GameServerClustersService.PreviewDeleteGameServerCluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800516 &quot;etag&quot;: &quot;A String&quot;, # The ETag of the game server cluster.
517 &quot;targetState&quot;: { # Encapsulates the Target state. # The target state.
518 &quot;details&quot;: [ # Details about Agones fleets.
519 { # Details about the Agones resources.
520 &quot;fleetDetails&quot;: [ # Agones fleet details for game server clusters and game server deployments.
521 { # Details of the target Agones fleet.
522 &quot;autoscaler&quot;: { # Target Agones autoscaler policy reference. # Reference to target Agones fleet autoscaling policy.
523 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones autoscaler.
524 &quot;specSource&quot;: { # Encapsulates Agones fleet spec and Agones autoscaler spec sources. # Encapsulates the source of the Agones fleet spec. Details about the Agones autoscaler spec.
525 &quot;gameServerConfigName&quot;: &quot;A String&quot;, # The game server config resource. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`.
526 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones leet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800527 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700528 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800529 &quot;fleet&quot;: { # Target Agones fleet specification. # Reference to target Agones fleet.
530 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet.
531 &quot;specSource&quot;: { # Encapsulates Agones fleet spec and Agones autoscaler spec sources. # Encapsulates the source of the Agones fleet spec. The Agones fleet spec source.
532 &quot;gameServerConfigName&quot;: &quot;A String&quot;, # The game server config resource. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`.
533 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones leet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.
534 },
535 },
536 },
537 ],
538 &quot;gameServerClusterName&quot;: &quot;A String&quot;, # The game server cluster name. Uses the form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
539 &quot;gameServerDeploymentName&quot;: &quot;A String&quot;, # The game server deployment name. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}`.
540 },
541 ],
542 },
543}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700544</div>
545
546<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800547 <code class="details" id="previewUpdate">previewUpdate(name, body=None, previewTime=None, updateMask=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700548 <pre>Previews updating a GameServerCluster.
549
550Args:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700551 name: string, Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700552 body: object, The request body.
553 The object takes the form of:
554
555{ # A game server cluster resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800556 &quot;allocationPriority&quot;: &quot;A String&quot;, # Optional. The allocation priority assigned to the game server cluster. Game server clusters receive new game server allocations based on the relative allocation priorites set for each cluster, if the realm is configured for multicluster allocation.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700557 &quot;clusterState&quot;: { # The state of the Kubernetes cluster. # Output only. The state of the Kubernetes cluster, this will be available if &#x27;view&#x27; is set to `FULL` in the relevant List/Get/Preview request.
558 &quot;agonesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Agones currently installed in the registered Kubernetes cluster.
559 &quot;agonesVersionTargeted&quot;: &quot;A String&quot;, # Output only. The version of Agones that is targeted to be installed in the cluster.
560 &quot;installationState&quot;: &quot;A String&quot;, # Output only. The state for the installed versions of Agones/Kubernetes.
561 &quot;kubernetesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Kubernetes that is currently used in the registered Kubernetes cluster (as detected by the Cloud Game Servers service).
562 &quot;provider&quot;: &quot;A String&quot;, # Output only. The cloud provider type reported by the first node&#x27;s providerID in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the provider type will be empty.
563 &quot;versionInstalledErrorMessage&quot;: &quot;A String&quot;, # Output only. The detailed error message for the installed versions of Agones/Kubernetes.
564 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800565 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
566 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
567 &quot;cluster&quot;: &quot;A String&quot;, # 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700568 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800569 &quot;gkeHubClusterReference&quot;: { # GkeHubClusterReference represents a reference to a Kubernetes cluster registered through GKE Hub. # Reference to a Kubernetes cluster registered through GKE Hub. See https://cloud.google.com/anthos/multicluster-management/ for more information about registering Kubernetes clusters.
570 &quot;membership&quot;: &quot;A String&quot;, # The full or partial name of a GKE Hub membership, using one of the following forms: * `https://gkehub.googleapis.com/v1beta1/projects/{project_id}/locations/global/memberships/{membership_id}` * `projects/{project_id}/locations/global/memberships/{membership_id}` * `{membership_id}` If project is not specified, the project of the GameServerCluster resource is used to generate the full name of the GKE Hub membership.
571 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800572 &quot;namespace&quot;: &quot;A String&quot;, # 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.
573 },
574 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
575 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
576 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
577 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
578 &quot;a_key&quot;: &quot;A String&quot;,
579 },
580 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
581 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
582}
Bu Sun Kim65020912020-05-20 12:08:20 -0700583
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800584 previewTime: string, Optional. The target timestamp to compute the preview.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800585 updateMask: string, Required. Mask of fields to update. At least one path must be supplied in this field. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
Bu Sun Kim65020912020-05-20 12:08:20 -0700586 x__xgafv: string, V1 error format.
587 Allowed values
588 1 - v1 error format
589 2 - v2 error format
590
591Returns:
592 An object of the form:
593
594 { # Response message for GameServerClustersService.PreviewUpdateGameServerCluster
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800595 &quot;etag&quot;: &quot;A String&quot;, # The ETag of the game server cluster.
596 &quot;targetState&quot;: { # Encapsulates the Target state. # The target state.
597 &quot;details&quot;: [ # Details about Agones fleets.
598 { # Details about the Agones resources.
599 &quot;fleetDetails&quot;: [ # Agones fleet details for game server clusters and game server deployments.
600 { # Details of the target Agones fleet.
601 &quot;autoscaler&quot;: { # Target Agones autoscaler policy reference. # Reference to target Agones fleet autoscaling policy.
602 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones autoscaler.
603 &quot;specSource&quot;: { # Encapsulates Agones fleet spec and Agones autoscaler spec sources. # Encapsulates the source of the Agones fleet spec. Details about the Agones autoscaler spec.
604 &quot;gameServerConfigName&quot;: &quot;A String&quot;, # The game server config resource. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`.
605 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones leet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800606 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700607 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800608 &quot;fleet&quot;: { # Target Agones fleet specification. # Reference to target Agones fleet.
609 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet.
610 &quot;specSource&quot;: { # Encapsulates Agones fleet spec and Agones autoscaler spec sources. # Encapsulates the source of the Agones fleet spec. The Agones fleet spec source.
611 &quot;gameServerConfigName&quot;: &quot;A String&quot;, # The game server config resource. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`.
612 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones leet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.
613 },
614 },
615 },
616 ],
617 &quot;gameServerClusterName&quot;: &quot;A String&quot;, # The game server cluster name. Uses the form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
618 &quot;gameServerDeploymentName&quot;: &quot;A String&quot;, # The game server deployment name. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}`.
619 },
620 ],
621 },
622}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700623</div>
624
625</body></html>