blob: 613df575be5c32e8f4a1676ffeb0a7c4c89f44a1 [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">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -080090 <code><a href="#list">list(parent, pageSize=None, filter=None, orderBy=None, pageToken=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070091<p class="firstline">Lists game server clusters in a given project and location.</p>
92<p class="toc_element">
93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
95<p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97<p class="firstline">Patches a single game server cluster.</p>
98<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080099 <code><a href="#previewCreate">previewCreate(parent, body=None, gameServerClusterId=None, previewTime=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700100<p class="firstline">Previews creation of a new game server cluster in a given project and location.</p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700101<p class="toc_element">
102 <code><a href="#previewDelete">previewDelete(name, previewTime=None, x__xgafv=None)</a></code></p>
103<p class="firstline">Previews deletion of a single game server cluster.</p>
104<p class="toc_element">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800105 <code><a href="#previewUpdate">previewUpdate(name, body=None, previewTime=None, updateMask=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700106<p class="firstline">Previews updating a GameServerCluster.</p>
107<h3>Method Details</h3>
108<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700109 <code class="details" id="close">close()</code>
110 <pre>Close httplib2 connections.</pre>
111</div>
112
113<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700114 <code class="details" id="create">create(parent, body=None, gameServerClusterId=None, x__xgafv=None)</code>
115 <pre>Creates a new game server cluster in a given project and location.
116
117Args:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700118 parent: string, Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/realms/{realm-id}`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700119 body: object, The request body.
120 The object takes the form of:
121
122{ # A game server cluster resource.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800123 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700124 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
125 &quot;a_key&quot;: &quot;A String&quot;,
126 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800127 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
128 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
129 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
130 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800131 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800132 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800133 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
134 &quot;cluster&quot;: &quot;A String&quot;, # The full or partial name of a GKE cluster, using one of the following forms: * `projects/{project}/locations/{location}/clusters/{cluster}` * `locations/{location}/clusters/{cluster}` * `{cluster}` If project and location are not specified, the project and location of the GameServerCluster resource are used to generate the full name of the GKE cluster.
135 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800136 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700137 }
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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700149 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800150 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700151 &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 -0700152 {
153 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
154 },
155 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800156 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800157 },
158 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800159 &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`.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800160 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700161 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800162 &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}`.
163 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800164 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
165 },
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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700174 name: string, Required. The name of the game server cluster to delete, in the following form: `projects/{project}/locations/{location}/gameServerClusters/{cluster}`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700184 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800185 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700186 &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 -0700187 {
188 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
189 },
190 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800191 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800192 },
193 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800194 &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`.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800195 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700196 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800197 &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}`.
198 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800199 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
200 },
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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700209 name: string, Required. The name of the game server cluster to retrieve, in the following form: `projects/{project}/locations/{location}/realms/{realm-id}/gameServerClusters/{cluster}`. (required)
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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800219 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700220 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
221 &quot;a_key&quot;: &quot;A String&quot;,
222 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800223 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
224 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
225 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
226 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800227 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800228 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800229 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
230 &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.
231 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800232 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700233 }</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700234</div>
235
236<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800237 <code class="details" id="list">list(parent, pageSize=None, filter=None, orderBy=None, pageToken=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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700241 parent: string, Required. The parent resource name, in the following form: &quot;projects/{project}/locations/{location}/realms/{realm}&quot;. (required)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800242 pageSize: integer, Optional. The maximum number of items to return. If unspecified, the server will pick an appropriate default. The server may return fewer items than requested. A caller should only rely on response&#x27;s next_page_token to determine if there are more GameServerClusters left to be queried.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800243 filter: string, Optional. The filter to apply to list results.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800244 orderBy: string, Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.
245 pageToken: string, Optional. The next_page_token value returned from a previous List request, if any.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800255 &quot;unreachable&quot;: [ # List of locations that could not be reached.
256 &quot;A String&quot;,
257 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800258 &quot;gameServerClusters&quot;: [ # The list of game server clusters.
259 { # A game server cluster resource.
260 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
261 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
262 &quot;a_key&quot;: &quot;A String&quot;,
263 },
264 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
265 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
266 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
267 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
268 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
269 &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.
270 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
271 &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.
272 },
273 },
274 },
275 ],
276 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700299 name: string, Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700300 body: object, The request body.
301 The object takes the form of:
302
303{ # A game server cluster resource.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800304 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700305 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
306 &quot;a_key&quot;: &quot;A String&quot;,
307 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800308 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
309 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
310 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
311 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800312 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800313 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800314 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
315 &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.
316 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800317 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700318 }
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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700330 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800331 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700332 &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 -0700333 {
334 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
335 },
336 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800337 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800338 },
339 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800340 &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`.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800341 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700342 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800343 &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}`.
344 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800345 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
346 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700347 }</pre>
348</div>
349
350<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800351 <code class="details" id="previewCreate">previewCreate(parent, body=None, gameServerClusterId=None, previewTime=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700352 <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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700355 parent: string, Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/realms/{realm}`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700356 body: object, The request body.
357 The object takes the form of:
358
359{ # A game server cluster resource.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800360 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700361 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
362 &quot;a_key&quot;: &quot;A String&quot;,
363 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800364 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
365 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
366 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
367 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800368 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800369 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800370 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
371 &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.
372 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800373 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700374 }
Bu Sun Kim65020912020-05-20 12:08:20 -0700375
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800376 gameServerClusterId: string, Required. The ID of the game server cluster resource to be created.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800377 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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800387 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800393 &quot;autoscaler&quot;: { # Target Agones autoscaler policy reference. # Reference to target Agones fleet autoscaling policy.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800394 &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.
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 Kim673ec5c2020-11-16 11:05:03 -0700397 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800398 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones autoscaler.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700399 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800400 &quot;fleet&quot;: { # Target Agones fleet specification. # Reference to target Agones fleet.
401 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet.
402 &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.
403 &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}`.
404 &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.
405 },
406 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700407 },
408 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800409 &quot;gameServerClusterName&quot;: &quot;A String&quot;, # The game server cluster name. Uses the form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800410 &quot;gameServerDeploymentName&quot;: &quot;A String&quot;, # The game server deployment name. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}`.
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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700422 name: string, Required. The name of the game server cluster to delete, in the following form: `projects/{project}/locations/{location}/gameServerClusters/{cluster}`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800438 &quot;autoscaler&quot;: { # Target Agones autoscaler policy reference. # Reference to target Agones fleet autoscaling policy.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800439 &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.
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 Kim673ec5c2020-11-16 11:05:03 -0700442 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800443 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones autoscaler.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700444 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800445 &quot;fleet&quot;: { # Target Agones fleet specification. # Reference to target Agones fleet.
446 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet.
447 &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.
448 &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}`.
449 &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.
450 },
451 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700452 },
453 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800454 &quot;gameServerClusterName&quot;: &quot;A String&quot;, # The game server cluster name. Uses the form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800455 &quot;gameServerDeploymentName&quot;: &quot;A String&quot;, # The game server deployment name. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700456 },
457 ],
458 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800459 &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">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800464 <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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700468 name: string, Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700469 body: object, The request body.
470 The object takes the form of:
471
472{ # A game server cluster resource.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800473 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the game server cluster, in the following form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. For example, `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700474 &quot;labels&quot;: { # The labels associated with this game server cluster. Each label is a key-value pair.
475 &quot;a_key&quot;: &quot;A String&quot;,
476 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800477 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
478 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
479 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the cluster.
480 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800481 &quot;connectionInfo&quot;: { # The game server cluster connection information. # The game server cluster connection information. This information is used to manage game server clusters.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800482 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800483 &quot;gkeClusterReference&quot;: { # A reference to a GKE cluster. # Reference to the GKE cluster where the game servers are installed.
484 &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.
485 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800486 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700487 }
Bu Sun Kim65020912020-05-20 12:08:20 -0700488
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800489 previewTime: string, Optional. The target timestamp to compute the preview.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800490 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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800500 &quot;etag&quot;: &quot;A String&quot;, # The ETag of the game server cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -0700501 &quot;targetState&quot;: { # Encapsulates the Target state. # The target state.
502 &quot;details&quot;: [ # Details about Agones fleets.
503 { # Details about the Agones resources.
Bu Sun Kim65020912020-05-20 12:08:20 -0700504 &quot;fleetDetails&quot;: [ # Agones fleet details for game server clusters and game server deployments.
505 { # Details of the target Agones fleet.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800506 &quot;autoscaler&quot;: { # Target Agones autoscaler policy reference. # Reference to target Agones fleet autoscaling policy.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800507 &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.
508 &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}`.
509 &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 Kim673ec5c2020-11-16 11:05:03 -0700510 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800511 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones autoscaler.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700512 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800513 &quot;fleet&quot;: { # Target Agones fleet specification. # Reference to target Agones fleet.
514 &quot;name&quot;: &quot;A String&quot;, # The name of the Agones fleet.
515 &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.
516 &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}`.
517 &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.
518 },
519 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700520 },
521 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800522 &quot;gameServerClusterName&quot;: &quot;A String&quot;, # The game server cluster name. Uses the form: `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800523 &quot;gameServerDeploymentName&quot;: &quot;A String&quot;, # The game server deployment name. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700524 },
525 ],
526 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700527 }</pre>
528</div>
529
530</body></html>