Skip to content

Commit 72c1cbc

Browse files
feat(baremetalsolution): update the api
#### baremetalsolution:v2 The following keys were deleted: - resources.projects.resources.locations.resources.nfsShares.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.nfsShares.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.nfsShares.methods.patch (Total Keys: 15) - schemas.AllowedClient (Total Keys: 9) - schemas.ListNfsSharesResponse (Total Keys: 7) - schemas.NfsShare (Total Keys: 12) The following keys were added: - schemas.NetworkConfig.properties.gcpService.type (Total Keys: 1) - schemas.SnapshotReservationDetail.properties.reservedSpacePercent (Total Keys: 2) - schemas.Volume.properties.snapshotEnabled.type (Total Keys: 1) - schemas.VolumeConfig.properties.gcpService.type (Total Keys: 1)
1 parent 3704390 commit 72c1cbc

File tree

4 files changed

+30
-229
lines changed

4 files changed

+30
-229
lines changed

docs/dyn/baremetalsolution_v2.projects.locations.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,6 @@ <h2>Instance Methods</h2>
8484
</p>
8585
<p class="firstline">Returns the networks Resource.</p>
8686

87-
<p class="toc_element">
88-
<code><a href="baremetalsolution_v2.projects.locations.nfsShares.html">nfsShares()</a></code>
89-
</p>
90-
<p class="firstline">Returns the nfsShares Resource.</p>
91-
9287
<p class="toc_element">
9388
<code><a href="baremetalsolution_v2.projects.locations.provisioningConfigs.html">provisioningConfigs()</a></code>
9489
</p>

