blob: f8b54176982cd1e42f720b03a636e24e5995af14 [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_v1.html">Cloud Filestore API</a> . <a href="file_v1.projects.html">projects</a> . <a href="file_v1.projects.locations.html">locations</a> . <a href="file_v1.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 Kim65020912020-05-20 12:08:20 -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 Kim65020912020-05-20 12:08:20 -0700108 &quot;tier&quot;: &quot;A String&quot;, # The service tier of the instance.
109 &quot;description&quot;: &quot;A String&quot;, # The description of the instance (2048 characters or less).
110 &quot;etag&quot;: &quot;A String&quot;, # Server-specified ETag for the instance resource to prevent simultaneous
111 # updates from overwriting each other.
112 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the instance was created.
113 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
114 &quot;a_key&quot;: &quot;A String&quot;,
115 },
116 &quot;state&quot;: &quot;A String&quot;, # Output only. The instance state.
117 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the instance, in the format
118 # projects/{project}/locations/{location}/instances/{instance}.
119 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the instance state, if available.
120 &quot;networks&quot;: [ # VPC networks to which the instance is connected.
121 # For this version, only a single network is supported.
122 { # Network configuration for the instance.
123 &quot;ipAddresses&quot;: [ # Output only. IPv4 addresses in the format
124 # {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format
125 # {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block
126 # 7}:{block 8}.
127 &quot;A String&quot;,
128 ],
129 &quot;network&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
130 # [VPC network](/compute/docs/networks-and-firewalls#networks) to which the
131 # instance is connected.
132 &quot;modes&quot;: [ # Internet protocol versions for which the instance has IP addresses
133 # assigned. For this version, only MODE_IPV4 is supported.
134 &quot;A String&quot;,
135 ],
136 &quot;reservedIpRange&quot;: &quot;A String&quot;, # A /29 CIDR block in one of the
137 # [internal IP address
138 # ranges](https://www.arin.net/knowledge/address_filters.html) that
139 # identifies the range of IP addresses reserved for this instance. For
140 # example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify can&#x27;t overlap
141 # with either existing subnets or assigned IP address ranges for other Cloud
142 # Filestore instances in the selected VPC network.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700143 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700144 ],
145 &quot;fileShares&quot;: [ # File system shares on the instance.
146 # For this version, only a single file share is supported.
147 { # File share configuration for the instance.
148 &quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
149 &quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB).
150 # Cloud Filestore defines 1 GB as 1024^3 bytes.
151 },
152 ],
153}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700154
Dan O'Mearadd494642020-05-01 07:42:23 -0700155 instanceId: string, Required. The name of the instance to create.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700156The name must be unique for the specified project and location.
157 x__xgafv: string, V1 error format.
158 Allowed values
159 1 - v1 error format
160 2 - v2 error format
161
162Returns:
163 An object of the form:
164
165 { # This resource represents a long-running operation that is the result of a
166 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700167 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Dan O'Mearadd494642020-05-01 07:42:23 -0700168 # method returns no data on success, such as `Delete`, the response is
169 # `google.protobuf.Empty`. If the original method is standard
170 # `Get`/`Create`/`Update`, the response should be the resource. For other
171 # methods, the response should have the type `XxxResponse`, where `Xxx`
172 # is the original method name. For example, if the original method name
173 # is `TakeSnapshot()`, the inferred response type is
174 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700175 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700176 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700177 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Dan O'Mearadd494642020-05-01 07:42:23 -0700178 # originally returns it. If you use the default HTTP mapping, the
179 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700180 &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 -0700181 # different programming environments, including REST APIs and RPC APIs. It is
Dan O'Mearadd494642020-05-01 07:42:23 -0700182 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
183 # three pieces of data: error code, error message, and error details.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700184 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700185 # You can find out more about this error model and how to work with it in the
186 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -0700187 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
188 &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 -0700189 # user-facing error message should be localized and sent in the
190 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700191 &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 -0700192 # message types for APIs to use.
193 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700195 },
196 ],
197 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700198 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
199 # contains progress information and common metadata such as create time.
200 # Some services might not provide such metadata. Any method that returns a
201 # long-running operation should document the metadata type, if any.
202 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
203 },
204 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
205 # If `true`, the operation is completed, and either `error` or `response` is
206 # available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700207 }</pre>
208</div>
209
210<div class="method">
211 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
212 <pre>Deletes an instance.
213
214Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700215 name: string, Required. The instance resource name, in the format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700216projects/{project_id}/locations/{location}/instances/{instance_id} (required)
217 x__xgafv: string, V1 error format.
218 Allowed values
219 1 - v1 error format
220 2 - v2 error format
221
222Returns:
223 An object of the form:
224
225 { # This resource represents a long-running operation that is the result of a
226 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700227 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Dan O'Mearadd494642020-05-01 07:42:23 -0700228 # method returns no data on success, such as `Delete`, the response is
229 # `google.protobuf.Empty`. If the original method is standard
230 # `Get`/`Create`/`Update`, the response should be the resource. For other
231 # methods, the response should have the type `XxxResponse`, where `Xxx`
232 # is the original method name. For example, if the original method name
233 # is `TakeSnapshot()`, the inferred response type is
234 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700235 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700236 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700237 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Dan O'Mearadd494642020-05-01 07:42:23 -0700238 # originally returns it. If you use the default HTTP mapping, the
239 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700240 &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 -0700241 # different programming environments, including REST APIs and RPC APIs. It is
Dan O'Mearadd494642020-05-01 07:42:23 -0700242 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
243 # three pieces of data: error code, error message, and error details.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700244 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700245 # You can find out more about this error model and how to work with it in the
246 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -0700247 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
248 &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 -0700249 # user-facing error message should be localized and sent in the
250 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700251 &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 -0700252 # message types for APIs to use.
253 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700254 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700255 },
256 ],
257 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700258 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
259 # contains progress information and common metadata such as create time.
260 # Some services might not provide such metadata. Any method that returns a
261 # long-running operation should document the metadata type, if any.
262 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
263 },
264 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
265 # If `true`, the operation is completed, and either `error` or `response` is
266 # available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700267 }</pre>
268</div>
269
270<div class="method">
271 <code class="details" id="get">get(name, x__xgafv=None)</code>
272 <pre>Gets the details of a specific instance.
273
274Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700275 name: string, Required. The instance resource name, in the format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700276projects/{project_id}/locations/{location}/instances/{instance_id}. (required)
277 x__xgafv: string, V1 error format.
278 Allowed values
279 1 - v1 error format
280 2 - v2 error format
281
282Returns:
283 An object of the form:
284
285 { # A Cloud Filestore instance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700286 &quot;tier&quot;: &quot;A String&quot;, # The service tier of the instance.
287 &quot;description&quot;: &quot;A String&quot;, # The description of the instance (2048 characters or less).
288 &quot;etag&quot;: &quot;A String&quot;, # Server-specified ETag for the instance resource to prevent simultaneous
289 # updates from overwriting each other.
290 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the instance was created.
291 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
292 &quot;a_key&quot;: &quot;A String&quot;,
293 },
294 &quot;state&quot;: &quot;A String&quot;, # Output only. The instance state.
295 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the instance, in the format
296 # projects/{project}/locations/{location}/instances/{instance}.
297 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the instance state, if available.
298 &quot;networks&quot;: [ # VPC networks to which the instance is connected.
299 # For this version, only a single network is supported.
300 { # Network configuration for the instance.
301 &quot;ipAddresses&quot;: [ # Output only. IPv4 addresses in the format
302 # {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format
303 # {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block
304 # 7}:{block 8}.
305 &quot;A String&quot;,
306 ],
307 &quot;network&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
308 # [VPC network](/compute/docs/networks-and-firewalls#networks) to which the
309 # instance is connected.
310 &quot;modes&quot;: [ # Internet protocol versions for which the instance has IP addresses
311 # assigned. For this version, only MODE_IPV4 is supported.
312 &quot;A String&quot;,
313 ],
314 &quot;reservedIpRange&quot;: &quot;A String&quot;, # A /29 CIDR block in one of the
315 # [internal IP address
316 # ranges](https://www.arin.net/knowledge/address_filters.html) that
317 # identifies the range of IP addresses reserved for this instance. For
318 # example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify can&#x27;t overlap
319 # with either existing subnets or assigned IP address ranges for other Cloud
320 # Filestore instances in the selected VPC network.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700321 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700322 ],
323 &quot;fileShares&quot;: [ # File system shares on the instance.
324 # For this version, only a single file share is supported.
325 { # File share configuration for the instance.
326 &quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
327 &quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB).
328 # Cloud Filestore defines 1 GB as 1024^3 bytes.
329 },
330 ],
331 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700332</div>
333
334<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700335 <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 -0700336 <pre>Lists all instances in a project for either a specified location
337or for all locations.
338
339Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700340 parent: string, Required. The project and location for which to retrieve instance information,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700341in the format projects/{project_id}/locations/{location}. In Cloud
342Filestore, locations map to GCP zones, for example **us-west1-b**. To
Bu Sun Kim65020912020-05-20 12:08:20 -0700343retrieve instance information for all locations, use &quot;-&quot; for the {location}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700344value. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700345 filter: string, List filter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700346 pageToken: string, The next_page_token value to use if there are additional
347results to retrieve for this list request.
Bu Sun Kim65020912020-05-20 12:08:20 -0700348 orderBy: string, Sort results. Supported values are &quot;name&quot;, &quot;name desc&quot; or &quot;&quot; (unsorted).
349 pageSize: integer, The maximum number of items to return.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700350 x__xgafv: string, V1 error format.
351 Allowed values
352 1 - v1 error format
353 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700354
355Returns:
356 An object of the form:
357
358 { # ListInstancesResponse is the result of ListInstancesRequest.
Bu Sun Kim65020912020-05-20 12:08:20 -0700359 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token you can use to retrieve the next page of results. Not returned
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700360 # if there are no more results in the list.
Bu Sun Kim65020912020-05-20 12:08:20 -0700361 &quot;unreachable&quot;: [ # Locations that could not be reached.
362 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700363 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700364 &quot;instances&quot;: [ # A list of instances in the project for the specified location.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700365 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700366 # If the {location} value in the request is &quot;-&quot;, the response contains a list
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700367 # of instances from all locations. If any location is unreachable, the
368 # response will only return instances in reachable locations and the
Bu Sun Kim65020912020-05-20 12:08:20 -0700369 # &quot;unreachable&quot; field will be populated with a list of unreachable locations.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700370 { # A Cloud Filestore instance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700371 &quot;tier&quot;: &quot;A String&quot;, # The service tier of the instance.
372 &quot;description&quot;: &quot;A String&quot;, # The description of the instance (2048 characters or less).
373 &quot;etag&quot;: &quot;A String&quot;, # Server-specified ETag for the instance resource to prevent simultaneous
374 # updates from overwriting each other.
375 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the instance was created.
376 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
377 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700378 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700379 &quot;state&quot;: &quot;A String&quot;, # Output only. The instance state.
380 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the instance, in the format
381 # projects/{project}/locations/{location}/instances/{instance}.
382 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the instance state, if available.
383 &quot;networks&quot;: [ # VPC networks to which the instance is connected.
384 # For this version, only a single network is supported.
385 { # Network configuration for the instance.
386 &quot;ipAddresses&quot;: [ # Output only. IPv4 addresses in the format
387 # {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format
388 # {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block
389 # 7}:{block 8}.
390 &quot;A String&quot;,
391 ],
392 &quot;network&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
393 # [VPC network](/compute/docs/networks-and-firewalls#networks) to which the
394 # instance is connected.
395 &quot;modes&quot;: [ # Internet protocol versions for which the instance has IP addresses
396 # assigned. For this version, only MODE_IPV4 is supported.
397 &quot;A String&quot;,
398 ],
399 &quot;reservedIpRange&quot;: &quot;A String&quot;, # A /29 CIDR block in one of the
400 # [internal IP address
401 # ranges](https://www.arin.net/knowledge/address_filters.html) that
402 # identifies the range of IP addresses reserved for this instance. For
403 # example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify can&#x27;t overlap
404 # with either existing subnets or assigned IP address ranges for other Cloud
405 # Filestore instances in the selected VPC network.
406 },
407 ],
408 &quot;fileShares&quot;: [ # File system shares on the instance.
409 # For this version, only a single file share is supported.
410 { # File share configuration for the instance.
411 &quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
412 &quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB).
413 # Cloud Filestore defines 1 GB as 1024^3 bytes.
414 },
415 ],
416 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700417 ],
418 }</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:
Bu Sun Kim65020912020-05-20 12:08:20 -0700430 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700431 page. Returns None if there are no more items in the collection.
432 </pre>
433</div>
434
435<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700436 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700437 <pre>Updates the settings of a specific instance.
438
439Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700440 name: string, Output only. The resource name of the instance, in the format
441projects/{project}/locations/{location}/instances/{instance}. (required)
442 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700443 The object takes the form of:
444
445{ # A Cloud Filestore instance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700446 &quot;tier&quot;: &quot;A String&quot;, # The service tier of the instance.
447 &quot;description&quot;: &quot;A String&quot;, # The description of the instance (2048 characters or less).
448 &quot;etag&quot;: &quot;A String&quot;, # Server-specified ETag for the instance resource to prevent simultaneous
449 # updates from overwriting each other.
450 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the instance was created.
451 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
452 &quot;a_key&quot;: &quot;A String&quot;,
453 },
454 &quot;state&quot;: &quot;A String&quot;, # Output only. The instance state.
455 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the instance, in the format
456 # projects/{project}/locations/{location}/instances/{instance}.
457 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the instance state, if available.
458 &quot;networks&quot;: [ # VPC networks to which the instance is connected.
459 # For this version, only a single network is supported.
460 { # Network configuration for the instance.
461 &quot;ipAddresses&quot;: [ # Output only. IPv4 addresses in the format
462 # {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format
463 # {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block
464 # 7}:{block 8}.
465 &quot;A String&quot;,
466 ],
467 &quot;network&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
468 # [VPC network](/compute/docs/networks-and-firewalls#networks) to which the
469 # instance is connected.
470 &quot;modes&quot;: [ # Internet protocol versions for which the instance has IP addresses
471 # assigned. For this version, only MODE_IPV4 is supported.
472 &quot;A String&quot;,
473 ],
474 &quot;reservedIpRange&quot;: &quot;A String&quot;, # A /29 CIDR block in one of the
475 # [internal IP address
476 # ranges](https://www.arin.net/knowledge/address_filters.html) that
477 # identifies the range of IP addresses reserved for this instance. For
478 # example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify can&#x27;t overlap
479 # with either existing subnets or assigned IP address ranges for other Cloud
480 # Filestore instances in the selected VPC network.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700481 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700482 ],
483 &quot;fileShares&quot;: [ # File system shares on the instance.
484 # For this version, only a single file share is supported.
485 { # File share configuration for the instance.
486 &quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
487 &quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB).
488 # Cloud Filestore defines 1 GB as 1024^3 bytes.
489 },
490 ],
491}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700492
493 updateMask: string, Mask of fields to update. At least one path must be supplied in this
494field. The elements of the repeated paths field may only include these
495fields:
Dan O'Mearadd494642020-05-01 07:42:23 -0700496
Bu Sun Kim65020912020-05-20 12:08:20 -0700497* &quot;description&quot;
498* &quot;file_shares&quot;
499* &quot;labels&quot;
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700500 x__xgafv: string, V1 error format.
501 Allowed values
502 1 - v1 error format
503 2 - v2 error format
504
505Returns:
506 An object of the form:
507
508 { # This resource represents a long-running operation that is the result of a
509 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700510 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Dan O'Mearadd494642020-05-01 07:42:23 -0700511 # method returns no data on success, such as `Delete`, the response is
512 # `google.protobuf.Empty`. If the original method is standard
513 # `Get`/`Create`/`Update`, the response should be the resource. For other
514 # methods, the response should have the type `XxxResponse`, where `Xxx`
515 # is the original method name. For example, if the original method name
516 # is `TakeSnapshot()`, the inferred response type is
517 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700518 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700519 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700520 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Dan O'Mearadd494642020-05-01 07:42:23 -0700521 # originally returns it. If you use the default HTTP mapping, the
522 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700523 &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 -0700524 # different programming environments, including REST APIs and RPC APIs. It is
Dan O'Mearadd494642020-05-01 07:42:23 -0700525 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
526 # three pieces of data: error code, error message, and error details.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700527 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700528 # You can find out more about this error model and how to work with it in the
529 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -0700530 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
531 &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 -0700532 # user-facing error message should be localized and sent in the
533 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700534 &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 -0700535 # message types for APIs to use.
536 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700537 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700538 },
539 ],
540 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700541 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
542 # contains progress information and common metadata such as create time.
543 # Some services might not provide such metadata. Any method that returns a
544 # long-running operation should document the metadata type, if any.
545 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
546 },
547 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
548 # If `true`, the operation is completed, and either `error` or `response` is
549 # available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700550 }</pre>
551</div>
552
553</body></html>