Skip to content

Commit 0244bd3

Browse files
chore(file): update the api
#### file:v1 The following keys were added: - schemas.FileShareConfig.properties.nfsExportOptions (Total Keys: 2) - schemas.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule.properties.scheduleDeadlineTime (Total Keys: 2) - schemas.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.properties.isRollback (Total Keys: 1) - schemas.GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility (Total Keys: 4) - schemas.GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata.properties.perSliEligibility (Total Keys: 1) - schemas.NfsExportOptions (Total Keys: 10) #### file:v1beta1 The following keys were added: - schemas.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule.properties.scheduleDeadlineTime (Total Keys: 2) - schemas.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.properties.isRollback (Total Keys: 1) - schemas.GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility (Total Keys: 4) - schemas.GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata.properties.perSliEligibility (Total Keys: 1)
1 parent 3140f5f commit 0244bd3

File tree

4 files changed

+3449
-3290
lines changed

4 files changed

+3449
-3290
lines changed

docs/dyn/file_v1.projects.locations.instances.html

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h2>Instance Methods</h2>
9797
<p class="firstline">Updates the settings of a specific instance.</p>
9898
<p class="toc_element">
9999
<code><a href="#restore">restore(name, body=None, x__xgafv=None)</a></code></p>
100-
<p class="firstline">Restores an existing instance's file share from a backup. The instance's file share capacity will be set to the backup's capacity or the minimum capacity of the tier, whichever is larger.</p>
100+
<p class="firstline">Restores an existing instance's file share from a backup. The capacity of the instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).</p>
101101
<h3>Method Details</h3>
102102
<div class="method">
103103
<code class="details" id="close">close()</code>
@@ -121,6 +121,17 @@ <h3>Method Details</h3>
121121
{ # File share configuration for the instance.
122122
&quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.
123123
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
124+
&quot;nfsExportOptions&quot;: [ # Nfs Export Options. There is a limit of 10 export options per file share.
125+
{ # NFS export options specifications.
126+
&quot;accessMode&quot;: &quot;A String&quot;, # Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
127+
&quot;anonGid&quot;: &quot;A String&quot;, # An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
128+
&quot;anonUid&quot;: &quot;A String&quot;, # An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
129+
&quot;ipRanges&quot;: [ # List of either an IPv4 addresses in the format {octet 1}.{octet 2}.{octet 3}.{octet 4} or CIDR ranges in the format {octet 1}.{octet 2}.{octet 3}.{octet 4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
130+
&quot;A String&quot;,
131+
],
132+
&quot;squashMode&quot;: &quot;A String&quot;, # Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
133+
},
134+
],
124135
&quot;sourceBackup&quot;: &quot;A String&quot;, # The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}, that this file share has been restored from.
125136
},
126137
],
@@ -232,6 +243,17 @@ <h3>Method Details</h3>
232243
{ # File share configuration for the instance.
233244
&quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.
234245
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
246+
&quot;nfsExportOptions&quot;: [ # Nfs Export Options. There is a limit of 10 export options per file share.
247+
{ # NFS export options specifications.
248+
&quot;accessMode&quot;: &quot;A String&quot;, # Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
249+
&quot;anonGid&quot;: &quot;A String&quot;, # An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
250+
&quot;anonUid&quot;: &quot;A String&quot;, # An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
251+
&quot;ipRanges&quot;: [ # List of either an IPv4 addresses in the format {octet 1}.{octet 2}.{octet 3}.{octet 4} or CIDR ranges in the format {octet 1}.{octet 2}.{octet 3}.{octet 4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
252+
&quot;A String&quot;,
253+
],
254+
&quot;squashMode&quot;: &quot;A String&quot;, # Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
255+
},
256+
],
235257
&quot;sourceBackup&quot;: &quot;A String&quot;, # The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}, that this file share has been restored from.
236258
},
237259
],
@@ -285,6 +307,17 @@ <h3>Method Details</h3>
285307
{ # File share configuration for the instance.
286308
&quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.
287309
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
310+
&quot;nfsExportOptions&quot;: [ # Nfs Export Options. There is a limit of 10 export options per file share.
311+
{ # NFS export options specifications.
312+
&quot;accessMode&quot;: &quot;A String&quot;, # Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
313+
&quot;anonGid&quot;: &quot;A String&quot;, # An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
314+
&quot;anonUid&quot;: &quot;A String&quot;, # An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
315+
&quot;ipRanges&quot;: [ # List of either an IPv4 addresses in the format {octet 1}.{octet 2}.{octet 3}.{octet 4} or CIDR ranges in the format {octet 1}.{octet 2}.{octet 3}.{octet 4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
316+
&quot;A String&quot;,
317+
],
318+
&quot;squashMode&quot;: &quot;A String&quot;, # Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
319+
},
320+
],
288321
&quot;sourceBackup&quot;: &quot;A String&quot;, # The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}, that this file share has been restored from.
289322
},
290323
],
@@ -347,6 +380,17 @@ <h3>Method Details</h3>
347380
{ # File share configuration for the instance.
348381
&quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.
349382
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
383+
&quot;nfsExportOptions&quot;: [ # Nfs Export Options. There is a limit of 10 export options per file share.
384+
{ # NFS export options specifications.
385+
&quot;accessMode&quot;: &quot;A String&quot;, # Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
386+
&quot;anonGid&quot;: &quot;A String&quot;, # An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
387+
&quot;anonUid&quot;: &quot;A String&quot;, # An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
388+
&quot;ipRanges&quot;: [ # List of either an IPv4 addresses in the format {octet 1}.{octet 2}.{octet 3}.{octet 4} or CIDR ranges in the format {octet 1}.{octet 2}.{octet 3}.{octet 4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
389+
&quot;A String&quot;,
390+
],
391+
&quot;squashMode&quot;: &quot;A String&quot;, # Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
392+
},
393+
],
350394
&quot;sourceBackup&quot;: &quot;A String&quot;, # The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}, that this file share has been restored from.
351395
},
352396
],
@@ -403,7 +447,7 @@ <h3>Method Details</h3>
403447

