blob: 23a77427579b241f2311e98cc3cd5af3af9489ef [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">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88<p class="firstline">Gets details of a single game server cluster.</p>
89<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070090 <code><a href="#list">list(parent, pageToken=None, filter=None, orderBy=None, pageSize=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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070099 <code><a href="#previewCreate">previewCreate(parent, body=None, gameServerClusterId=None, previewTime=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>
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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700105 <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:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700118 parent: string, Required. The parent resource name. Uses the 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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700123 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
124 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
125 &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 Kim65020912020-05-20 12:08:20 -0700126 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700127 &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.
128 },
129 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster. Uses the form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
130 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
131 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
132 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
133 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
134 &quot;a_key&quot;: &quot;A String&quot;,
135 },
136 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
137}
Bu Sun Kim65020912020-05-20 12:08:20 -0700138
139 gameServerClusterId: string, Required. The ID of the game server cluster resource to be created.
140 x__xgafv: string, V1 error format.
141 Allowed values
142 1 - v1 error format
143 2 - v2 error format
144
145Returns:
146 An object of the form:
147
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700148 { # This resource represents a long-running operation that is the result of a network API call.
149 &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.
150 &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`.
151 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
152 },
153 &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.
154 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
155 },
156 &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.
157 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700158 {
159 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
160 },
161 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700162 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700163 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
164 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700165 &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}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700166 }</pre>
167</div>
168
169<div class="method">
170 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
171 <pre>Deletes a single game server cluster.
172
173Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700174 name: string, Required. The name of the game server cluster to delete. Uses the form: `projects/{project}/locations/{location}/gameServerClusters/{cluster}`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700175 x__xgafv: string, V1 error format.
176 Allowed values
177 1 - v1 error format
178 2 - v2 error format
179
180Returns:
181 An object of the form:
182
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700183 { # This resource represents a long-running operation that is the result of a network API call.
184 &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.
185 &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`.
186 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
187 },
188 &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.
189 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
190 },
191 &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.
192 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700193 {
194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
195 },
196 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700197 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700198 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
199 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700200 &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}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700201 }</pre>
202</div>
203
204<div class="method">
205 <code class="details" id="get">get(name, x__xgafv=None)</code>
206 <pre>Gets details of a single game server cluster.
207
208Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700209 name: string, Required. The name of the game server cluster to retrieve. Uses the form: `projects/{project}/locations/{location}/realms/{realm-id}/gameServerClusters/{cluster}`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700210 x__xgafv: string, V1 error format.
211 Allowed values
212 1 - v1 error format
213 2 - v2 error format
214
215Returns:
216 An object of the form:
217
218 { # A game server cluster resource.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700219 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
220 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
221 &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 Kim65020912020-05-20 12:08:20 -0700222 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700223 &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.
224 },
225 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster. Uses the form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
226 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
227 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
228 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
229 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
230 &quot;a_key&quot;: &quot;A String&quot;,
231 },
232 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
233 }</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700234</div>
235
236<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700237 <code class="details" id="list">list(parent, pageToken=None, filter=None, orderBy=None, pageSize=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700238 <pre>Lists game server clusters in a given project and location.
239
240Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700241 parent: string, Required. The parent resource name. Uses the form: &quot;projects/{project}/locations/{location}/realms/{realm}&quot;. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700242 pageToken: string, Optional. The next_page_token value returned from a previous List request, if any.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700243 filter: string, Optional. The filter to apply to list results.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700244 orderBy: string, Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.
245 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.
Bu Sun Kim65020912020-05-20 12:08:20 -0700246 x__xgafv: string, V1 error format.
247 Allowed values
248 1 - v1 error format
249 2 - v2 error format
250
251Returns:
252 An object of the form:
253
254 { # Response message for GameServerClustersService.ListGameServerClusters.
255 &quot;gameServerClusters&quot;: [ # The list of game server clusters.
256 { # A game server cluster resource.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700257 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
258 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
259 &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 Kim65020912020-05-20 12:08:20 -0700260 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700261 &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.
Bu Sun Kim65020912020-05-20 12:08:20 -0700262 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700263 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster. Uses the form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
264 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
265 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
266 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
267 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
268 &quot;a_key&quot;: &quot;A String&quot;,
269 },
270 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
271 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700272 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700273 &quot;unreachable&quot;: [ # List of locations that could not be reached.
274 &quot;A String&quot;,
275 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700276 &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.
Bu Sun Kim65020912020-05-20 12:08:20 -0700277 }</pre>
278</div>
279
280<div class="method">
281 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
282 <pre>Retrieves the next page of results.
283
284Args:
285 previous_request: The request for the previous page. (required)
286 previous_response: The response from the request for the previous page. (required)
287
288Returns:
289 A request object that you can call &#x27;execute()&#x27; on to request the next
290 page. Returns None if there are no more items in the collection.
291 </pre>
292</div>
293
294<div class="method">
295 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
296 <pre>Patches a single game server cluster.
297
298Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700299 name: string, Required. The resource name of the game server cluster. Uses the 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 -0700300 body: object, The request body.
301 The object takes the form of:
302
303{ # A game server cluster resource.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700304 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
305 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
306 &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 Kim65020912020-05-20 12:08:20 -0700307 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700308 &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.
309 },
310 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster. Uses the form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
311 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
312 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
313 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
314 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
315 &quot;a_key&quot;: &quot;A String&quot;,
316 },
317 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
318}
Bu Sun Kim65020912020-05-20 12:08:20 -0700319
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700320 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 -0700321 x__xgafv: string, V1 error format.
322 Allowed values
323 1 - v1 error format
324 2 - v2 error format
325
326Returns:
327 An object of the form:
328
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700329 { # This resource represents a long-running operation that is the result of a network API call.
330 &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.
331 &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`.
332 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
333 },
334 &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.
335 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
336 },
337 &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.
338 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700339 {
340 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
341 },
342 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700343 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700344 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
345 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700346 &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}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700347 }</pre>
348</div>
349
350<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700351 <code class="details" id="previewCreate">previewCreate(parent, body=None, gameServerClusterId=None, previewTime=None, x__xgafv=None)</code>
352 <pre>Previews creation of a new game server cluster in a given project and location.
Bu Sun Kim65020912020-05-20 12:08:20 -0700353
354Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700355 parent: string, Required. The parent resource name. Uses the form: `projects/{project}/locations/{location}/realms/{realm}`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700356 body: object, The request body.
357 The object takes the form of:
358
359{ # A game server cluster resource.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700360 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
361 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
362 &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 Kim65020912020-05-20 12:08:20 -0700363 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700364 &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.
365 },
366 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster. Uses the form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
367 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
368 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
369 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
370 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
371 &quot;a_key&quot;: &quot;A String&quot;,
372 },
373 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
374}
Bu Sun Kim65020912020-05-20 12:08:20 -0700375
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700376 gameServerClusterId: string, Required. The ID of the game server cluster resource to be created.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700377 previewTime: string, Optional. The target timestamp to compute the preview.
Bu Sun Kim65020912020-05-20 12:08:20 -0700378 x__xgafv: string, V1 error format.
379 Allowed values
380 1 - v1 error format
381 2 - v2 error format
382
383Returns:
384 An object of the form:
385
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700386 { # Response message for GameServerClustersService.PreviewCreateGameServerCluster.
387 &quot;etag&quot;: &quot;A String&quot;, # The ETag of the game server cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -0700388 &quot;targetState&quot;: { # Encapsulates the Target state. # The target state.
389 &quot;details&quot;: [ # Details about Agones fleets.
390 { # Details about the Agones resources.
Bu Sun Kim65020912020-05-20 12:08:20 -0700391 &quot;fleetDetails&quot;: [ # Agones fleet details for game server clusters and game server deployments.
392 { # Details of the target Agones fleet.
Bu Sun Kim65020912020-05-20 12:08:20 -0700393 &quot;fleet&quot;: { # Target Agones fleet specification. # Reference to target Agones fleet.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700394 &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.
395 &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}`.
396 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700397 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700398 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700399 },
400 &quot;autoscaler&quot;: { # Target Agones autoscaler policy reference. # Reference to target Agones fleet autoscaling policy.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700401 &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.
402 &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}`.
403 &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.
Bu Sun Kim65020912020-05-20 12:08:20 -0700404 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700405 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones autoscaler.
Bu Sun Kim65020912020-05-20 12:08:20 -0700406 },
407 },
408 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700409 &quot;gameServerDeploymentName&quot;: &quot;A String&quot;, # The game server deployment name. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}`.
410 &quot;gameServerClusterName&quot;: &quot;A String&quot;, # The game server cluster name. Uses the form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700411 },
412 ],
413 },
414 }</pre>
415</div>
416
417<div class="method">
418 <code class="details" id="previewDelete">previewDelete(name, previewTime=None, x__xgafv=None)</code>
419 <pre>Previews deletion of a single game server cluster.
420
421Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700422 name: string, Required. The name of the game server cluster to delete. Uses the form: `projects/{project}/locations/{location}/gameServerClusters/{cluster}`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700423 previewTime: string, Optional. The target timestamp to compute the preview.
424 x__xgafv: string, V1 error format.
425 Allowed values
426 1 - v1 error format
427 2 - v2 error format
428
429Returns:
430 An object of the form:
431
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700432 { # Response message for GameServerClustersService.PreviewDeleteGameServerCluster.
Bu Sun Kim65020912020-05-20 12:08:20 -0700433 &quot;targetState&quot;: { # Encapsulates the Target state. # The target state.
434 &quot;details&quot;: [ # Details about Agones fleets.
435 { # Details about the Agones resources.
Bu Sun Kim65020912020-05-20 12:08:20 -0700436 &quot;fleetDetails&quot;: [ # Agones fleet details for game server clusters and game server deployments.
437 { # Details of the target Agones fleet.
Bu Sun Kim65020912020-05-20 12:08:20 -0700438 &quot;fleet&quot;: { # Target Agones fleet specification. # Reference to target Agones fleet.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700439 &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.
440 &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}`.
441 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700442 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700443 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700444 },
445 &quot;autoscaler&quot;: { # Target Agones autoscaler policy reference. # Reference to target Agones fleet autoscaling policy.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700446 &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.
447 &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}`.
448 &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.
Bu Sun Kim65020912020-05-20 12:08:20 -0700449 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700450 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones autoscaler.
Bu Sun Kim65020912020-05-20 12:08:20 -0700451 },
452 },
453 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700454 &quot;gameServerDeploymentName&quot;: &quot;A String&quot;, # The game server deployment name. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}`.
455 &quot;gameServerClusterName&quot;: &quot;A String&quot;, # The game server cluster name. Uses the form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700456 },
457 ],
458 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700459 &quot;etag&quot;: &quot;A String&quot;, # The ETag of the game server cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -0700460 }</pre>
461</div>
462
463<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700464 <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 -0700465 <pre>Previews updating a GameServerCluster.
466
467Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700468 name: string, Required. The resource name of the game server cluster. Uses the 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 -0700469 body: object, The request body.
470 The object takes the form of:
471
472{ # A game server cluster resource.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700473 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
474 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
475 &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 Kim65020912020-05-20 12:08:20 -0700476 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700477 &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.
478 },
479 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster. Uses the form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
480 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
481 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
482 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
483 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
484 &quot;a_key&quot;: &quot;A String&quot;,
485 },
486 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
487}
Bu Sun Kim65020912020-05-20 12:08:20 -0700488
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700489 previewTime: string, Optional. The target timestamp to compute the preview.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700490 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 -0700491 x__xgafv: string, V1 error format.
492 Allowed values
493 1 - v1 error format
494 2 - v2 error format
495
496Returns:
497 An object of the form:
498
499 { # Response message for GameServerClustersService.PreviewUpdateGameServerCluster
500 &quot;targetState&quot;: { # Encapsulates the Target state. # The target state.
501 &quot;details&quot;: [ # Details about Agones fleets.
502 { # Details about the Agones resources.
Bu Sun Kim65020912020-05-20 12:08:20 -0700503 &quot;fleetDetails&quot;: [ # Agones fleet details for game server clusters and game server deployments.
504 { # Details of the target Agones fleet.
Bu Sun Kim65020912020-05-20 12:08:20 -0700505 &quot;fleet&quot;: { # Target Agones fleet specification. # Reference to target Agones fleet.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700506 &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.
507 &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}`.
508 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700509 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700510 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700511 },
512 &quot;autoscaler&quot;: { # Target Agones autoscaler policy reference. # Reference to target Agones fleet autoscaling policy.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700513 &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.
514 &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}`.
515 &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.
Bu Sun Kim65020912020-05-20 12:08:20 -0700516 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700517 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones autoscaler.
Bu Sun Kim65020912020-05-20 12:08:20 -0700518 },
519 },
520 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700521 &quot;gameServerDeploymentName&quot;: &quot;A String&quot;, # The game server deployment name. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}`.
522 &quot;gameServerClusterName&quot;: &quot;A String&quot;, # The game server cluster name. Uses the form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700523 },
524 ],
525 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700526 &quot;etag&quot;: &quot;A String&quot;, # The ETag of the game server cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -0700527 }</pre>
528</div>
529
530</body></html>