Debian Codegraph @

docs/dyn/gameservices_v1beta.projects.locations.realms.gameServerClusters.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <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">
87 <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of a single game server cluster.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
91 <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()</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">
99 <code><a href="#previewCreate">previewCreate(parent, body=None, gameServerClusterId=None, previewTime=None, view=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Previews creation of a new game server cluster in a given project and location.</p>
101 <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">
105 <code><a href="#previewUpdate">previewUpdate(name, body=None, previewTime=None, updateMask=None, x__xgafv=None)</a></code></p>
106 <p class="firstline">Previews updating a GameServerCluster.</p>
107 <h3>Method Details</h3>
108 <div class="method">
109 <code class="details" id="close">close()</code>
110 <pre>Close httplib2 connections.</pre>
111 </div>
112
113 <div class="method">
114 <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
117 Args:
118 parent: string, Required. The parent resource name, in the following form: `projects/{project}/locations/{locationId}/realms/{realmId}`. (required)
119 body: object, The request body.
120 The object takes the form of:
121
122 { # A game server cluster resource.
123 &quot;clusterState&quot;: { # The state of the Kubernetes cluster. # Output only. The state of the Kubernetes cluster in preview. This will be available if view is set to FULL in the relevant list/get/preview request.
124 &quot;agonesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Agones currently installed in the registered Kubernetes cluster.
125 &quot;agonesVersionTargeted&quot;: &quot;A String&quot;, # Output only. The version of Agones that is targeted to be installed in the cluster.
126 &quot;installationState&quot;: &quot;A String&quot;, # Output only. The state for the installed versions of Agones/Kubernetes.
127 &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).
128 &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.
129 &quot;versionInstalledErrorMessage&quot;: &quot;A String&quot;, # Output only. The detailed error message for the installed versions of Agones/Kubernetes.
130 },
131 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
132 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
133 &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/{locationId}/clusters/{cluster}` * `locations/{locationId}/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.
134 },
135 &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.
136 },
137 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
138 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
139 &quot;etag&quot;: &quot;A String&quot;, # Used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
140 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
141 &quot;a_key&quot;: &quot;A String&quot;,
142 },
143 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}`. For example, `projects/my-project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster`.
144 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
145 }
146
147 gameServerClusterId: string, Required. The ID of the game server cluster resource to create.
148 x__xgafv: string, V1 error format.
149 Allowed values
150 1 - v1 error format
151 2 - v2 error format
152
153 Returns:
154 An object of the form:
155
156 { # This resource represents a long-running operation that is the result of a network API call.
157 &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.
158 &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.
159 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
160 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
161 {
162 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
163 },
164 ],
165 &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.
166 },
167 &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.
168 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
169 },
170 &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}`.
171 &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`.
172 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
173 },
174 }</pre>
175 </div>
176
177 <div class="method">
178 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
179 <pre>Deletes a single game server cluster.
180
181 Args:
182 name: string, Required. The name of the game server cluster to delete, in the following form: `projects/{project}/locations/{locationId}/gameServerClusters/{gameServerClusterId}`. (required)
183 x__xgafv: string, V1 error format.
184 Allowed values
185 1 - v1 error format
186 2 - v2 error format
187
188 Returns:
189 An object of the form:
190
191 { # This resource represents a long-running operation that is the result of a network API call.
192 &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.
193 &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.
194 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
195 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
196 {
197 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
198 },
199 ],
200 &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.
201 },
202 &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.
203 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
204 },
205 &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}`.
206 &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`.
207 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
208 },
209 }</pre>
210 </div>
211
212 <div class="method">
213 <code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
214 <pre>Gets details of a single game server cluster.
215
216 Args:
217 name: string, Required. The name of the game server cluster to retrieve, in the following form: `projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}`. (required)
218 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`, the same as `BASIC`, which does not return the `cluster_state` field.
219 Allowed values
220 GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED - If the value is not set, Google Cloud Game Servers defaults to the `BASIC` view.
221 BASIC - Includes basic information of a GameServerCluster resource and omits `cluster_state`. This is the default value (for methods ListGameServerClusters, GetGameServerCluster, and PreviewCreateGameServerCluster).
222 FULL - Include basic information of a GameServerCluster resource as well as `cluster_state`.
223 x__xgafv: string, V1 error format.
224 Allowed values
225 1 - v1 error format
226 2 - v2 error format
227
228 Returns:
229 An object of the form:
230
231 { # A game server cluster resource.
232 &quot;clusterState&quot;: { # The state of the Kubernetes cluster. # Output only. The state of the Kubernetes cluster in preview. This will be available if view is set to FULL in the relevant list/get/preview request.
233 &quot;agonesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Agones currently installed in the registered Kubernetes cluster.
234 &quot;agonesVersionTargeted&quot;: &quot;A String&quot;, # Output only. The version of Agones that is targeted to be installed in the cluster.
235 &quot;installationState&quot;: &quot;A String&quot;, # Output only. The state for the installed versions of Agones/Kubernetes.
236 &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).
237 &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.
238 &quot;versionInstalledErrorMessage&quot;: &quot;A String&quot;, # Output only. The detailed error message for the installed versions of Agones/Kubernetes.
239 },
240 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
241 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
242 &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/{locationId}/clusters/{cluster}` * `locations/{locationId}/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.
243 },
244 &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.
245 },
246 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
247 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
248 &quot;etag&quot;: &quot;A String&quot;, # Used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
249 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
250 &quot;a_key&quot;: &quot;A String&quot;,
251 },
252 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}`. For example, `projects/my-project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster`.
253 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
254 }</pre>
255 </div>
256
257 <div class="method">
258 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code>
259 <pre>Lists game server clusters in a given project and location.
260
261 Args:
262 parent: string, Required. The parent resource name, in the following form: `projects/{project}/locations/{locationId}/realms/{realmId}`. (required)
263 filter: string, Optional. The filter to apply to list results (see [Filtering](https://google.aip.dev/160)).
264 orderBy: string, Optional. Specifies the ordering of results following [Cloud API syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order).
265 pageSize: integer, Optional. The maximum number of items to return. If unspecified, the server picks 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.
266 pageToken: string, Optional. The next_page_token value returned from a previous list request, if any.
267 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`, the same as `BASIC`, which does not return the `cluster_state` field.
268 Allowed values
269 GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED - If the value is not set, Google Cloud Game Servers defaults to the `BASIC` view.
270 BASIC - Includes basic information of a GameServerCluster resource and omits `cluster_state`. This is the default value (for methods ListGameServerClusters, GetGameServerCluster, and PreviewCreateGameServerCluster).
271 FULL - Include basic information of a GameServerCluster resource as well as `cluster_state`.
272 x__xgafv: string, V1 error format.
273 Allowed values
274 1 - v1 error format
275 2 - v2 error format
276
277 Returns:
278 An object of the form:
279
280 { # Response message for GameServerClustersService.ListGameServerClusters.
281 &quot;gameServerClusters&quot;: [ # The list of game server clusters.
282 { # A game server cluster resource.
283 &quot;clusterState&quot;: { # The state of the Kubernetes cluster. # Output only. The state of the Kubernetes cluster in preview. This will be available if view is set to FULL in the relevant list/get/preview request.
284 &quot;agonesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Agones currently installed in the registered Kubernetes cluster.
285 &quot;agonesVersionTargeted&quot;: &quot;A String&quot;, # Output only. The version of Agones that is targeted to be installed in the cluster.
286 &quot;installationState&quot;: &quot;A String&quot;, # Output only. The state for the installed versions of Agones/Kubernetes.
287 &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).
288 &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.
289 &quot;versionInstalledErrorMessage&quot;: &quot;A String&quot;, # Output only. The detailed error message for the installed versions of Agones/Kubernetes.
290 },
291 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
292 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
293 &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/{locationId}/clusters/{cluster}` * `locations/{locationId}/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.
294 },
295 &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.
296 },
297 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
298 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
299 &quot;etag&quot;: &quot;A String&quot;, # Used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
300 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
301 &quot;a_key&quot;: &quot;A String&quot;,
302 },
303 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}`. For example, `projects/my-project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster`.
304 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
305 },
306 ],
307 &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.
308 &quot;unreachable&quot;: [ # List of locations that could not be reached.
309 &quot;A String&quot;,
310 ],
311 }</pre>
312 </div>
313
314 <div class="method">
315 <code class="details" id="list_next">list_next()</code>
316 <pre>Retrieves the next page of results.
317
318 Args:
319 previous_request: The request for the previous page. (required)
320 previous_response: The response from the request for the previous page. (required)
321
322 Returns:
323 A request object that you can call &#x27;execute()&#x27; on to request the next
324 page. Returns None if there are no more items in the collection.
325 </pre>
326 </div>
327
328 <div class="method">
329 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
330 <pre>Patches a single game server cluster.
331
332 Args:
333 name: string, Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}`. For example, `projects/my-project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster`. (required)
334 body: object, The request body.
335 The object takes the form of:
336
337 { # A game server cluster resource.
338 &quot;clusterState&quot;: { # The state of the Kubernetes cluster. # Output only. The state of the Kubernetes cluster in preview. This will be available if view is set to FULL in the relevant list/get/preview request.
339 &quot;agonesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Agones currently installed in the registered Kubernetes cluster.
340 &quot;agonesVersionTargeted&quot;: &quot;A String&quot;, # Output only. The version of Agones that is targeted to be installed in the cluster.
341 &quot;installationState&quot;: &quot;A String&quot;, # Output only. The state for the installed versions of Agones/Kubernetes.
342 &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).
343 &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.
344 &quot;versionInstalledErrorMessage&quot;: &quot;A String&quot;, # Output only. The detailed error message for the installed versions of Agones/Kubernetes.
345 },
346 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
347 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
348 &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/{locationId}/clusters/{cluster}` * `locations/{locationId}/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.
349 },
350 &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.
351 },
352 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
353 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
354 &quot;etag&quot;: &quot;A String&quot;, # Used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
355 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
356 &quot;a_key&quot;: &quot;A String&quot;,
357 },
358 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}`. For example, `projects/my-project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster`.
359 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
360 }
361
362 updateMask: string, Required. The update mask to apply to the resource. At least one path must be supplied in this field. For more information, see the [`FieldMask` definition](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
363 x__xgafv: string, V1 error format.
364 Allowed values
365 1 - v1 error format
366 2 - v2 error format
367
368 Returns:
369 An object of the form:
370
371 { # This resource represents a long-running operation that is the result of a network API call.
372 &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.
373 &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.
374 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
375 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
376 {
377 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
378 },
379 ],
380 &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.
381 },
382 &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.
383 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
384 },
385 &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}`.
386 &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`.
387 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
388 },
389 }</pre>
390 </div>
391
392 <div class="method">
393 <code class="details" id="previewCreate">previewCreate(parent, body=None, gameServerClusterId=None, previewTime=None, view=None, x__xgafv=None)</code>
394 <pre>Previews creation of a new game server cluster in a given project and location.
395
396 Args:
397 parent: string, Required. The parent resource name, in the following form: `projects/{project}/locations/{locationId}/realms/{realmId}`. (required)
398 body: object, The request body.
399 The object takes the form of:
400
401 { # A game server cluster resource.
402 &quot;clusterState&quot;: { # The state of the Kubernetes cluster. # Output only. The state of the Kubernetes cluster in preview. This will be available if view is set to FULL in the relevant list/get/preview request.
403 &quot;agonesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Agones currently installed in the registered Kubernetes cluster.
404 &quot;agonesVersionTargeted&quot;: &quot;A String&quot;, # Output only. The version of Agones that is targeted to be installed in the cluster.
405 &quot;installationState&quot;: &quot;A String&quot;, # Output only. The state for the installed versions of Agones/Kubernetes.
406 &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).
407 &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.
408 &quot;versionInstalledErrorMessage&quot;: &quot;A String&quot;, # Output only. The detailed error message for the installed versions of Agones/Kubernetes.
409 },
410 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
411 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
412 &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/{locationId}/clusters/{cluster}` * `locations/{locationId}/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.
413 },
414 &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.
415 },
416 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
417 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
418 &quot;etag&quot;: &quot;A String&quot;, # Used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
419 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
420 &quot;a_key&quot;: &quot;A String&quot;,
421 },
422 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}`. For example, `projects/my-project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster`.
423 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
424 }
425
426 gameServerClusterId: string, Required. The ID of the game server cluster resource to create.
427 previewTime: string, Optional. The target timestamp to compute the preview.
428 view: string, Optional. This field is deprecated. Preview will always return KubernetesClusterState.
429 Allowed values
430 GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED - If the value is not set, Google Cloud Game Servers defaults to the `BASIC` view.
431 BASIC - Includes basic information of a GameServerCluster resource and omits `cluster_state`. This is the default value (for methods ListGameServerClusters, GetGameServerCluster, and PreviewCreateGameServerCluster).
432 FULL - Include basic information of a GameServerCluster resource as well as `cluster_state`.
433 x__xgafv: string, V1 error format.
434 Allowed values
435 1 - v1 error format
436 2 - v2 error format
437
438 Returns:
439 An object of the form:
440
441 { # Response message for GameServerClustersService.PreviewCreateGameServerCluster.
442 &quot;clusterState&quot;: { # The state of the Kubernetes cluster. # Output only. The state of the Kubernetes cluster in preview. This will be available if view is set to FULL in the relevant list/get/preview request.
443 &quot;agonesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Agones currently installed in the registered Kubernetes cluster.
444 &quot;agonesVersionTargeted&quot;: &quot;A String&quot;, # Output only. The version of Agones that is targeted to be installed in the cluster.
445 &quot;installationState&quot;: &quot;A String&quot;, # Output only. The state for the installed versions of Agones/Kubernetes.
446 &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).
447 &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.
448 &quot;versionInstalledErrorMessage&quot;: &quot;A String&quot;, # Output only. The detailed error message for the installed versions of Agones/Kubernetes.
449 },
450 &quot;etag&quot;: &quot;A String&quot;, # The ETag of the game server cluster.
451 &quot;targetState&quot;: { # Encapsulates the Target state. # The target state.
452 &quot;details&quot;: [ # Details about Agones fleets.
453 { # Details about the Agones resources.
454 &quot;fleetDetails&quot;: [ # Agones fleet details for game server clusters and game server deployments.
455 { # Details of the target Agones fleet.
456 &quot;autoscaler&quot;: { # Target Agones autoscaler policy reference. # Reference to target Agones fleet autoscaling policy.
457 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones autoscaler.
458 &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.
459 &quot;gameServerConfigName&quot;: &quot;A String&quot;, # The game server config resource. Uses the form: `projects/{project}/locations/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}`.
460 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.
461 },
462 },
463 &quot;fleet&quot;: { # Target Agones fleet specification. # Reference to target Agones fleet.
464 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet.
465 &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.
466 &quot;gameServerConfigName&quot;: &quot;A String&quot;, # The game server config resource. Uses the form: `projects/{project}/locations/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}`.
467 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.
468 },
469 },
470 },
471 ],
472 &quot;gameServerClusterName&quot;: &quot;A String&quot;, # The game server cluster name. Uses the form: `projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}`.
473 &quot;gameServerDeploymentName&quot;: &quot;A String&quot;, # The game server deployment name. Uses the form: `projects/{project}/locations/{locationId}/gameServerDeployments/{deploymentId}`.
474 },
475 ],
476 },
477 }</pre>
478 </div>
479
480 <div class="method">
481 <code class="details" id="previewDelete">previewDelete(name, previewTime=None, x__xgafv=None)</code>
482 <pre>Previews deletion of a single game server cluster.
483
484 Args:
485 name: string, Required. The name of the game server cluster to delete, in the following form: `projects/{project}/locations/{locationId}/gameServerClusters/{gameServerClusterId}`. (required)
486 previewTime: string, Optional. The target timestamp to compute the preview.
487 x__xgafv: string, V1 error format.
488 Allowed values
489 1 - v1 error format
490 2 - v2 error format
491
492 Returns:
493 An object of the form:
494
495 { # Response message for GameServerClustersService.PreviewDeleteGameServerCluster.
496 &quot;etag&quot;: &quot;A String&quot;, # The ETag of the game server cluster.
497 &quot;targetState&quot;: { # Encapsulates the Target state. # The target state.
498 &quot;details&quot;: [ # Details about Agones fleets.
499 { # Details about the Agones resources.
500 &quot;fleetDetails&quot;: [ # Agones fleet details for game server clusters and game server deployments.
501 { # Details of the target Agones fleet.
502 &quot;autoscaler&quot;: { # Target Agones autoscaler policy reference. # Reference to target Agones fleet autoscaling policy.
503 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones autoscaler.
504 &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.
505 &quot;gameServerConfigName&quot;: &quot;A String&quot;, # The game server config resource. Uses the form: `projects/{project}/locations/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}`.
506 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.
507 },
508 },
509 &quot;fleet&quot;: { # Target Agones fleet specification. # Reference to target Agones fleet.
510 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet.
511 &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.
512 &quot;gameServerConfigName&quot;: &quot;A String&quot;, # The game server config resource. Uses the form: `projects/{project}/locations/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}`.
513 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.
514 },
515 },
516 },
517 ],
518 &quot;gameServerClusterName&quot;: &quot;A String&quot;, # The game server cluster name. Uses the form: `projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}`.
519 &quot;gameServerDeploymentName&quot;: &quot;A String&quot;, # The game server deployment name. Uses the form: `projects/{project}/locations/{locationId}/gameServerDeployments/{deploymentId}`.
520 },
521 ],
522 },
523 }</pre>
524 </div>
525
526 <div class="method">
527 <code class="details" id="previewUpdate">previewUpdate(name, body=None, previewTime=None, updateMask=None, x__xgafv=None)</code>
528 <pre>Previews updating a GameServerCluster.
529
530 Args:
531 name: string, Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}`. For example, `projects/my-project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster`. (required)
532 body: object, The request body.
533 The object takes the form of:
534
535 { # A game server cluster resource.
536 &quot;clusterState&quot;: { # The state of the Kubernetes cluster. # Output only. The state of the Kubernetes cluster in preview. This will be available if view is set to FULL in the relevant list/get/preview request.
537 &quot;agonesVersionInstalled&quot;: &quot;A String&quot;, # Output only. The version of Agones currently installed in the registered Kubernetes cluster.
538 &quot;agonesVersionTargeted&quot;: &quot;A String&quot;, # Output only. The version of Agones that is targeted to be installed in the cluster.
539 &quot;installationState&quot;: &quot;A String&quot;, # Output only. The state for the installed versions of Agones/Kubernetes.
540 &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).
541 &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.
542 &quot;versionInstalledErrorMessage&quot;: &quot;A String&quot;, # Output only. The detailed error message for the installed versions of Agones/Kubernetes.
543 },
544 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
545 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
546 &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/{locationId}/clusters/{cluster}` * `locations/{locationId}/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.
547 },
548 &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.
549 },
550 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
551 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
552 &quot;etag&quot;: &quot;A String&quot;, # Used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
553 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
554 &quot;a_key&quot;: &quot;A String&quot;,
555 },
556 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}`. For example, `projects/my-project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster`.
557 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
558 }
559
560 previewTime: string, Optional. The target timestamp to compute the preview.
561 updateMask: string, Required. Mask of fields to update. At least one path must be supplied in this field. For more information, see the [`FieldMask` definition](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
562 x__xgafv: string, V1 error format.
563 Allowed values
564 1 - v1 error format
565 2 - v2 error format
566
567 Returns:
568 An object of the form:
569
570 { # Response message for GameServerClustersService.PreviewUpdateGameServerCluster
571 &quot;etag&quot;: &quot;A String&quot;, # The ETag of the game server cluster.
572 &quot;targetState&quot;: { # Encapsulates the Target state. # The target state.
573 &quot;details&quot;: [ # Details about Agones fleets.
574 { # Details about the Agones resources.
575 &quot;fleetDetails&quot;: [ # Agones fleet details for game server clusters and game server deployments.
576 { # Details of the target Agones fleet.
577 &quot;autoscaler&quot;: { # Target Agones autoscaler policy reference. # Reference to target Agones fleet autoscaling policy.
578 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones autoscaler.
579 &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.
580 &quot;gameServerConfigName&quot;: &quot;A String&quot;, # The game server config resource. Uses the form: `projects/{project}/locations/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}`.
581 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.
582 },
583 },
584 &quot;fleet&quot;: { # Target Agones fleet specification. # Reference to target Agones fleet.
585 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet.
586 &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.
587 &quot;gameServerConfigName&quot;: &quot;A String&quot;, # The game server config resource. Uses the form: `projects/{project}/locations/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}`.
588 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.
589 },
590 },
591 },
592 ],
593 &quot;gameServerClusterName&quot;: &quot;A String&quot;, # The game server cluster name. Uses the form: `projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}`.
594 &quot;gameServerDeploymentName&quot;: &quot;A String&quot;, # The game server deployment name. Uses the form: `projects/{project}/locations/{locationId}/gameServerDeployments/{deploymentId}`.
595 },
596 ],
597 },
598 }</pre>
599 </div>
600
601 </body></html>