1<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="baremetalsolution_v1alpha1.html">Bare Metal Solution API</a> . <a href="baremetalsolution_v1alpha1.projects.html">projects</a> . <a href="baremetalsolution_v1alpha1.projects.locations.html">locations</a> . <a href="baremetalsolution_v1alpha1.projects.locations.volumes.html">volumes</a> . <a href="baremetalsolution_v1alpha1.projects.locations.volumes.snapshots.html">snapshots</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p> 82<p class="firstline">Create snapshot of the specified Volume</p> 83<p class="toc_element"> 84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p> 85<p class="firstline">Delete specific named snapshot.</p> 86<p class="toc_element"> 87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p> 88<p class="firstline">Get details for a specific named snapshot.</p> 89<p class="toc_element"> 90 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> 91<p class="firstline">List the Snapshots for the specified Volume</p> 92<p class="toc_element"> 93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 94<p class="firstline">Retrieves the next page of results.</p> 95<p class="toc_element"> 96 <code><a href="#restore">restore(name, body=None, x__xgafv=None)</a></code></p> 97<p class="firstline">Restore a VolumeSnapshot.</p> 98<h3>Method Details</h3> 99<div class="method"> 100 <code class="details" id="close">close()</code> 101 <pre>Close httplib2 connections.</pre> 102</div> 103 104<div class="method"> 105 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code> 106 <pre>Create snapshot of the specified Volume 107 108Args: 109 parent: string, Required. The Volume containing the VolumeSnapshots. (required) 110 body: object, The request body. 111 The object takes the form of: 112 113{ # VolumeSnapshot registered for given Volume 114 "description": "A String", # The description of this Snapshot. 115 "name": "A String", # Output only. The name of this Snapshot. 116 "sizeBytes": "A String", # The real size of this Snapshot, in bytes. 117 "state": "A String", # The state of this Snapshot. 118} 119 120 x__xgafv: string, V1 error format. 121 Allowed values 122 1 - v1 error format 123 2 - v2 error format 124 125Returns: 126 An object of the form: 127 128 { # VolumeSnapshot registered for given Volume 129 "description": "A String", # The description of this Snapshot. 130 "name": "A String", # Output only. The name of this Snapshot. 131 "sizeBytes": "A String", # The real size of this Snapshot, in bytes. 132 "state": "A String", # The state of this Snapshot. 133}</pre> 134</div> 135 136<div class="method"> 137 <code class="details" id="delete">delete(name, x__xgafv=None)</code> 138 <pre>Delete specific named snapshot. 139 140Args: 141 name: string, Required. The name of the snapshot to delete. (required) 142 x__xgafv: string, V1 error format. 143 Allowed values 144 1 - v1 error format 145 2 - v2 error format 146 147Returns: 148 An object of the form: 149 150 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`. 151}</pre> 152</div> 153 154<div class="method"> 155 <code class="details" id="get">get(name, x__xgafv=None)</code> 156 <pre>Get details for a specific named snapshot. 157 158Args: 159 name: string, Required. The name of the snapshot to retrieve. (required) 160 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 { # VolumeSnapshot registered for given Volume 169 "description": "A String", # The description of this Snapshot. 170 "name": "A String", # Output only. The name of this Snapshot. 171 "sizeBytes": "A String", # The real size of this Snapshot, in bytes. 172 "state": "A String", # The state of this Snapshot. 173}</pre> 174</div> 175 176<div class="method"> 177 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code> 178 <pre>List the Snapshots for the specified Volume 179 180Args: 181 parent: string, Required. The Volume containing the VolumeSnapshots. (required) 182 pageSize: integer, The maximum number of items to return. 183 pageToken: string, The next_page_token value returned from a previous List request, if any. 184 x__xgafv: string, V1 error format. 185 Allowed values 186 1 - v1 error format 187 2 - v2 error format 188 189Returns: 190 An object of the form: 191 192 { # Response for ListVolumeSnapshots. 193 "nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no more results in the list. 194 "volumeSnapshots": [ # The VolumeSnapshots for the volume. 195 { # VolumeSnapshot registered for given Volume 196 "description": "A String", # The description of this Snapshot. 197 "name": "A String", # Output only. The name of this Snapshot. 198 "sizeBytes": "A String", # The real size of this Snapshot, in bytes. 199 "state": "A String", # The state of this Snapshot. 200 }, 201 ], 202}</pre> 203</div> 204 205<div class="method"> 206 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 207 <pre>Retrieves the next page of results. 208 209Args: 210 previous_request: The request for the previous page. (required) 211 previous_response: The response from the request for the previous page. (required) 212 213Returns: 214 A request object that you can call 'execute()' on to request the next 215 page. Returns None if there are no more items in the collection. 216 </pre> 217</div> 218 219<div class="method"> 220 <code class="details" id="restore">restore(name, body=None, x__xgafv=None)</code> 221 <pre>Restore a VolumeSnapshot. 222 223Args: 224 name: string, Required. Name of the VolumeSnapshot to restore. (required) 225 body: object, The request body. 226 The object takes the form of: 227 228{ # Request for RestoreVolumeSnapshot. 229} 230 231 x__xgafv: string, V1 error format. 232 Allowed values 233 1 - v1 error format 234 2 - v2 error format 235 236Returns: 237 An object of the form: 238 239 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`. 240}</pre> 241</div> 242 243</body></html>