Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 04b23d9

Browse files
committedNov 1, 2022
feat(baremetalsolution): update the api
#### baremetalsolution:v2 The following keys were added: - resources.projects.resources.locations.resources.volumes.resources.snapshots.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.volumes.resources.snapshots.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.volumes.resources.snapshots.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.volumes.resources.snapshots.methods.list (Total Keys: 16) - resources.projects.resources.locations.resources.volumes.resources.snapshots.methods.restoreVolumeSnapshot (Total Keys: 12) - schemas.ListVolumeSnapshotsResponse (Total Keys: 7) - schemas.RestoreVolumeSnapshotRequest (Total Keys: 2) - schemas.VolumeSnapshot (Total Keys: 12)
1 parent ffbd7e4 commit 04b23d9

4 files changed

+281
-53
lines changed
 

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

+5
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ <h2>Instance Methods</h2>
7979
</p>
8080
<p class="firstline">Returns the luns Resource.</p>
8181

82+
<p class="toc_element">
83+
<code><a href="baremetalsolution_v2.projects.locations.volumes.snapshots.html">snapshots()</a></code>
84+
</p>
85+
<p class="firstline">Returns the snapshots Resource.</p>
86+
8287
<p class="toc_element">
8388
<code><a href="#close">close()</a></code></p>
8489
<p class="firstline">Close httplib2 connections.</p>

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

+51-51
Original file line numberDiff line numberDiff line change
@@ -79,22 +79,22 @@ <h2>Instance Methods</h2>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
8181
<code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Create a storage volume snapshot in a containing volume.</p>
82+
<p class="firstline">Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.</p>
8383
<p class="toc_element">
8484
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85-
<p class="firstline">Deletes a storage volume snapshot for a given volume.</p>
85+
<p class="firstline">Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.</p>
8686
<p class="toc_element">
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88-
<p class="firstline">Get details of a single storage volume snapshot.</p>
88+
<p class="firstline">Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.</p>
8989
<p class="toc_element">
9090
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91-
<p class="firstline">List storage volume snapshots for given storage volume.</p>
91+
<p class="firstline">Retrieves the list of snapshots for the specified volume. Returns a response with an empty list of snapshots if called for a non-boot volume.</p>
9292
<p class="toc_element">
93-
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
93+
<code><a href="#list_next">list_next()</a></code></p>
9494
<p class="firstline">Retrieves the next page of results.</p>
9595
<p class="toc_element">
9696
<code><a href="#restoreVolumeSnapshot">restoreVolumeSnapshot(volumeSnapshot, body=None, x__xgafv=None)</a></code></p>
97-
<p class="firstline">Restore a storage volume snapshot to its containing volume.</p>
97+
<p class="firstline">Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.</p>
9898
<h3>Method Details</h3>
9999
<div class="method">
100100
<code class="details" id="close">close()</code>
@@ -103,20 +103,20 @@ <h3>Method Details</h3>
103103

104104
<div class="method">
105105
<code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
106-
<pre>Create a storage volume snapshot in a containing volume.
106+
<pre>Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.
107107

108108
Args:
109109
parent: string, Required. The volume to snapshot. (required)
110110
body: object, The request body.
111111
The object takes the form of:
112112

