blob: bf5cb6689ffb4188a014d1a14ab6ecd192492704 [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="memcache_v1beta2.html">Cloud Memorystore for Memcached API</a> . <a href="memcache_v1beta2.projects.html">projects</a> . <a href="memcache_v1beta2.projects.locations.html">locations</a> . <a href="memcache_v1beta2.projects.locations.instances.html">instances</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#applyParameters">applyParameters(name, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070079<p class="firstline">ApplyParameters will restart the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance.</p>
80<p class="toc_element">
81 <code><a href="#close">close()</a></code></p>
82<p class="firstline">Close httplib2 connections.</p>
Bu Sun Kim65020912020-05-20 12:08:20 -070083<p class="toc_element">
84 <code><a href="#create">create(parent, body=None, instanceId=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070085<p class="firstline">Creates a new Instance in a given location.</p>
Bu Sun Kim65020912020-05-20 12:08:20 -070086<p class="toc_element">
87 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
88<p class="firstline">Deletes a single Instance.</p>
89<p class="toc_element">
90 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
91<p class="firstline">Gets details of a single Instance.</p>
92<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080093 <code><a href="#list">list(parent, orderBy=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070094<p class="firstline">Lists Instances in a given location.</p>
Bu Sun Kim65020912020-05-20 12:08:20 -070095<p class="toc_element">
96 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
97<p class="firstline">Retrieves the next page of results.</p>
98<p class="toc_element">
99 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
100<p class="firstline">Updates an existing Instance in a given project and location.</p>
101<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -0700102 <code><a href="#updateParameters">updateParameters(name, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700103<p class="firstline">Updates the defined Memcached Parameters for an existing Instance. This method only stages the parameters, it must be followed by ApplyParameters to apply the parameters to nodes of the Memcached Instance.</p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700104<h3>Method Details</h3>
105<div class="method">
106 <code class="details" id="applyParameters">applyParameters(name, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700107 <pre>ApplyParameters will restart the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700108
109Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700110 name: string, Required. Resource name of the Memcached instance for which parameter group updates should be applied. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700111 body: object, The request body.
112 The object takes the form of:
113
114{ # Request for ApplyParameters.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700115 &quot;nodeIds&quot;: [ # Nodes to which we should apply the instance-level parameter group.
116 &quot;A String&quot;,
117 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700118 &quot;applyAll&quot;: True or False, # Whether to apply instance-level parameter group to all nodes. If set to true, will explicitly restrict users from specifying any nodes, and apply parameter group updates to all nodes within the instance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700119 }
120
121 x__xgafv: string, V1 error format.
122 Allowed values
123 1 - v1 error format
124 2 - v2 error format
125
126Returns:
127 An object of the form:
128
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700129 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800130 &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 -0800131 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
132 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800133 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700134 &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 Botb6971b02020-11-26 17:16:03 -0800135 &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.
136 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700137 &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 -0700138 {
139 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
140 },
141 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700142 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800143 &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}`.
144 &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`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700145 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
146 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700147 }</pre>
148</div>
149
150<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700151 <code class="details" id="close">close()</code>
152 <pre>Close httplib2 connections.</pre>
153</div>
154
155<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700156 <code class="details" id="create">create(parent, body=None, instanceId=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700157 <pre>Creates a new Instance in a given location.
Bu Sun Kim65020912020-05-20 12:08:20 -0700158
159Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700160 parent: string, Required. The resource name of the instance location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700161 body: object, The request body.
162 The object takes the form of:
163
164{
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800165 &quot;memcacheVersion&quot;: &quot;A String&quot;, # The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically determined by our system based on the latest supported minor version.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800166 &quot;zones&quot;: [ # Zones where Memcached nodes should be provisioned in. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
167 &quot;A String&quot;,
168 ],
169 &quot;discoveryEndpoint&quot;: &quot;A String&quot;, # Output only. Endpoint for Discovery API
170 &quot;memcacheFullVersion&quot;: &quot;A String&quot;, # Output only. The full version of memcached server running on this instance. System automatically determines the full memcached version for an instance based on the input MemcacheVersion. The full version format will be &quot;memcached-1.5.16&quot;.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800171 &quot;instanceMessages&quot;: [ # List of messages that describe current statuses of memcached instance.
172 {
173 &quot;code&quot;: &quot;A String&quot;, # A code that correspond to one type of user-facing message.
174 &quot;message&quot;: &quot;A String&quot;, # Message on memcached instance which will be exposed to users.
175 },
176 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800177 &quot;authorizedNetwork&quot;: &quot;A String&quot;, # The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.
178 &quot;nodeCount&quot;: 42, # Required. Number of nodes in the Memcached instance.
179 &quot;displayName&quot;: &quot;A String&quot;, # User provided name for the instance only used for display purposes. Cannot be more than 80 characters.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800180 &quot;memcacheNodes&quot;: [ # Output only. List of Memcached nodes. Refer to [Node] message for more details.
181 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800182 &quot;zone&quot;: &quot;A String&quot;, # Output only. Location (GCP Zone) for the Memcached node.
183 &quot;port&quot;: 42, # Output only. The port number of the Memcached server on this node.
184 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the Memcached node.
185 &quot;nodeId&quot;: &quot;A String&quot;, # Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800186 &quot;host&quot;: &quot;A String&quot;, # Output only. Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
187 &quot;parameters&quot;: { # User defined parameters currently applied to the node.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800188 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes and any action needs to be taken to apply parameters on nodes.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800189 &quot;params&quot;: { # User defined set of parameters to use in the memcached process.
190 &quot;a_key&quot;: &quot;A String&quot;,
191 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700192 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700193 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800194 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800195 &quot;nodeConfig&quot;: { # Configuration for a Memcached Node. # Required. Configuration for Memcached nodes.
196 &quot;cpuCount&quot;: 42, # Required. Number of cpus per Memcached node.
197 &quot;memorySizeMb&quot;: 42, # Required. Memory size in MiB for each Memcached node.
198 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800199 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
200 &quot;parameters&quot;: { # Optional: User defined parameters to apply to the memcached process on each node.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800201 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes and any action needs to be taken to apply parameters on nodes.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800202 &quot;params&quot;: { # User defined set of parameters to use in the memcached process.
203 &quot;a_key&quot;: &quot;A String&quot;,
204 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700205 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800206 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the instance was updated.
207 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of this Memcached instance.
208 &quot;labels&quot;: { # Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
209 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700210 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800211 &quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Memcached instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which zones Memcached nodes within an instances should be provisioned in. Refer to [zones] field for more details.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800212 }
Bu Sun Kim65020912020-05-20 12:08:20 -0700213
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700214 instanceId: string, Required. The logical name of the Memcached instance in the user project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the user project / location If any of the above are not met, will raise an invalid argument error.
Bu Sun Kim65020912020-05-20 12:08:20 -0700215 x__xgafv: string, V1 error format.
216 Allowed values
217 1 - v1 error format
218 2 - v2 error format
219
220Returns:
221 An object of the form:
222
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700223 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800224 &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 -0800225 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
226 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800227 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700228 &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 Botb6971b02020-11-26 17:16:03 -0800229 &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.
230 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700231 &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 -0700232 {
233 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
234 },
235 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700236 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800237 &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}`.
238 &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`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700239 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
240 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700241 }</pre>
242</div>
243
244<div class="method">
245 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
246 <pre>Deletes a single Instance.
247
248Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700249 name: string, Required. Memcached instance resource name in the format: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700250 x__xgafv: string, V1 error format.
251 Allowed values
252 1 - v1 error format
253 2 - v2 error format
254
255Returns:
256 An object of the form:
257
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700258 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800259 &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 -0800260 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
261 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800262 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700263 &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 Botb6971b02020-11-26 17:16:03 -0800264 &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.
265 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700266 &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 -0700267 {
268 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
269 },
270 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700271 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800272 &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}`.
273 &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`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700274 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
275 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700276 }</pre>
277</div>
278
279<div class="method">
280 <code class="details" id="get">get(name, x__xgafv=None)</code>
281 <pre>Gets details of a single Instance.
282
283Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700284 name: string, Required. Memcached instance resource name in the format: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700285 x__xgafv: string, V1 error format.
286 Allowed values
287 1 - v1 error format
288 2 - v2 error format
289
290Returns:
291 An object of the form:
292
293 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800294 &quot;memcacheVersion&quot;: &quot;A String&quot;, # The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically determined by our system based on the latest supported minor version.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800295 &quot;zones&quot;: [ # Zones where Memcached nodes should be provisioned in. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
296 &quot;A String&quot;,
297 ],
298 &quot;discoveryEndpoint&quot;: &quot;A String&quot;, # Output only. Endpoint for Discovery API
299 &quot;memcacheFullVersion&quot;: &quot;A String&quot;, # Output only. The full version of memcached server running on this instance. System automatically determines the full memcached version for an instance based on the input MemcacheVersion. The full version format will be &quot;memcached-1.5.16&quot;.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800300 &quot;instanceMessages&quot;: [ # List of messages that describe current statuses of memcached instance.
301 {
302 &quot;code&quot;: &quot;A String&quot;, # A code that correspond to one type of user-facing message.
303 &quot;message&quot;: &quot;A String&quot;, # Message on memcached instance which will be exposed to users.
304 },
305 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800306 &quot;authorizedNetwork&quot;: &quot;A String&quot;, # The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.
307 &quot;nodeCount&quot;: 42, # Required. Number of nodes in the Memcached instance.
308 &quot;displayName&quot;: &quot;A String&quot;, # User provided name for the instance only used for display purposes. Cannot be more than 80 characters.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800309 &quot;memcacheNodes&quot;: [ # Output only. List of Memcached nodes. Refer to [Node] message for more details.
310 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800311 &quot;zone&quot;: &quot;A String&quot;, # Output only. Location (GCP Zone) for the Memcached node.
312 &quot;port&quot;: 42, # Output only. The port number of the Memcached server on this node.
313 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the Memcached node.
314 &quot;nodeId&quot;: &quot;A String&quot;, # Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800315 &quot;host&quot;: &quot;A String&quot;, # Output only. Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
316 &quot;parameters&quot;: { # User defined parameters currently applied to the node.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800317 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes and any action needs to be taken to apply parameters on nodes.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800318 &quot;params&quot;: { # User defined set of parameters to use in the memcached process.
319 &quot;a_key&quot;: &quot;A String&quot;,
320 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700321 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700322 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800323 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800324 &quot;nodeConfig&quot;: { # Configuration for a Memcached Node. # Required. Configuration for Memcached nodes.
325 &quot;cpuCount&quot;: 42, # Required. Number of cpus per Memcached node.
326 &quot;memorySizeMb&quot;: 42, # Required. Memory size in MiB for each Memcached node.
327 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800328 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
329 &quot;parameters&quot;: { # Optional: User defined parameters to apply to the memcached process on each node.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800330 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes and any action needs to be taken to apply parameters on nodes.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800331 &quot;params&quot;: { # User defined set of parameters to use in the memcached process.
332 &quot;a_key&quot;: &quot;A String&quot;,
333 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700334 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800335 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the instance was updated.
336 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of this Memcached instance.
337 &quot;labels&quot;: { # Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
338 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700339 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800340 &quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Memcached instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which zones Memcached nodes within an instances should be provisioned in. Refer to [zones] field for more details.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800341 }</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700342</div>
343
344<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800345 <code class="details" id="list">list(parent, orderBy=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700346 <pre>Lists Instances in a given location.
Bu Sun Kim65020912020-05-20 12:08:20 -0700347
348Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700349 parent: string, Required. The resource name of the instance location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region (required)
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800350 orderBy: string, Sort results. Supported values are &quot;name&quot;, &quot;name desc&quot; or &quot;&quot; (unsorted).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800351 filter: string, List filter. For example, exclude all Memcached instances with name as my-instance by specifying &quot;name != my-instance&quot;.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700352 pageSize: integer, The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response&#x27;s next_page_token to determine if there are more instances left to be queried.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800353 pageToken: string, The next_page_token value returned from a previous List request, if any.
Bu Sun Kim65020912020-05-20 12:08:20 -0700354 x__xgafv: string, V1 error format.
355 Allowed values
356 1 - v1 error format
357 2 - v2 error format
358
359Returns:
360 An object of the form:
361
362 { # Response for ListInstances.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700363 &quot;resources&quot;: [ # A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is &quot;-&quot;, all regions available to the project are queried, and the results aggregated.
364 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800365 &quot;memcacheVersion&quot;: &quot;A String&quot;, # The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically determined by our system based on the latest supported minor version.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800366 &quot;zones&quot;: [ # Zones where Memcached nodes should be provisioned in. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
367 &quot;A String&quot;,
368 ],
369 &quot;discoveryEndpoint&quot;: &quot;A String&quot;, # Output only. Endpoint for Discovery API
370 &quot;memcacheFullVersion&quot;: &quot;A String&quot;, # Output only. The full version of memcached server running on this instance. System automatically determines the full memcached version for an instance based on the input MemcacheVersion. The full version format will be &quot;memcached-1.5.16&quot;.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800371 &quot;instanceMessages&quot;: [ # List of messages that describe current statuses of memcached instance.
372 {
373 &quot;code&quot;: &quot;A String&quot;, # A code that correspond to one type of user-facing message.
374 &quot;message&quot;: &quot;A String&quot;, # Message on memcached instance which will be exposed to users.
375 },
376 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800377 &quot;authorizedNetwork&quot;: &quot;A String&quot;, # The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.
378 &quot;nodeCount&quot;: 42, # Required. Number of nodes in the Memcached instance.
379 &quot;displayName&quot;: &quot;A String&quot;, # User provided name for the instance only used for display purposes. Cannot be more than 80 characters.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800380 &quot;memcacheNodes&quot;: [ # Output only. List of Memcached nodes. Refer to [Node] message for more details.
381 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800382 &quot;zone&quot;: &quot;A String&quot;, # Output only. Location (GCP Zone) for the Memcached node.
383 &quot;port&quot;: 42, # Output only. The port number of the Memcached server on this node.
384 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the Memcached node.
385 &quot;nodeId&quot;: &quot;A String&quot;, # Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800386 &quot;host&quot;: &quot;A String&quot;, # Output only. Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
387 &quot;parameters&quot;: { # User defined parameters currently applied to the node.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800388 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes and any action needs to be taken to apply parameters on nodes.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800389 &quot;params&quot;: { # User defined set of parameters to use in the memcached process.
390 &quot;a_key&quot;: &quot;A String&quot;,
391 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700392 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700393 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800394 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800395 &quot;nodeConfig&quot;: { # Configuration for a Memcached Node. # Required. Configuration for Memcached nodes.
396 &quot;cpuCount&quot;: 42, # Required. Number of cpus per Memcached node.
397 &quot;memorySizeMb&quot;: 42, # Required. Memory size in MiB for each Memcached node.
398 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800399 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
400 &quot;parameters&quot;: { # Optional: User defined parameters to apply to the memcached process on each node.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800401 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes and any action needs to be taken to apply parameters on nodes.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800402 &quot;params&quot;: { # User defined set of parameters to use in the memcached process.
403 &quot;a_key&quot;: &quot;A String&quot;,
404 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700405 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800406 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the instance was updated.
407 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of this Memcached instance.
408 &quot;labels&quot;: { # Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
409 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700410 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800411 &quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Memcached instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which zones Memcached nodes within an instances should be provisioned in. Refer to [zones] field for more details.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700412 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700413 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800414 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800415 &quot;unreachable&quot;: [ # Locations that could not be reached.
416 &quot;A String&quot;,
417 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700418 }</pre>
419</div>
420
421<div class="method">
422 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
423 <pre>Retrieves the next page of results.
424
425Args:
426 previous_request: The request for the previous page. (required)
427 previous_response: The response from the request for the previous page. (required)
428
429Returns:
430 A request object that you can call &#x27;execute()&#x27; on to request the next
431 page. Returns None if there are no more items in the collection.
432 </pre>
433</div>
434
435<div class="method">
436 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
437 <pre>Updates an existing Instance in a given project and location.
438
439Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700440 name: string, Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Memcached instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which zones Memcached nodes within an instances should be provisioned in. Refer to [zones] field for more details. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700441 body: object, The request body.
442 The object takes the form of:
443
444{
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800445 &quot;memcacheVersion&quot;: &quot;A String&quot;, # The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically determined by our system based on the latest supported minor version.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800446 &quot;zones&quot;: [ # Zones where Memcached nodes should be provisioned in. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
447 &quot;A String&quot;,
448 ],
449 &quot;discoveryEndpoint&quot;: &quot;A String&quot;, # Output only. Endpoint for Discovery API
450 &quot;memcacheFullVersion&quot;: &quot;A String&quot;, # Output only. The full version of memcached server running on this instance. System automatically determines the full memcached version for an instance based on the input MemcacheVersion. The full version format will be &quot;memcached-1.5.16&quot;.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800451 &quot;instanceMessages&quot;: [ # List of messages that describe current statuses of memcached instance.
452 {
453 &quot;code&quot;: &quot;A String&quot;, # A code that correspond to one type of user-facing message.
454 &quot;message&quot;: &quot;A String&quot;, # Message on memcached instance which will be exposed to users.
455 },
456 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800457 &quot;authorizedNetwork&quot;: &quot;A String&quot;, # The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.
458 &quot;nodeCount&quot;: 42, # Required. Number of nodes in the Memcached instance.
459 &quot;displayName&quot;: &quot;A String&quot;, # User provided name for the instance only used for display purposes. Cannot be more than 80 characters.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800460 &quot;memcacheNodes&quot;: [ # Output only. List of Memcached nodes. Refer to [Node] message for more details.
461 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800462 &quot;zone&quot;: &quot;A String&quot;, # Output only. Location (GCP Zone) for the Memcached node.
463 &quot;port&quot;: 42, # Output only. The port number of the Memcached server on this node.
464 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the Memcached node.
465 &quot;nodeId&quot;: &quot;A String&quot;, # Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800466 &quot;host&quot;: &quot;A String&quot;, # Output only. Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
467 &quot;parameters&quot;: { # User defined parameters currently applied to the node.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800468 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes and any action needs to be taken to apply parameters on nodes.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800469 &quot;params&quot;: { # User defined set of parameters to use in the memcached process.
470 &quot;a_key&quot;: &quot;A String&quot;,
471 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700472 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700473 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800474 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800475 &quot;nodeConfig&quot;: { # Configuration for a Memcached Node. # Required. Configuration for Memcached nodes.
476 &quot;cpuCount&quot;: 42, # Required. Number of cpus per Memcached node.
477 &quot;memorySizeMb&quot;: 42, # Required. Memory size in MiB for each Memcached node.
478 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800479 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
480 &quot;parameters&quot;: { # Optional: User defined parameters to apply to the memcached process on each node.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800481 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes and any action needs to be taken to apply parameters on nodes.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800482 &quot;params&quot;: { # User defined set of parameters to use in the memcached process.
483 &quot;a_key&quot;: &quot;A String&quot;,
484 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700485 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800486 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the instance was updated.
487 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of this Memcached instance.
488 &quot;labels&quot;: { # Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
489 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700490 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800491 &quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Memcached instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which zones Memcached nodes within an instances should be provisioned in. Refer to [zones] field for more details.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800492 }
Bu Sun Kim65020912020-05-20 12:08:20 -0700493
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700494 updateMask: string, Required. Mask of fields to update. * `displayName`
Bu Sun Kim65020912020-05-20 12:08:20 -0700495 x__xgafv: string, V1 error format.
496 Allowed values
497 1 - v1 error format
498 2 - v2 error format
499
500Returns:
501 An object of the form:
502
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700503 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800504 &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 -0800505 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
506 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800507 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700508 &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 Botb6971b02020-11-26 17:16:03 -0800509 &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.
510 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700511 &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 -0700512 {
513 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
514 },
515 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700516 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800517 &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}`.
518 &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`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700519 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
520 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700521 }</pre>
522</div>
523
524<div class="method">
525 <code class="details" id="updateParameters">updateParameters(name, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700526 <pre>Updates the defined Memcached Parameters for an existing Instance. This method only stages the parameters, it must be followed by ApplyParameters to apply the parameters to nodes of the Memcached Instance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700527
528Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700529 name: string, Required. Resource name of the Memcached instance for which the parameters should be updated. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700530 body: object, The request body.
531 The object takes the form of:
532
533{ # Request for UpdateParameters.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800534 &quot;updateMask&quot;: &quot;A String&quot;, # Required. Mask of fields to update.
Bu Sun Kim65020912020-05-20 12:08:20 -0700535 &quot;parameters&quot;: { # The parameters to apply to the instance.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800536 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes and any action needs to be taken to apply parameters on nodes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700537 &quot;params&quot;: { # User defined set of parameters to use in the memcached process.
538 &quot;a_key&quot;: &quot;A String&quot;,
539 },
540 },
541 }
542
543 x__xgafv: string, V1 error format.
544 Allowed values
545 1 - v1 error format
546 2 - v2 error format
547
548Returns:
549 An object of the form:
550
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700551 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800552 &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 -0800553 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
554 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800555 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700556 &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 Botb6971b02020-11-26 17:16:03 -0800557 &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.
558 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700559 &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 -0700560 {
561 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
562 },
563 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700564 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800565 &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}`.
566 &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`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700567 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
568 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700569 }</pre>
570</div>
571
572</body></html>