blob: 1cad3e309f40a679f545b19bf5950cec10194e9c [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -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="file_v1beta1.html">Cloud Filestore API</a> . <a href="file_v1beta1.projects.html">projects</a> . <a href="file_v1beta1.projects.locations.html">locations</a> . <a href="file_v1beta1.projects.locations.instances.html">instances</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#create">create(parent, body=None, instanceId=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Creates an instance.</p>
80<p class="toc_element">
81 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
82<p class="firstline">Deletes an instance.</p>
83<p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85<p class="firstline">Gets the details of a specific instance.</p>
86<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070087 <code><a href="#list">list(parent, filter=None, pageToken=None, orderBy=None, pageSize=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070088<p class="firstline">Lists all instances in a project for either a specified location</p>
89<p class="toc_element">
90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070093 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070094<p class="firstline">Updates the settings of a specific instance.</p>
95<h3>Method Details</h3>
96<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070097 <code class="details" id="create">create(parent, body=None, instanceId=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070098 <pre>Creates an instance.
99
100Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700101 parent: string, Required. The instance&#x27;s project and location, in the format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700102projects/{project_id}/locations/{location}. In Cloud Filestore,
103locations map to GCP zones, for example **us-west1-b**. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700104 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700105 The object takes the form of:
106
107{ # A Cloud Filestore instance.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700108 &quot;state&quot;: &quot;A String&quot;, # Output only. The instance state.
109 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the instance state, if available.
110 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the instance, in the format
111 # projects/{project_id}/locations/{location_id}/instances/{instance_id}.
112 &quot;networks&quot;: [ # VPC networks to which the instance is connected.
113 # For this version, only a single network is supported.
114 { # Network configuration for the instance.
115 &quot;network&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
116 # [VPC network](/compute/docs/networks-and-firewalls#networks) to which the
117 # instance is connected.
118 &quot;modes&quot;: [ # Internet protocol versions for which the instance has IP addresses
119 # assigned. For this version, only MODE_IPV4 is supported.
120 &quot;A String&quot;,
121 ],
122 &quot;reservedIpRange&quot;: &quot;A String&quot;, # A /29 CIDR block for Basic or a /23 CIDR block for High Scale in one of the
123 # [internal IP address
124 # ranges](https://www.arin.net/knowledge/address_filters.html) that
125 # identifies the range of IP addresses reserved for this instance. For
126 # example, 10.0.0.0/29 or 192.168.0.0/23. The range you specify can&#x27;t overlap
127 # with either existing subnets or assigned IP address ranges for other Cloud
128 # Filestore instances in the selected VPC network.
129 &quot;ipAddresses&quot;: [ # Output only. IPv4 addresses in the format
130 # {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format
131 # {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block
132 # 7}:{block 8}.
133 &quot;A String&quot;,
134 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700135 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700136 ],
137 &quot;fileShares&quot;: [ # File system shares on the instance.
138 # For this version, only a single file share is supported.
139 { # File share configuration for the instance.
140 &quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
141 &quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB).
142 # Cloud Filestore defines 1 GB as 1024^3 bytes.
143 },
144 ],
145 &quot;tier&quot;: &quot;A String&quot;, # The service tier of the instance.
146 &quot;description&quot;: &quot;A String&quot;, # The description of the instance (2048 characters or less).
147 &quot;etag&quot;: &quot;A String&quot;, # Server-specified ETag for the instance resource to prevent simultaneous
148 # updates from overwriting each other.
149 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
150 &quot;a_key&quot;: &quot;A String&quot;,
151 },
152 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the instance was created.
153}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700154
Dan O'Mearadd494642020-05-01 07:42:23 -0700155 instanceId: string, Required. The ID of the instance to create.
156The ID must be unique within the specified project and location.
157
158This value must start with a lowercase letter followed by up to 62
159lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700160 x__xgafv: string, V1 error format.
161 Allowed values
162 1 - v1 error format
163 2 - v2 error format
164
165Returns:
166 An object of the form:
167
168 { # This resource represents a long-running operation that is the result of a
169 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700170 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
171 # If `true`, the operation is completed, and either `error` or `response` is
172 # available.
173 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700174 # method returns no data on success, such as `Delete`, the response is
175 # `google.protobuf.Empty`. If the original method is standard
176 # `Get`/`Create`/`Update`, the response should be the resource. For other
177 # methods, the response should have the type `XxxResponse`, where `Xxx`
178 # is the original method name. For example, if the original method name
179 # is `TakeSnapshot()`, the inferred response type is
180 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700181 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700182 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700183 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700184 # originally returns it. If you use the default HTTP mapping, the
185 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700186 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700187 # different programming environments, including REST APIs and RPC APIs. It is
Dan O'Mearadd494642020-05-01 07:42:23 -0700188 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
189 # three pieces of data: error code, error message, and error details.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700190 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700191 # You can find out more about this error model and how to work with it in the
192 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700193 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim65020912020-05-20 12:08:20 -0700194 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700195 # user-facing error message should be localized and sent in the
196 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700197 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700198 # message types for APIs to use.
199 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700201 },
202 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700203 },
204 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
205 # contains progress information and common metadata such as create time.
206 # Some services might not provide such metadata. Any method that returns a
207 # long-running operation should document the metadata type, if any.
208 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700209 },
210 }</pre>
211</div>
212
213<div class="method">
214 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
215 <pre>Deletes an instance.
216
217Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700218 name: string, Required. The instance resource name, in the format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700219projects/{project_id}/locations/{location}/instances/{instance_id} (required)
220 x__xgafv: string, V1 error format.
221 Allowed values
222 1 - v1 error format
223 2 - v2 error format
224
225Returns:
226 An object of the form:
227
228 { # This resource represents a long-running operation that is the result of a
229 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700230 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
231 # If `true`, the operation is completed, and either `error` or `response` is
232 # available.
233 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700234 # method returns no data on success, such as `Delete`, the response is
235 # `google.protobuf.Empty`. If the original method is standard
236 # `Get`/`Create`/`Update`, the response should be the resource. For other
237 # methods, the response should have the type `XxxResponse`, where `Xxx`
238 # is the original method name. For example, if the original method name
239 # is `TakeSnapshot()`, the inferred response type is
240 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700241 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700242 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700243 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700244 # originally returns it. If you use the default HTTP mapping, the
245 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700246 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700247 # different programming environments, including REST APIs and RPC APIs. It is
Dan O'Mearadd494642020-05-01 07:42:23 -0700248 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
249 # three pieces of data: error code, error message, and error details.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700250 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700251 # You can find out more about this error model and how to work with it in the
252 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700253 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim65020912020-05-20 12:08:20 -0700254 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700255 # user-facing error message should be localized and sent in the
256 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700257 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700258 # message types for APIs to use.
259 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700260 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700261 },
262 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700263 },
264 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
265 # contains progress information and common metadata such as create time.
266 # Some services might not provide such metadata. Any method that returns a
267 # long-running operation should document the metadata type, if any.
268 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700269 },
270 }</pre>
271</div>
272
273<div class="method">
274 <code class="details" id="get">get(name, x__xgafv=None)</code>
275 <pre>Gets the details of a specific instance.
276
277Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700278 name: string, Required. The instance resource name, in the format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700279projects/{project_id}/locations/{location}/instances/{instance_id}. (required)
280 x__xgafv: string, V1 error format.
281 Allowed values
282 1 - v1 error format
283 2 - v2 error format
284
285Returns:
286 An object of the form:
287
288 { # A Cloud Filestore instance.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700289 &quot;state&quot;: &quot;A String&quot;, # Output only. The instance state.
290 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the instance state, if available.
291 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the instance, in the format
292 # projects/{project_id}/locations/{location_id}/instances/{instance_id}.
293 &quot;networks&quot;: [ # VPC networks to which the instance is connected.
294 # For this version, only a single network is supported.
295 { # Network configuration for the instance.
296 &quot;network&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
297 # [VPC network](/compute/docs/networks-and-firewalls#networks) to which the
298 # instance is connected.
299 &quot;modes&quot;: [ # Internet protocol versions for which the instance has IP addresses
300 # assigned. For this version, only MODE_IPV4 is supported.
301 &quot;A String&quot;,
302 ],
303 &quot;reservedIpRange&quot;: &quot;A String&quot;, # A /29 CIDR block for Basic or a /23 CIDR block for High Scale in one of the
304 # [internal IP address
305 # ranges](https://www.arin.net/knowledge/address_filters.html) that
306 # identifies the range of IP addresses reserved for this instance. For
307 # example, 10.0.0.0/29 or 192.168.0.0/23. The range you specify can&#x27;t overlap
308 # with either existing subnets or assigned IP address ranges for other Cloud
309 # Filestore instances in the selected VPC network.
310 &quot;ipAddresses&quot;: [ # Output only. IPv4 addresses in the format
311 # {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format
312 # {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block
313 # 7}:{block 8}.
314 &quot;A String&quot;,
315 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700316 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700317 ],
318 &quot;fileShares&quot;: [ # File system shares on the instance.
319 # For this version, only a single file share is supported.
320 { # File share configuration for the instance.
321 &quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
322 &quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB).
323 # Cloud Filestore defines 1 GB as 1024^3 bytes.
324 },
325 ],
326 &quot;tier&quot;: &quot;A String&quot;, # The service tier of the instance.
327 &quot;description&quot;: &quot;A String&quot;, # The description of the instance (2048 characters or less).
328 &quot;etag&quot;: &quot;A String&quot;, # Server-specified ETag for the instance resource to prevent simultaneous
329 # updates from overwriting each other.
330 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
331 &quot;a_key&quot;: &quot;A String&quot;,
332 },
333 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the instance was created.
334 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700335</div>
336
337<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700338 <code class="details" id="list">list(parent, filter=None, pageToken=None, orderBy=None, pageSize=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700339 <pre>Lists all instances in a project for either a specified location
340or for all locations.
341
342Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700343 parent: string, Required. The project and location for which to retrieve instance information,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700344in the format projects/{project_id}/locations/{location}. In Cloud
345Filestore, locations map to GCP zones, for example **us-west1-b**. To
Bu Sun Kim65020912020-05-20 12:08:20 -0700346retrieve instance information for all locations, use &quot;-&quot; for the {location}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700347value. (required)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700348 filter: string, List filter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700349 pageToken: string, The next_page_token value to use if there are additional
350results to retrieve for this list request.
Bu Sun Kim65020912020-05-20 12:08:20 -0700351 orderBy: string, Sort results. Supported values are &quot;name&quot;, &quot;name desc&quot; or &quot;&quot; (unsorted).
352 pageSize: integer, The maximum number of items to return.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700353 x__xgafv: string, V1 error format.
354 Allowed values
355 1 - v1 error format
356 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700357
358Returns:
359 An object of the form:
360
361 { # ListInstancesResponse is the result of ListInstancesRequest.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700362 &quot;unreachable&quot;: [ # Locations that could not be reached.
363 &quot;A String&quot;,
364 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700365 &quot;instances&quot;: [ # A list of instances in the project for the specified location.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700366 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700367 # If the {location} value in the request is &quot;-&quot;, the response contains a list
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700368 # of instances from all locations. If any location is unreachable, the
369 # response will only return instances in reachable locations and the
Bu Sun Kim65020912020-05-20 12:08:20 -0700370 # &quot;unreachable&quot; field will be populated with a list of unreachable locations.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700371 { # A Cloud Filestore instance.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700372 &quot;state&quot;: &quot;A String&quot;, # Output only. The instance state.
373 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the instance state, if available.
374 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the instance, in the format
375 # projects/{project_id}/locations/{location_id}/instances/{instance_id}.
376 &quot;networks&quot;: [ # VPC networks to which the instance is connected.
377 # For this version, only a single network is supported.
378 { # Network configuration for the instance.
379 &quot;network&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
380 # [VPC network](/compute/docs/networks-and-firewalls#networks) to which the
381 # instance is connected.
382 &quot;modes&quot;: [ # Internet protocol versions for which the instance has IP addresses
383 # assigned. For this version, only MODE_IPV4 is supported.
384 &quot;A String&quot;,
385 ],
386 &quot;reservedIpRange&quot;: &quot;A String&quot;, # A /29 CIDR block for Basic or a /23 CIDR block for High Scale in one of the
387 # [internal IP address
388 # ranges](https://www.arin.net/knowledge/address_filters.html) that
389 # identifies the range of IP addresses reserved for this instance. For
390 # example, 10.0.0.0/29 or 192.168.0.0/23. The range you specify can&#x27;t overlap
391 # with either existing subnets or assigned IP address ranges for other Cloud
392 # Filestore instances in the selected VPC network.
393 &quot;ipAddresses&quot;: [ # Output only. IPv4 addresses in the format
394 # {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format
395 # {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block
396 # 7}:{block 8}.
397 &quot;A String&quot;,
398 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700399 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700400 ],
401 &quot;fileShares&quot;: [ # File system shares on the instance.
402 # For this version, only a single file share is supported.
403 { # File share configuration for the instance.
404 &quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
405 &quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB).
406 # Cloud Filestore defines 1 GB as 1024^3 bytes.
407 },
408 ],
409 &quot;tier&quot;: &quot;A String&quot;, # The service tier of the instance.
410 &quot;description&quot;: &quot;A String&quot;, # The description of the instance (2048 characters or less).
411 &quot;etag&quot;: &quot;A String&quot;, # Server-specified ETag for the instance resource to prevent simultaneous
412 # updates from overwriting each other.
413 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
414 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700415 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700416 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the instance was created.
417 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700418 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700419 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token you can use to retrieve the next page of results. Not returned
420 # if there are no more results in the list.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700421 }</pre>
422</div>
423
424<div class="method">
425 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
426 <pre>Retrieves the next page of results.
427
428Args:
429 previous_request: The request for the previous page. (required)
430 previous_response: The response from the request for the previous page. (required)
431
432Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700433 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700434 page. Returns None if there are no more items in the collection.
435 </pre>
436</div>
437
438<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700439 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700440 <pre>Updates the settings of a specific instance.
441
442Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700443 name: string, Output only. The resource name of the instance, in the format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700444projects/{project_id}/locations/{location_id}/instances/{instance_id}. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700445 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700446 The object takes the form of:
447
448{ # A Cloud Filestore instance.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700449 &quot;state&quot;: &quot;A String&quot;, # Output only. The instance state.
450 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the instance state, if available.
451 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the instance, in the format
452 # projects/{project_id}/locations/{location_id}/instances/{instance_id}.
453 &quot;networks&quot;: [ # VPC networks to which the instance is connected.
454 # For this version, only a single network is supported.
455 { # Network configuration for the instance.
456 &quot;network&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
457 # [VPC network](/compute/docs/networks-and-firewalls#networks) to which the
458 # instance is connected.
459 &quot;modes&quot;: [ # Internet protocol versions for which the instance has IP addresses
460 # assigned. For this version, only MODE_IPV4 is supported.
461 &quot;A String&quot;,
462 ],
463 &quot;reservedIpRange&quot;: &quot;A String&quot;, # A /29 CIDR block for Basic or a /23 CIDR block for High Scale in one of the
464 # [internal IP address
465 # ranges](https://www.arin.net/knowledge/address_filters.html) that
466 # identifies the range of IP addresses reserved for this instance. For
467 # example, 10.0.0.0/29 or 192.168.0.0/23. The range you specify can&#x27;t overlap
468 # with either existing subnets or assigned IP address ranges for other Cloud
469 # Filestore instances in the selected VPC network.
470 &quot;ipAddresses&quot;: [ # Output only. IPv4 addresses in the format
471 # {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format
472 # {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block
473 # 7}:{block 8}.
474 &quot;A String&quot;,
475 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700476 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700477 ],
478 &quot;fileShares&quot;: [ # File system shares on the instance.
479 # For this version, only a single file share is supported.
480 { # File share configuration for the instance.
481 &quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
482 &quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB).
483 # Cloud Filestore defines 1 GB as 1024^3 bytes.
484 },
485 ],
486 &quot;tier&quot;: &quot;A String&quot;, # The service tier of the instance.
487 &quot;description&quot;: &quot;A String&quot;, # The description of the instance (2048 characters or less).
488 &quot;etag&quot;: &quot;A String&quot;, # Server-specified ETag for the instance resource to prevent simultaneous
489 # updates from overwriting each other.
490 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
491 &quot;a_key&quot;: &quot;A String&quot;,
492 },
493 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the instance was created.
494}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700495
Dan O'Mearadd494642020-05-01 07:42:23 -0700496 updateMask: string, Required. Mask of fields to update. At least one path must be supplied in this
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700497field. The elements of the repeated paths field may only include these
498fields:
Dan O'Mearadd494642020-05-01 07:42:23 -0700499
Bu Sun Kim65020912020-05-20 12:08:20 -0700500* &quot;description&quot;
501* &quot;file_shares&quot;
502* &quot;labels&quot;
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700503 x__xgafv: string, V1 error format.
504 Allowed values
505 1 - v1 error format
506 2 - v2 error format
507
508Returns:
509 An object of the form:
510
511 { # This resource represents a long-running operation that is the result of a
512 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700513 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
514 # If `true`, the operation is completed, and either `error` or `response` is
515 # available.
516 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700517 # method returns no data on success, such as `Delete`, the response is
518 # `google.protobuf.Empty`. If the original method is standard
519 # `Get`/`Create`/`Update`, the response should be the resource. For other
520 # methods, the response should have the type `XxxResponse`, where `Xxx`
521 # is the original method name. For example, if the original method name
522 # is `TakeSnapshot()`, the inferred response type is
523 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700524 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700525 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700526 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700527 # originally returns it. If you use the default HTTP mapping, the
528 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700529 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700530 # different programming environments, including REST APIs and RPC APIs. It is
Dan O'Mearadd494642020-05-01 07:42:23 -0700531 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
532 # three pieces of data: error code, error message, and error details.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700533 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700534 # You can find out more about this error model and how to work with it in the
535 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700536 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim65020912020-05-20 12:08:20 -0700537 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700538 # user-facing error message should be localized and sent in the
539 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700540 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700541 # message types for APIs to use.
542 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700543 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700544 },
545 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700546 },
547 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
548 # contains progress information and common metadata such as create time.
549 # Some services might not provide such metadata. Any method that returns a
550 # long-running operation should document the metadata type, if any.
551 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700552 },
553 }</pre>
554</div>
555
556</body></html>