113-
{ # Snapshot registered for a given storage volume.
114-
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the storage volume snapshot.
115-
&quot;description&quot;: &quot;A String&quot;, # The description of the storage volume snapshot.
116-
&quot;id&quot;: &quot;A String&quot;, # An identifier for the snapshot, generated by the backend.
117-
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the storage volume snapshot.
118-
&quot;sizeBytes&quot;: &quot;A String&quot;, # The size of the storage volume snapshot, in bytes.
119-
&quot;storageVolume&quot;: &quot;A String&quot;, # The storage volume this snapshot belongs to.
113+
{ # A snapshot of a volume. Only boot volumes can have snapshots.
114+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the snapshot.
115+
&quot;description&quot;: &quot;A String&quot;, # The description of the snapshot.
116+
&quot;id&quot;: &quot;A String&quot;, # Output only. An identifier for the snapshot, generated by the backend.
117+
&quot;name&quot;: &quot;A String&quot;, # The name of the snapshot.
118+
&quot;storageVolume&quot;: &quot;A String&quot;, # Output only. The name of the volume which this snapshot belongs to.
119+
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.
120120
}
121121

122122
x__xgafv: string, V1 error format.
@@ -127,19 +127,19 @@ <h3>Method Details</h3>
127127
Returns:
128128
An object of the form:
129129

130-
{ # Snapshot registered for a given storage volume.
131-
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the storage volume snapshot.
132-
&quot;description&quot;: &quot;A String&quot;, # The description of the storage volume snapshot.
133-
&quot;id&quot;: &quot;A String&quot;, # An identifier for the snapshot, generated by the backend.
134-
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the storage volume snapshot.
135-
&quot;sizeBytes&quot;: &quot;A String&quot;, # The size of the storage volume snapshot, in bytes.
136-
&quot;storageVolume&quot;: &quot;A String&quot;, # The storage volume this snapshot belongs to.
130+
{ # A snapshot of a volume. Only boot volumes can have snapshots.
131+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the snapshot.
132+
&quot;description&quot;: &quot;A String&quot;, # The description of the snapshot.
133+
&quot;id&quot;: &quot;A String&quot;, # Output only. An identifier for the snapshot, generated by the backend.
134+
&quot;name&quot;: &quot;A String&quot;, # The name of the snapshot.
135+
&quot;storageVolume&quot;: &quot;A String&quot;, # Output only. The name of the volume which this snapshot belongs to.
136+
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.
137137
}</pre>
138138
</div>
139139

140140
<div class="method">
141141
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
142-
<pre>Deletes a storage volume snapshot for a given volume.
142+
<pre>Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.
143143

144144
Args:
145145
name: string, Required. The name of the snapshot to delete. (required)
@@ -157,10 +157,10 @@ <h3>Method Details</h3>
157157

158158
<div class="method">
159159
<code class="details" id="get">get(name, x__xgafv=None)</code>
160-
<pre>Get details of a single storage volume snapshot.
160+
<pre>Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.
161161

162162
Args:
163-
name: string, Required. Name of the resource. (required)
163+
name: string, Required. The name of the snapshot. (required)
164164
x__xgafv: string, V1 error format.
165165
Allowed values
166166
1 - v1 error format
@@ -169,19 +169,19 @@ <h3>Method Details</h3>
169169
Returns:
170170
An object of the form:
171171

172-
{ # Snapshot registered for a given storage volume.
173-
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the storage volume snapshot.
174-
&quot;description&quot;: &quot;A String&quot;, # The description of the storage volume snapshot.
175-
&quot;id&quot;: &quot;A String&quot;, # An identifier for the snapshot, generated by the backend.
176-
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the storage volume snapshot.
177-
&quot;sizeBytes&quot;: &quot;A String&quot;, # The size of the storage volume snapshot, in bytes.
178-
&quot;storageVolume&quot;: &quot;A String&quot;, # The storage volume this snapshot belongs to.
172+
{ # A snapshot of a volume. Only boot volumes can have snapshots.
173+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the snapshot.
174+
&quot;description&quot;: &quot;A String&quot;, # The description of the snapshot.
175+
&quot;id&quot;: &quot;A String&quot;, # Output only. An identifier for the snapshot, generated by the backend.
176+
&quot;name&quot;: &quot;A String&quot;, # The name of the snapshot.
177+
&quot;storageVolume&quot;: &quot;A String&quot;, # Output only. The name of the volume which this snapshot belongs to.
178+
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.
179179
}</pre>
180180
</div>
181181

182182
<div class="method">
183183
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
184-
<pre>List storage volume snapshots for given storage volume.
184+
<pre>Retrieves the list of snapshots for the specified volume. Returns a response with an empty list of snapshots if called for a non-boot volume.
185185

186186
Args:
187187
parent: string, Required. Parent value for ListVolumesRequest. (required)
@@ -195,44 +195,44 @@ <h3>Method Details</h3>
195195
Returns:
196196
An object of the form:
197197

198-
{ # Response message containing the list of storage volume snapshots.
198+
{ # Response message containing the list of volume snapshots.
199199
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results from the server.
200200
&quot;unreachable&quot;: [ # Locations that could not be reached.
201201
&quot;A String&quot;,
202202
],
203-
&quot;volumeSnapshots&quot;: [ # The list of storage volumes.
204-
{ # Snapshot registered for a given storage volume.
205-
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the storage volume snapshot.
206-
&quot;description&quot;: &quot;A String&quot;, # The description of the storage volume snapshot.
207-
&quot;id&quot;: &quot;A String&quot;, # An identifier for the snapshot, generated by the backend.
208-
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the storage volume snapshot.
209-
&quot;sizeBytes&quot;: &quot;A String&quot;, # The size of the storage volume snapshot, in bytes.
210-
&quot;storageVolume&quot;: &quot;A String&quot;, # The storage volume this snapshot belongs to.
203+
&quot;volumeSnapshots&quot;: [ # The list of snapshots.
204+
{ # A snapshot of a volume. Only boot volumes can have snapshots.
205+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the snapshot.
206+
&quot;description&quot;: &quot;A String&quot;, # The description of the snapshot.
207+
&quot;id&quot;: &quot;A String&quot;, # Output only. An identifier for the snapshot, generated by the backend.
208+
&quot;name&quot;: &quot;A String&quot;, # The name of the snapshot.
209+
&quot;storageVolume&quot;: &quot;A String&quot;, # Output only. The name of the volume which this snapshot belongs to.
210+
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.
211211
},
212212
],
213213
}</pre>
214214
</div>
215215

216216
<div class="method">
217-
<code class="details" id="list_next">list_next(previous_request, previous_response)</code>
217+
<code class="details" id="list_next">list_next()</code>
218218
<pre>Retrieves the next page of results.
219219

220-
Args:
221-
previous_request: The request for the previous page. (required)
222-
previous_response: The response from the request for the previous page. (required)
220+
Args:
221+
previous_request: The request for the previous page. (required)
222+
previous_response: The response from the request for the previous page. (required)
223223

224-
Returns:
225-
A request object that you can call &#x27;execute()&#x27; on to request the next
226-
page. Returns None if there are no more items in the collection.
227-
</pre>
224+
Returns:
225+
A request object that you can call &#x27;execute()&#x27; on to request the next
226+
page. Returns None if there are no more items in the collection.
227+
</pre>
228228
</div>
229229

230230
<div class="method">
231231
<code class="details" id="restoreVolumeSnapshot">restoreVolumeSnapshot(volumeSnapshot, body=None, x__xgafv=None)</code>
232-
<pre>Restore a storage volume snapshot to its containing volume.
232+
<pre>Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.
233233

234234
Args:
235-
volumeSnapshot: string, Required. Name of the resource. (required)
235+
volumeSnapshot: string, Required. Name of the snapshot which will be used to restore its parent volume. (required)
236236
body: object, The request body.
237237
The object takes the form of:
238238

‎googleapiclient/discovery_cache/documents/baremetalsolution.v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
}
229229
}
230230
},
231-
"revision": "20220928",
231+
"revision": "20221025",
232232
"rootUrl": "https://baremetalsolution.googleapis.com/",
233233
"schemas": {
234234
"CancelOperationRequest": {

0 commit comments

Comments
 (0)
Please sign in to comment.