404448
<div class="method">
405449
<code class="details" id="restore">restore(name, body=None, x__xgafv=None)</code>
406-
<pre>Restores an existing instance&#x27;s file share from a backup. The instance&#x27;s file share capacity will be set to the backup&#x27;s capacity or the minimum capacity of the tier, whichever is larger.
450+
<pre>Restores an existing instance&#x27;s file share from a backup. The capacity of the instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).
407451

408452
Args:
409453
name: string, Required. The resource name of the instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id}. (required)

docs/dyn/file_v1beta1.projects.locations.instances.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h2>Instance Methods</h2>
9797
<p class="firstline">Updates the settings of a specific instance.</p>
9898
<p class="toc_element">
9999
<code><a href="#restore">restore(name, body=None, x__xgafv=None)</a></code></p>
100-
<p class="firstline">Restores an existing instance's file share from a backup. The instance's file share capacity will be set to the backup's capacity or the minimum capacity of the tier, whichever is larger.</p>
100+
<p class="firstline">Restores an existing instance's file share from a backup. The capacity of the instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).</p>
101101
<h3>Method Details</h3>
102102
<div class="method">
103103
<code class="details" id="close">close()</code>
@@ -447,7 +447,7 @@ <h3>Method Details</h3>
447447

448448
<div class="method">
449449
<code class="details" id="restore">restore(name, body=None, x__xgafv=None)</code>
450-
<pre>Restores an existing instance&#x27;s file share from a backup. The instance&#x27;s file share capacity will be set to the backup&#x27;s capacity or the minimum capacity of the tier, whichever is larger.
450+
<pre>Restores an existing instance&#x27;s file share from a backup. The capacity of the instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).
451451

452452
Args:
453453
name: string, Required. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}. (required)

0 commit comments

Comments
 (0)