Debian Codegraph @

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

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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_v2.html">Bare Metal Solution API</a> . <a href="baremetalsolution_v2.projects.html">projects</a> . <a href="baremetalsolution_v2.projects.locations.html">locations</a> . <a href="baremetalsolution_v2.projects.locations.snapshotSchedulePolicies.html">snapshotSchedulePolicies</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, snapshotSchedulePolicyId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Create a snapshot schedule policy in the specified project.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Delete a named snapshot schedule policy.</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 of a single snapshot schedule policy.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">List snapshot schedule policies in a given project and location.</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="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Update a snapshot schedule policy in the specified project.</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, snapshotSchedulePolicyId=None, x__xgafv=None)</code>
106 <pre>Create a snapshot schedule policy in the specified project.
107
108 Args:
109 parent: string, Required. The parent project and location containing the SnapshotSchedulePolicy. (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # A snapshot schedule policy.
114 &quot;description&quot;: &quot;A String&quot;, # The description of the snapshot schedule policy.
115 &quot;id&quot;: &quot;A String&quot;, # An identifier for the snapshot schedule policy, generated by the backend.
116 &quot;labels&quot;: { # Labels as key value pairs.
117 &quot;a_key&quot;: &quot;A String&quot;,
118 },
119 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the snapshot schedule policy.
120 &quot;schedules&quot;: [ # The snapshot schedules contained in this policy. You can specify a maximum of 5 schedules.
121 { # A snapshot schedule.
122 &quot;crontabSpec&quot;: &quot;A String&quot;, # A crontab-like specification that the schedule uses to take snapshots.
123 &quot;prefix&quot;: &quot;A String&quot;, # A list of snapshot names created in this schedule.
124 &quot;retentionCount&quot;: 42, # The maximum number of snapshots to retain in this schedule.
125 },
126 ],
127 &quot;state&quot;: &quot;A String&quot;, # The state of the snapshot schedule policy.
128 }
129
130 snapshotSchedulePolicyId: string, Required. Snapshot policy ID
131 x__xgafv: string, V1 error format.
132 Allowed values
133 1 - v1 error format
134 2 - v2 error format
135
136 Returns:
137 An object of the form:
138
139 { # A snapshot schedule policy.
140 &quot;description&quot;: &quot;A String&quot;, # The description of the snapshot schedule policy.
141 &quot;id&quot;: &quot;A String&quot;, # An identifier for the snapshot schedule policy, generated by the backend.
142 &quot;labels&quot;: { # Labels as key value pairs.
143 &quot;a_key&quot;: &quot;A String&quot;,
144 },
145 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the snapshot schedule policy.
146 &quot;schedules&quot;: [ # The snapshot schedules contained in this policy. You can specify a maximum of 5 schedules.
147 { # A snapshot schedule.
148 &quot;crontabSpec&quot;: &quot;A String&quot;, # A crontab-like specification that the schedule uses to take snapshots.
149 &quot;prefix&quot;: &quot;A String&quot;, # A list of snapshot names created in this schedule.
150 &quot;retentionCount&quot;: 42, # The maximum number of snapshots to retain in this schedule.
151 },
152 ],
153 &quot;state&quot;: &quot;A String&quot;, # The state of the snapshot schedule policy.
154 }</pre>
155 </div>
156
157 <div class="method">
158 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
159 <pre>Delete a named snapshot schedule policy.
160
161 Args:
162 name: string, Required. The name of the snapshot schedule policy to delete. (required)
163 x__xgafv: string, V1 error format.
164 Allowed values
165 1 - v1 error format
166 2 - v2 error format
167
168 Returns:
169 An object of the form:
170
171 { # 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); }
172 }</pre>
173 </div>
174
175 <div class="method">
176 <code class="details" id="get">get(name, x__xgafv=None)</code>
177 <pre>Get details of a single snapshot schedule policy.
178
179 Args:
180 name: string, Required. Name of the resource. (required)
181 x__xgafv: string, V1 error format.
182 Allowed values
183 1 - v1 error format
184 2 - v2 error format
185
186 Returns:
187 An object of the form:
188
189 { # A snapshot schedule policy.
190 &quot;description&quot;: &quot;A String&quot;, # The description of the snapshot schedule policy.
191 &quot;id&quot;: &quot;A String&quot;, # An identifier for the snapshot schedule policy, generated by the backend.
192 &quot;labels&quot;: { # Labels as key value pairs.
193 &quot;a_key&quot;: &quot;A String&quot;,
194 },
195 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the snapshot schedule policy.
196 &quot;schedules&quot;: [ # The snapshot schedules contained in this policy. You can specify a maximum of 5 schedules.
197 { # A snapshot schedule.
198 &quot;crontabSpec&quot;: &quot;A String&quot;, # A crontab-like specification that the schedule uses to take snapshots.
199 &quot;prefix&quot;: &quot;A String&quot;, # A list of snapshot names created in this schedule.
200 &quot;retentionCount&quot;: 42, # The maximum number of snapshots to retain in this schedule.
201 },
202 ],
203 &quot;state&quot;: &quot;A String&quot;, # The state of the snapshot schedule policy.
204 }</pre>
205 </div>
206
207 <div class="method">
208 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
209 <pre>List snapshot schedule policies in a given project and location.
210
211 Args:
212 parent: string, Required. The parent project containing the Snapshot Schedule Policies. (required)
213 filter: string, List filter.
214 pageSize: integer, The maximum number of items to return.
215 pageToken: string, The next_page_token value returned from a previous List request, if any.
216 x__xgafv: string, V1 error format.
217 Allowed values
218 1 - v1 error format
219 2 - v2 error format
220
221 Returns:
222 An object of the form:
223
224 { # Response message containing the list of snapshot schedule policies.
225 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no more results in the list.
226 &quot;snapshotSchedulePolicies&quot;: [ # The snapshot schedule policies registered in this project.
227 { # A snapshot schedule policy.
228 &quot;description&quot;: &quot;A String&quot;, # The description of the snapshot schedule policy.
229 &quot;id&quot;: &quot;A String&quot;, # An identifier for the snapshot schedule policy, generated by the backend.
230 &quot;labels&quot;: { # Labels as key value pairs.
231 &quot;a_key&quot;: &quot;A String&quot;,
232 },
233 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the snapshot schedule policy.
234 &quot;schedules&quot;: [ # The snapshot schedules contained in this policy. You can specify a maximum of 5 schedules.
235 { # A snapshot schedule.
236 &quot;crontabSpec&quot;: &quot;A String&quot;, # A crontab-like specification that the schedule uses to take snapshots.
237 &quot;prefix&quot;: &quot;A String&quot;, # A list of snapshot names created in this schedule.
238 &quot;retentionCount&quot;: 42, # The maximum number of snapshots to retain in this schedule.
239 },
240 ],
241 &quot;state&quot;: &quot;A String&quot;, # The state of the snapshot schedule policy.
242 },
243 ],
244 }</pre>
245 </div>
246
247 <div class="method">
248 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
249 <pre>Retrieves the next page of results.
250
251 Args:
252 previous_request: The request for the previous page. (required)
253 previous_response: The response from the request for the previous page. (required)
254
255 Returns:
256 A request object that you can call &#x27;execute()&#x27; on to request the next
257 page. Returns None if there are no more items in the collection.
258 </pre>
259 </div>
260
261 <div class="method">
262 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
263 <pre>Update a snapshot schedule policy in the specified project.
264
265 Args:
266 name: string, Output only. The name of the snapshot schedule policy. (required)
267 body: object, The request body.
268 The object takes the form of:
269
270 { # A snapshot schedule policy.
271 &quot;description&quot;: &quot;A String&quot;, # The description of the snapshot schedule policy.
272 &quot;id&quot;: &quot;A String&quot;, # An identifier for the snapshot schedule policy, generated by the backend.
273 &quot;labels&quot;: { # Labels as key value pairs.
274 &quot;a_key&quot;: &quot;A String&quot;,
275 },
276 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the snapshot schedule policy.
277 &quot;schedules&quot;: [ # The snapshot schedules contained in this policy. You can specify a maximum of 5 schedules.
278 { # A snapshot schedule.
279 &quot;crontabSpec&quot;: &quot;A String&quot;, # A crontab-like specification that the schedule uses to take snapshots.
280 &quot;prefix&quot;: &quot;A String&quot;, # A list of snapshot names created in this schedule.
281 &quot;retentionCount&quot;: 42, # The maximum number of snapshots to retain in this schedule.
282 },
283 ],
284 &quot;state&quot;: &quot;A String&quot;, # The state of the snapshot schedule policy.
285 }
286
287 updateMask: string, Required. The list of fields to update.
288 x__xgafv: string, V1 error format.
289 Allowed values
290 1 - v1 error format
291 2 - v2 error format
292
293 Returns:
294 An object of the form:
295
296 { # A snapshot schedule policy.
297 &quot;description&quot;: &quot;A String&quot;, # The description of the snapshot schedule policy.
298 &quot;id&quot;: &quot;A String&quot;, # An identifier for the snapshot schedule policy, generated by the backend.
299 &quot;labels&quot;: { # Labels as key value pairs.
300 &quot;a_key&quot;: &quot;A String&quot;,
301 },
302 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the snapshot schedule policy.
303 &quot;schedules&quot;: [ # The snapshot schedules contained in this policy. You can specify a maximum of 5 schedules.
304 { # A snapshot schedule.
305 &quot;crontabSpec&quot;: &quot;A String&quot;, # A crontab-like specification that the schedule uses to take snapshots.
306 &quot;prefix&quot;: &quot;A String&quot;, # A list of snapshot names created in this schedule.
307 &quot;retentionCount&quot;: 42, # The maximum number of snapshots to retain in this schedule.
308 },
309 ],
310 &quot;state&quot;: &quot;A String&quot;, # The state of the snapshot schedule policy.
311 }</pre>
312 </div>
313
314 </body></html>