docs/dyn/baremetalsolution_v2.projects.locations.provisioningConfigs.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ <h3>Method Details</h3>
124124
{ # Configuration parameters for a new network.
125125
&quot;bandwidth&quot;: &quot;A String&quot;, # Interconnect bandwidth. Set only when type is CLIENT.
126126
&quot;cidr&quot;: &quot;A String&quot;, # CIDR range of the network.
127+
&quot;gcpService&quot;: &quot;A String&quot;, # The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
127128
&quot;id&quot;: &quot;A String&quot;, # A transient unique identifier to identify a volume within an ProvisioningConfig request.
128129
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the network config.
129130
&quot;serviceCidr&quot;: &quot;A String&quot;, # Service CIDR, if any.
@@ -140,6 +141,7 @@ <h3>Method Details</h3>
140141
&quot;ticketId&quot;: &quot;A String&quot;, # A generated buganizer id to track provisioning request.
141142
&quot;volumes&quot;: [ # Volumes to be created.
142143
{ # Configuration parameters for a new volume.
144+
&quot;gcpService&quot;: &quot;A String&quot;, # The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
143145
&quot;id&quot;: &quot;A String&quot;, # A transient unique identifier to identify a volume within an ProvisioningConfig request.
144146
&quot;lunRanges&quot;: [ # LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
145147
{ # A LUN(Logical Unit Number) range.
@@ -208,6 +210,7 @@ <h3>Method Details</h3>
208210
{ # Configuration parameters for a new network.
209211
&quot;bandwidth&quot;: &quot;A String&quot;, # Interconnect bandwidth. Set only when type is CLIENT.
210212
&quot;cidr&quot;: &quot;A String&quot;, # CIDR range of the network.
213+
&quot;gcpService&quot;: &quot;A String&quot;, # The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
211214
&quot;id&quot;: &quot;A String&quot;, # A transient unique identifier to identify a volume within an ProvisioningConfig request.
212215
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the network config.
213216
&quot;serviceCidr&quot;: &quot;A String&quot;, # Service CIDR, if any.
@@ -224,6 +227,7 @@ <h3>Method Details</h3>
224227
&quot;ticketId&quot;: &quot;A String&quot;, # A generated buganizer id to track provisioning request.
225228
&quot;volumes&quot;: [ # Volumes to be created.
226229
{ # Configuration parameters for a new volume.
230+
&quot;gcpService&quot;: &quot;A String&quot;, # The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
227231
&quot;id&quot;: &quot;A String&quot;, # A transient unique identifier to identify a volume within an ProvisioningConfig request.
228232
&quot;lunRanges&quot;: [ # LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
229233
{ # A LUN(Logical Unit Number) range.

docs/dyn/baremetalsolution_v2.projects.locations.volumes.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,10 @@ <h3>Method Details</h3>
130130
&quot;remainingSpaceGib&quot;: &quot;A String&quot;, # The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.
131131
&quot;requestedSizeGib&quot;: &quot;A String&quot;, # The requested size of this storage volume, in GiB.
132132
&quot;snapshotAutoDeleteBehavior&quot;: &quot;A String&quot;, # The behavior to use when snapshot reserved space is full.
133+
&quot;snapshotEnabled&quot;: True or False, # Whether snapshots are enabled.
133134
&quot;snapshotReservationDetail&quot;: { # Details about snapshot space reservation and usage on the storage volume. # Details about snapshot space reservation and usage on the storage volume.
134135
&quot;reservedSpaceGib&quot;: &quot;A String&quot;, # The space on this storage volume reserved for snapshots, shown in GiB.
136+
&quot;reservedSpacePercent&quot;: 42, # Percent of the total Volume size reserved for snapshot copies. Enabling snapshots requires reserving 20% or more of the storage volume space for snapshots. Maximum reserved space for snapshots is 40%. Setting this field will effectively set snapshot_enabled to true.
135137
&quot;reservedSpaceRemainingGib&quot;: &quot;A String&quot;, # The amount, in GiB, of available space in this storage volume&#x27;s reserved snapshot space.
136138
&quot;reservedSpaceUsedPercent&quot;: 42, # The percent of snapshot space on this storage volume actually being used by the snapshot copies. This value might be higher than 100% if the snapshot copies have overflowed into the data portion of the storage volume.
137139
},
@@ -175,8 +177,10 @@ <h3>Method Details</h3>
175177
&quot;remainingSpaceGib&quot;: &quot;A String&quot;, # The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.
176178
&quot;requestedSizeGib&quot;: &quot;A String&quot;, # The requested size of this storage volume, in GiB.
177179
&quot;snapshotAutoDeleteBehavior&quot;: &quot;A String&quot;, # The behavior to use when snapshot reserved space is full.
180+
&quot;snapshotEnabled&quot;: True or False, # Whether snapshots are enabled.
178181
&quot;snapshotReservationDetail&quot;: { # Details about snapshot space reservation and usage on the storage volume. # Details about snapshot space reservation and usage on the storage volume.
179182
&quot;reservedSpaceGib&quot;: &quot;A String&quot;, # The space on this storage volume reserved for snapshots, shown in GiB.
183+
&quot;reservedSpacePercent&quot;: 42, # Percent of the total Volume size reserved for snapshot copies. Enabling snapshots requires reserving 20% or more of the storage volume space for snapshots. Maximum reserved space for snapshots is 40%. Setting this field will effectively set snapshot_enabled to true.
180184
&quot;reservedSpaceRemainingGib&quot;: &quot;A String&quot;, # The amount, in GiB, of available space in this storage volume&#x27;s reserved snapshot space.
181185
&quot;reservedSpaceUsedPercent&quot;: 42, # The percent of snapshot space on this storage volume actually being used by the snapshot copies. This value might be higher than 100% if the snapshot copies have overflowed into the data portion of the storage volume.
182186
},
@@ -222,8 +226,10 @@ <h3>Method Details</h3>
222226
&quot;remainingSpaceGib&quot;: &quot;A String&quot;, # The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.
223227
&quot;requestedSizeGib&quot;: &quot;A String&quot;, # The requested size of this storage volume, in GiB.
224228
&quot;snapshotAutoDeleteBehavior&quot;: &quot;A String&quot;, # The behavior to use when snapshot reserved space is full.
229+
&quot;snapshotEnabled&quot;: True or False, # Whether snapshots are enabled.
225230
&quot;snapshotReservationDetail&quot;: { # Details about snapshot space reservation and usage on the storage volume. # Details about snapshot space reservation and usage on the storage volume.
226231
&quot;reservedSpaceGib&quot;: &quot;A String&quot;, # The space on this storage volume reserved for snapshots, shown in GiB.
232+
&quot;reservedSpacePercent&quot;: 42, # Percent of the total Volume size reserved for snapshot copies. Enabling snapshots requires reserving 20% or more of the storage volume space for snapshots. Maximum reserved space for snapshots is 40%. Setting this field will effectively set snapshot_enabled to true.
227233
&quot;reservedSpaceRemainingGib&quot;: &quot;A String&quot;, # The amount, in GiB, of available space in this storage volume&#x27;s reserved snapshot space.
228234
&quot;reservedSpaceUsedPercent&quot;: 42, # The percent of snapshot space on this storage volume actually being used by the snapshot copies. This value might be higher than 100% if the snapshot copies have overflowed into the data portion of the storage volume.
229235
},
@@ -232,7 +238,7 @@ <h3>Method Details</h3>
232238
&quot;storageType&quot;: &quot;A String&quot;, # The storage type for this volume.
233239
}
234240

235-
updateMask: string, The list of fields to update. The only currently supported fields are: `snapshot_auto_delete_behavior` `snapshot_schedule_policy_name` &#x27;labels&#x27; &#x27;requested_size_gib&#x27;
241+
updateMask: string, The list of fields to update. The only currently supported fields are: `snapshot_auto_delete_behavior` `snapshot_schedule_policy_name` &#x27;labels&#x27; &#x27;requested_size_gib&#x27; &#x27;snapshot_enabled&#x27; &#x27;snapshot_reservation_detail.reserved_space_percent&#x27;
236242
x__xgafv: string, V1 error format.
237243
Allowed values
238244
1 - v1 error format

0 commit comments

Comments
 (0)