Debian Codegraph @

docs/dyn/gkebackup_v1.projects.locations.backupChannels.backupPlanBindings.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="gkebackup_v1.html">Backup for GKE API</a> . <a href="gkebackup_v1.projects.html">projects</a> . <a href="gkebackup_v1.projects.locations.html">locations</a> . <a href="gkebackup_v1.projects.locations.backupChannels.html">backupChannels</a> . <a href="gkebackup_v1.projects.locations.backupChannels.backupPlanBindings.html">backupPlanBindings</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="#get">get(name, x__xgafv=None)</a></code></p>
82 <p class="firstline">Retrieve the details of a single BackupPlanBinding.</p>
83 <p class="toc_element">
84 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Lists BackupPlanBindings in a given location.</p>
86 <p class="toc_element">
87 <code><a href="#list_next">list_next()</a></code></p>
88 <p class="firstline">Retrieves the next page of results.</p>
89 <h3>Method Details</h3>
90 <div class="method">
91 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93 </div>
94
95 <div class="method">
96 <code class="details" id="get">get(name, x__xgafv=None)</code>
97 <pre>Retrieve the details of a single BackupPlanBinding.
98
99 Args:
100 name: string, Required. Fully qualified BackupPlanBinding name. Format: `projects/*/locations/*/backupChannels/*/backupPlanBindings/*` (required)
101 x__xgafv: string, V1 error format.
102 Allowed values
103 1 - v1 error format
104 2 - v2 error format
105
106 Returns:
107 An object of the form:
108
109 { # A BackupPlanBinding binds a BackupPlan with a BackupChannel. This resource is created automatically when a BackupPlan is created using a BackupChannel. This also serves as a holder for cross-project fields that need to be displayed in the current project.
110 &quot;backupPlan&quot;: &quot;A String&quot;, # Output only. Immutable. The fully qualified name of the BackupPlan bound with the parent BackupChannel. `projects/*/locations/*/backupPlans/{backup_plan}`
111 &quot;backupPlanDetails&quot;: { # Contains metadata about the backup plan/backup. # Output only. Contains details about the backup plan/backup.
112 &quot;backupConfigDetails&quot;: { # BackupConfigDetails defines the configuration of Backups created via this BackupPlan. # Output only. Contains details about the BackupConfig of Backups created via this BackupPlan.
113 &quot;allNamespaces&quot;: True or False, # Output only. If True, include all namespaced resources
114 &quot;encryptionKey&quot;: { # Defined a customer managed encryption key that will be used to encrypt Backup artifacts. # Output only. This defines a customer managed encryption key that will be used to encrypt the &quot;config&quot; portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
115 &quot;gcpKmsEncryptionKey&quot;: &quot;A String&quot;, # Optional. Google Cloud KMS encryption key. Format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`
116 },
117 &quot;includeSecrets&quot;: True or False, # Output only. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
118 &quot;includeVolumeData&quot;: True or False, # Output only. This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
119 &quot;selectedApplications&quot;: { # A list of namespaced Kubernetes resources. # Output only. If set, include just the resources referenced by the listed ProtectedApplications.
120 &quot;namespacedNames&quot;: [ # Optional. A list of namespaced Kubernetes resources.
121 { # A reference to a namespaced resource in Kubernetes.
122 &quot;name&quot;: &quot;A String&quot;, # Optional. The name of the Kubernetes resource.
123 &quot;namespace&quot;: &quot;A String&quot;, # Optional. The Namespace of the Kubernetes resource.
124 },
125 ],
126 },
127 &quot;selectedNamespaces&quot;: { # A list of Kubernetes Namespaces. # Output only. If set, include just the resources in the listed namespaces.
128 &quot;namespaces&quot;: [ # Optional. A list of Kubernetes Namespaces.
129 &quot;A String&quot;,
130 ],
131 },
132 },
133 &quot;lastSuccessfulBackup&quot;: &quot;A String&quot;, # Output only. The fully qualified name of the last successful Backup created under this BackupPlan. `projects/*/locations/*/backupPlans/*/backups/*`
134 &quot;lastSuccessfulBackupTime&quot;: &quot;A String&quot;, # Output only. Completion time of the last successful Backup. This is sourced from a successful Backup&#x27;s complete_time field.
135 &quot;nextScheduledBackupTime&quot;: &quot;A String&quot;, # Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config. This is sourced from BackupPlan.
136 &quot;protectedPodCount&quot;: 42, # Output only. The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.
137 &quot;retentionPolicyDetails&quot;: { # RetentionPolicyDetails defines a Backup retention policy for a BackupPlan. # Output only. Contains details about the RetentionPolicy of Backups created via this BackupPlan.
138 &quot;backupDeleteLockDays&quot;: 42, # Optional. Minimum age for Backups created via this BackupPlan (in days). This field MUST be an integer value between 0-90 (inclusive). A Backup created under this BackupPlan will NOT be deletable until it reaches Backup&#x27;s (create_time + backup_delete_lock_days). Updating this field of a BackupPlan does NOT affect existing Backups under it. Backups created AFTER a successful update will inherit the new value. Default: 0 (no delete blocking)
139 &quot;backupRetainDays&quot;: 42, # Optional. The default maximum age of a Backup created via this BackupPlan. This field MUST be an integer value &gt;= 0 and &lt;= 365. If specified, a Backup created under this BackupPlan will be automatically deleted after its age reaches (create_time + backup_retain_days). If not specified, Backups created under this BackupPlan will NOT be subject to automatic deletion. Default: 0 (no automatic deletion)
140 },
141 &quot;rpoRiskLevel&quot;: 42, # Output only. A number that represents the current risk level of this BackupPlan from RPO perspective with 1 being no risk and 5 being highest risk.
142 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the BackupPlan.
143 },
144 &quot;cluster&quot;: &quot;A String&quot;, # Output only. Immutable. The fully qualified name of the cluster that is being backed up Valid formats: - `projects/*/locations/*/clusters/*` - `projects/*/zones/*/clusters/*`
145 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this binding was created.
146 &quot;etag&quot;: &quot;A String&quot;, # Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a BackupPlanBinding from overwriting each other. It is strongly suggested that systems make use of the &#x27;etag&#x27; in the read-modify-write cycle to perform BackupPlanBinding updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackupPlanBinding`, and systems are expected to put that etag in the request to `UpdateBackupPlanBinding` or `DeleteBackupPlanBinding` to ensure that their change will be applied to the same version of the resource.
147 &quot;name&quot;: &quot;A String&quot;, # Identifier. The fully qualified name of the BackupPlanBinding. `projects/*/locations/*/backupChannels/*/backupPlanBindings/*`
148 &quot;uid&quot;: &quot;A String&quot;, # Output only. Server generated global unique identifier of [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
149 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this binding was created.
150 }</pre>
151 </div>
152
153 <div class="method">
154 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
155 <pre>Lists BackupPlanBindings in a given location.
156
157 Args:
158 parent: string, Required. The BackupChannel that contains the BackupPlanBindings to list. Format: `projects/*/locations/*/backupChannels/*` (required)
159 filter: string, Optional. Field match expression used to filter the results.
160 orderBy: string, Optional. Field by which to sort the results.
161 pageSize: integer, Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response&#x27;s next_page_token to determine if there are more instances left to be queried.
162 pageToken: string, Optional. The value of next_page_token received from a previous `ListBackupPlanBindings` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListBackupPlanBindings` must match the call that provided the page token.
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 { # Response message for ListBackupPlanBindings.
172 &quot;backupPlanBindings&quot;: [ # The list of BackupPlanBindings matching the given criteria.
173 { # A BackupPlanBinding binds a BackupPlan with a BackupChannel. This resource is created automatically when a BackupPlan is created using a BackupChannel. This also serves as a holder for cross-project fields that need to be displayed in the current project.
174 &quot;backupPlan&quot;: &quot;A String&quot;, # Output only. Immutable. The fully qualified name of the BackupPlan bound with the parent BackupChannel. `projects/*/locations/*/backupPlans/{backup_plan}`
175 &quot;backupPlanDetails&quot;: { # Contains metadata about the backup plan/backup. # Output only. Contains details about the backup plan/backup.
176 &quot;backupConfigDetails&quot;: { # BackupConfigDetails defines the configuration of Backups created via this BackupPlan. # Output only. Contains details about the BackupConfig of Backups created via this BackupPlan.
177 &quot;allNamespaces&quot;: True or False, # Output only. If True, include all namespaced resources
178 &quot;encryptionKey&quot;: { # Defined a customer managed encryption key that will be used to encrypt Backup artifacts. # Output only. This defines a customer managed encryption key that will be used to encrypt the &quot;config&quot; portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
179 &quot;gcpKmsEncryptionKey&quot;: &quot;A String&quot;, # Optional. Google Cloud KMS encryption key. Format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`
180 },
181 &quot;includeSecrets&quot;: True or False, # Output only. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
182 &quot;includeVolumeData&quot;: True or False, # Output only. This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
183 &quot;selectedApplications&quot;: { # A list of namespaced Kubernetes resources. # Output only. If set, include just the resources referenced by the listed ProtectedApplications.
184 &quot;namespacedNames&quot;: [ # Optional. A list of namespaced Kubernetes resources.
185 { # A reference to a namespaced resource in Kubernetes.
186 &quot;name&quot;: &quot;A String&quot;, # Optional. The name of the Kubernetes resource.
187 &quot;namespace&quot;: &quot;A String&quot;, # Optional. The Namespace of the Kubernetes resource.
188 },
189 ],
190 },
191 &quot;selectedNamespaces&quot;: { # A list of Kubernetes Namespaces. # Output only. If set, include just the resources in the listed namespaces.
192 &quot;namespaces&quot;: [ # Optional. A list of Kubernetes Namespaces.
193 &quot;A String&quot;,
194 ],
195 },
196 },
197 &quot;lastSuccessfulBackup&quot;: &quot;A String&quot;, # Output only. The fully qualified name of the last successful Backup created under this BackupPlan. `projects/*/locations/*/backupPlans/*/backups/*`
198 &quot;lastSuccessfulBackupTime&quot;: &quot;A String&quot;, # Output only. Completion time of the last successful Backup. This is sourced from a successful Backup&#x27;s complete_time field.
199 &quot;nextScheduledBackupTime&quot;: &quot;A String&quot;, # Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config. This is sourced from BackupPlan.
200 &quot;protectedPodCount&quot;: 42, # Output only. The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.
201 &quot;retentionPolicyDetails&quot;: { # RetentionPolicyDetails defines a Backup retention policy for a BackupPlan. # Output only. Contains details about the RetentionPolicy of Backups created via this BackupPlan.
202 &quot;backupDeleteLockDays&quot;: 42, # Optional. Minimum age for Backups created via this BackupPlan (in days). This field MUST be an integer value between 0-90 (inclusive). A Backup created under this BackupPlan will NOT be deletable until it reaches Backup&#x27;s (create_time + backup_delete_lock_days). Updating this field of a BackupPlan does NOT affect existing Backups under it. Backups created AFTER a successful update will inherit the new value. Default: 0 (no delete blocking)
203 &quot;backupRetainDays&quot;: 42, # Optional. The default maximum age of a Backup created via this BackupPlan. This field MUST be an integer value &gt;= 0 and &lt;= 365. If specified, a Backup created under this BackupPlan will be automatically deleted after its age reaches (create_time + backup_retain_days). If not specified, Backups created under this BackupPlan will NOT be subject to automatic deletion. Default: 0 (no automatic deletion)
204 },
205 &quot;rpoRiskLevel&quot;: 42, # Output only. A number that represents the current risk level of this BackupPlan from RPO perspective with 1 being no risk and 5 being highest risk.
206 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the BackupPlan.
207 },
208 &quot;cluster&quot;: &quot;A String&quot;, # Output only. Immutable. The fully qualified name of the cluster that is being backed up Valid formats: - `projects/*/locations/*/clusters/*` - `projects/*/zones/*/clusters/*`
209 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this binding was created.
210 &quot;etag&quot;: &quot;A String&quot;, # Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a BackupPlanBinding from overwriting each other. It is strongly suggested that systems make use of the &#x27;etag&#x27; in the read-modify-write cycle to perform BackupPlanBinding updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackupPlanBinding`, and systems are expected to put that etag in the request to `UpdateBackupPlanBinding` or `DeleteBackupPlanBinding` to ensure that their change will be applied to the same version of the resource.
211 &quot;name&quot;: &quot;A String&quot;, # Identifier. The fully qualified name of the BackupPlanBinding. `projects/*/locations/*/backupChannels/*/backupPlanBindings/*`
212 &quot;uid&quot;: &quot;A String&quot;, # Output only. Server generated global unique identifier of [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
213 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this binding was created.
214 },
215 ],
216 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token which may be sent as page_token in a subsequent `ListBackupPlanBindingss` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
217 &quot;unreachable&quot;: [ # Locations that could not be reached.
218 &quot;A String&quot;,
219 ],
220 }</pre>
221 </div>
222
223 <div class="method">
224 <code class="details" id="list_next">list_next()</code>
225 <pre>Retrieves the next page of results.
226
227 Args:
228 previous_request: The request for the previous page. (required)
229 previous_response: The response from the request for the previous page. (required)
230
231 Returns:
232 A request object that you can call &#x27;execute()&#x27; on to request the next
233 page. Returns None if there are no more items in the collection.
234 </pre>
235 </div>
236
237 </body></html>