Debian Codegraph @

docs/dyn/backupdr_v1.projects.locations.resourceBackupConfigs.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="backupdr_v1.html">Backup and DR Service API</a> . <a href="backupdr_v1.projects.html">projects</a> . <a href="backupdr_v1.projects.locations.html">locations</a> . <a href="backupdr_v1.projects.locations.resourceBackupConfigs.html">resourceBackupConfigs</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="#fetch">fetch(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Fetches ResourceBackupConfigs.</p>
83 <p class="toc_element">
84 <code><a href="#fetch_next">fetch_next()</a></code></p>
85 <p class="firstline">Retrieves the next page of results.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists ResourceBackupConfigs.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="fetch">fetch(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
100 <pre>Fetches ResourceBackupConfigs.
101
102 Args:
103 parent: string, Required. The project, folder or organization and location for which to retrieve resource backup configs. Format: &#x27;projects/{project_id}/locations/{location}&#x27;, &#x27;folders/{folder_id}/locations/{location}&#x27;, or &#x27;organizations/{organization_id}/locations/{location}&#x27;. (required)
104 filter: string, Optional. Filtering results.
105 orderBy: string, Optional. Hint for how to order the results.
106 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will use 100 as default. Maximum value is 500 and values above 500 will be coerced to 500.
107 pageToken: string, Optional. A token identifying a page of results the server should return.
108 x__xgafv: string, V1 error format.
109 Allowed values
110 1 - v1 error format
111 2 - v2 error format
112
113 Returns:
114 An object of the form:
115
116 { # Response for FetchResourceBackupConfigs.
117 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
118 &quot;resourceBackupConfigs&quot;: [ # The list of ResourceBackupConfigs for the specified scope.
119 { # ResourceBackupConfig represents a resource along with its backup configurations.
120 &quot;backupConfigsDetails&quot;: [ # Backup configurations applying to the target resource, including those targeting its related/child resources. For example, backup configuration applicable to Compute Engine disks will be populated in this field for a Compute Engine VM which has the disk associated.
121 { # BackupConfigDetails has information about how the resource is configured for backups and about the most recent backup taken for this configuration.
122 &quot;applicableResource&quot;: &quot;A String&quot;, # Output only. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the resource that is applicable for the backup configuration. Example: &quot;//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}&quot;
123 &quot;backupConfigSource&quot;: &quot;A String&quot;, # Output only. The full resource name of the backup config source resource. For example, &quot;//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupPlans/{backupplanId}&quot; or &quot;//compute.googleapis.com/projects/{project}/locations/{region}/resourcePolicies/{resourcePolicyId}&quot;.
124 &quot;backupConfigSourceDisplayName&quot;: &quot;A String&quot;, # Output only. The display name of the backup config source resource.
125 &quot;backupDrPlanConfig&quot;: { # BackupDrPlanConfig has additional information about Google Cloud Backup and DR&#x27;s Plan backup configuration. # Google Cloud Backup and DR&#x27;s Backup Plan specific data.
126 &quot;backupDrPlanRules&quot;: [ # Backup rules of the backup plan resource.
127 { # BackupDrPlanRule has rule specific information of the backup plan resource.
128 &quot;lastSuccessfulBackupTime&quot;: &quot;A String&quot;, # Output only. Timestamp of the latest successful backup created via this backup rule.
129 &quot;ruleId&quot;: &quot;A String&quot;, # Output only. Unique Id of the backup rule.
130 },
131 ],
132 },
133 &quot;backupDrTemplateConfig&quot;: { # Provides additional information about Google Cloud Backup and DR&#x27;s Template backup configuration. # Google Cloud Backup and DR&#x27;s Template specific data.
134 &quot;firstPartyManagementUri&quot;: &quot;A String&quot;, # Output only. The URI of the BackupDr template resource for the first party identity users.
135 &quot;thirdPartyManagementUri&quot;: &quot;A String&quot;, # Output only. The URI of the BackupDr template resource for the third party identity users.
136 },
137 &quot;backupLocations&quot;: [ # The locations where the backups are to be stored.
138 { # BackupLocation represents a cloud location where a backup can be stored.
139 &quot;locationId&quot;: &quot;A String&quot;, # Output only. The id of the cloud location. Example: &quot;us-central1&quot;
140 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of the location.
141 },
142 ],
143 &quot;backupVault&quot;: &quot;A String&quot;, # Output only. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the backup vault that will store the backups generated through this backup configuration. Example: &quot;//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupVaults/{backupvaultId}&quot;
144 &quot;latestSuccessfulBackupTime&quot;: &quot;A String&quot;, # Output only. Timestamp of the latest successful backup created via this backup configuration.
145 &quot;pitrSettings&quot;: { # Point in time recovery settings of the backup configuration resource. # Output only. Point in time recovery settings of the backup configuration resource.
146 &quot;retentionDays&quot;: 42, # Output only. Number of days to retain the backup.
147 },
148 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the backup config resource.
149 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of the backup config resource.
150 },
151 ],
152 &quot;backupConfigured&quot;: True or False, # Output only. Whether the target resource is configured for backup. This is true if the backup_configs_details is not empty.
153 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the ResourceBackupConfig. Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid}
154 &quot;targetResource&quot;: &quot;A String&quot;, # Output only. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the cloud resource that this configuration applies to. Supported resource types are ResourceBackupConfig.ResourceType.
155 &quot;targetResourceDisplayName&quot;: &quot;A String&quot;, # Output only. The human friendly name of the target resource.
156 &quot;targetResourceLabels&quot;: { # Labels associated with the target resource.
157 &quot;a_key&quot;: &quot;A String&quot;,
158 },
159 &quot;targetResourceType&quot;: &quot;A String&quot;, # Output only. The type of the target resource.
160 &quot;uid&quot;: &quot;A String&quot;, # Output only. The unique identifier of the resource backup config.
161 &quot;vaulted&quot;: True or False, # Output only. Whether the target resource is protected by a backup vault. This is true if the backup_configs_details is not empty and any of the ResourceBackupConfig.backup_configs_details has a backup configuration with BackupConfigDetails.backup_vault set.
162 },
163 ],
164 }</pre>
165 </div>
166
167 <div class="method">
168 <code class="details" id="fetch_next">fetch_next()</code>
169 <pre>Retrieves the next page of results.
170
171 Args:
172 previous_request: The request for the previous page. (required)
173 previous_response: The response from the request for the previous page. (required)
174
175 Returns:
176 A request object that you can call &#x27;execute()&#x27; on to request the next
177 page. Returns None if there are no more items in the collection.
178 </pre>
179 </div>
180
181 <div class="method">
182 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
183 <pre>Lists ResourceBackupConfigs.
184
185 Args:
186 parent: string, Required. The project and location for which to retrieve resource backup configs. Format: &#x27;projects/{project_id}/locations/{location}&#x27;. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. (required)
187 filter: string, Optional. Filtering results.
188 orderBy: string, Optional. Hint for how to order the results.
189 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will use 100 as default. Maximum value is 500 and values above 500 will be coerced to 500.
190 pageToken: string, Optional. A token identifying a page of results the server should return.
191 x__xgafv: string, V1 error format.
192 Allowed values
193 1 - v1 error format
194 2 - v2 error format
195
196 Returns:
197 An object of the form:
198
199 { # Response for ListResourceBackupConfigs.
200 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
201 &quot;resourceBackupConfigs&quot;: [ # The list of ResourceBackupConfigs for the specified scope.
202 { # ResourceBackupConfig represents a resource along with its backup configurations.
203 &quot;backupConfigsDetails&quot;: [ # Backup configurations applying to the target resource, including those targeting its related/child resources. For example, backup configuration applicable to Compute Engine disks will be populated in this field for a Compute Engine VM which has the disk associated.
204 { # BackupConfigDetails has information about how the resource is configured for backups and about the most recent backup taken for this configuration.
205 &quot;applicableResource&quot;: &quot;A String&quot;, # Output only. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the resource that is applicable for the backup configuration. Example: &quot;//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}&quot;
206 &quot;backupConfigSource&quot;: &quot;A String&quot;, # Output only. The full resource name of the backup config source resource. For example, &quot;//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupPlans/{backupplanId}&quot; or &quot;//compute.googleapis.com/projects/{project}/locations/{region}/resourcePolicies/{resourcePolicyId}&quot;.
207 &quot;backupConfigSourceDisplayName&quot;: &quot;A String&quot;, # Output only. The display name of the backup config source resource.
208 &quot;backupDrPlanConfig&quot;: { # BackupDrPlanConfig has additional information about Google Cloud Backup and DR&#x27;s Plan backup configuration. # Google Cloud Backup and DR&#x27;s Backup Plan specific data.
209 &quot;backupDrPlanRules&quot;: [ # Backup rules of the backup plan resource.
210 { # BackupDrPlanRule has rule specific information of the backup plan resource.
211 &quot;lastSuccessfulBackupTime&quot;: &quot;A String&quot;, # Output only. Timestamp of the latest successful backup created via this backup rule.
212 &quot;ruleId&quot;: &quot;A String&quot;, # Output only. Unique Id of the backup rule.
213 },
214 ],
215 },
216 &quot;backupDrTemplateConfig&quot;: { # Provides additional information about Google Cloud Backup and DR&#x27;s Template backup configuration. # Google Cloud Backup and DR&#x27;s Template specific data.
217 &quot;firstPartyManagementUri&quot;: &quot;A String&quot;, # Output only. The URI of the BackupDr template resource for the first party identity users.
218 &quot;thirdPartyManagementUri&quot;: &quot;A String&quot;, # Output only. The URI of the BackupDr template resource for the third party identity users.
219 },
220 &quot;backupLocations&quot;: [ # The locations where the backups are to be stored.
221 { # BackupLocation represents a cloud location where a backup can be stored.
222 &quot;locationId&quot;: &quot;A String&quot;, # Output only. The id of the cloud location. Example: &quot;us-central1&quot;
223 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of the location.
224 },
225 ],
226 &quot;backupVault&quot;: &quot;A String&quot;, # Output only. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the backup vault that will store the backups generated through this backup configuration. Example: &quot;//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupVaults/{backupvaultId}&quot;
227 &quot;latestSuccessfulBackupTime&quot;: &quot;A String&quot;, # Output only. Timestamp of the latest successful backup created via this backup configuration.
228 &quot;pitrSettings&quot;: { # Point in time recovery settings of the backup configuration resource. # Output only. Point in time recovery settings of the backup configuration resource.
229 &quot;retentionDays&quot;: 42, # Output only. Number of days to retain the backup.
230 },
231 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the backup config resource.
232 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of the backup config resource.
233 },
234 ],
235 &quot;backupConfigured&quot;: True or False, # Output only. Whether the target resource is configured for backup. This is true if the backup_configs_details is not empty.
236 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the ResourceBackupConfig. Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid}
237 &quot;targetResource&quot;: &quot;A String&quot;, # Output only. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the cloud resource that this configuration applies to. Supported resource types are ResourceBackupConfig.ResourceType.
238 &quot;targetResourceDisplayName&quot;: &quot;A String&quot;, # Output only. The human friendly name of the target resource.
239 &quot;targetResourceLabels&quot;: { # Labels associated with the target resource.
240 &quot;a_key&quot;: &quot;A String&quot;,
241 },
242 &quot;targetResourceType&quot;: &quot;A String&quot;, # Output only. The type of the target resource.
243 &quot;uid&quot;: &quot;A String&quot;, # Output only. The unique identifier of the resource backup config.
244 &quot;vaulted&quot;: True or False, # Output only. Whether the target resource is protected by a backup vault. This is true if the backup_configs_details is not empty and any of the ResourceBackupConfig.backup_configs_details has a backup configuration with BackupConfigDetails.backup_vault set.
245 },
246 ],
247 }</pre>
248 </div>
249
250 <div class="method">
251 <code class="details" id="list_next">list_next()</code>
252 <pre>Retrieves the next page of results.
253
254 Args:
255 previous_request: The request for the previous page. (required)
256 previous_response: The response from the request for the previous page. (required)
257
258 Returns:
259 A request object that you can call &#x27;execute()&#x27; on to request the next
260 page. Returns None if there are no more items in the collection.
261 </pre>
262 </div>
263
264 </body></html>