Debian Codegraph @

docs/dyn/dns_v1beta2.responsePolicies.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="dns_v1beta2.html">Cloud DNS API</a> . <a href="dns_v1beta2.responsePolicies.html">responsePolicies</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(project, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new Response Policy</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(project, responsePolicy, clientOperationId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a previously created Response Policy. Fails if the response policy is non-empty or still being referenced by a network.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(project, responsePolicy, clientOperationId=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Fetches the representation of an existing Response Policy.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(project, maxResults=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Enumerates all Response Policies associated with a project.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</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(project, responsePolicy, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Applies a partial update to an existing Response Policy.</p>
98 <p class="toc_element">
99 <code><a href="#update">update(project, responsePolicy, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Updates an existing Response Policy.</p>
101 <h3>Method Details</h3>
102 <div class="method">
103 <code class="details" id="close">close()</code>
104 <pre>Close httplib2 connections.</pre>
105 </div>
106
107 <div class="method">
108 <code class="details" id="create">create(project, body=None, clientOperationId=None, x__xgafv=None)</code>
109 <pre>Creates a new Response Policy
110
111 Args:
112 project: string, Identifies the project addressed by this request. (required)
113 body: object, The request body.
114 The object takes the form of:
115
116 { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
117 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
118 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
119 {
120 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
121 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
122 },
123 ],
124 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
125 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
126 &quot;labels&quot;: { # User labels.
127 &quot;a_key&quot;: &quot;A String&quot;,
128 },
129 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
130 {
131 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
132 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`
133 },
134 ],
135 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
136 }
137
138 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
139 x__xgafv: string, V1 error format.
140 Allowed values
141 1 - v1 error format
142 2 - v2 error format
143
144 Returns:
145 An object of the form:
146
147 { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
148 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
149 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
150 {
151 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
152 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
153 },
154 ],
155 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
156 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
157 &quot;labels&quot;: { # User labels.
158 &quot;a_key&quot;: &quot;A String&quot;,
159 },
160 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
161 {
162 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
163 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`
164 },
165 ],
166 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
167 }</pre>
168 </div>
169
170 <div class="method">
171 <code class="details" id="delete">delete(project, responsePolicy, clientOperationId=None, x__xgafv=None)</code>
172 <pre>Deletes a previously created Response Policy. Fails if the response policy is non-empty or still being referenced by a network.
173
174 Args:
175 project: string, Identifies the project addressed by this request. (required)
176 responsePolicy: string, User assigned name of the Response Policy addressed by this request. (required)
177 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
178 x__xgafv: string, V1 error format.
179 Allowed values
180 1 - v1 error format
181 2 - v2 error format
182 </pre>
183 </div>
184
185 <div class="method">
186 <code class="details" id="get">get(project, responsePolicy, clientOperationId=None, x__xgafv=None)</code>
187 <pre>Fetches the representation of an existing Response Policy.
188
189 Args:
190 project: string, Identifies the project addressed by this request. (required)
191 responsePolicy: string, User assigned name of the Response Policy addressed by this request. (required)
192 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
193 x__xgafv: string, V1 error format.
194 Allowed values
195 1 - v1 error format
196 2 - v2 error format
197
198 Returns:
199 An object of the form:
200
201 { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
202 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
203 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
204 {
205 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
206 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
207 },
208 ],
209 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
210 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
211 &quot;labels&quot;: { # User labels.
212 &quot;a_key&quot;: &quot;A String&quot;,
213 },
214 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
215 {
216 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
217 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`
218 },
219 ],
220 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
221 }</pre>
222 </div>
223
224 <div class="method">
225 <code class="details" id="list">list(project, maxResults=None, pageToken=None, x__xgafv=None)</code>
226 <pre>Enumerates all Response Policies associated with a project.
227
228 Args:
229 project: string, Identifies the project addressed by this request. (required)
230 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.
231 pageToken: string, Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
232 x__xgafv: string, V1 error format.
233 Allowed values
234 1 - v1 error format
235 2 - v2 error format
236
237 Returns:
238 An object of the form:
239
240 {
241 &quot;nextPageToken&quot;: &quot;A String&quot;, # This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can&#x27;t retrieve a consistent snapshot of a collection larger than the maximum page size.
242 &quot;responsePolicies&quot;: [ # The Response Policy resources.
243 { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
244 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
245 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
246 {
247 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
248 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
249 },
250 ],
251 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
252 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
253 &quot;labels&quot;: { # User labels.
254 &quot;a_key&quot;: &quot;A String&quot;,
255 },
256 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
257 {
258 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
259 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`
260 },
261 ],
262 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
263 },
264 ],
265 }</pre>
266 </div>
267
268 <div class="method">
269 <code class="details" id="list_next">list_next()</code>
270 <pre>Retrieves the next page of results.
271
272 Args:
273 previous_request: The request for the previous page. (required)
274 previous_response: The response from the request for the previous page. (required)
275
276 Returns:
277 A request object that you can call &#x27;execute()&#x27; on to request the next
278 page. Returns None if there are no more items in the collection.
279 </pre>
280 </div>
281
282 <div class="method">
283 <code class="details" id="patch">patch(project, responsePolicy, body=None, clientOperationId=None, x__xgafv=None)</code>
284 <pre>Applies a partial update to an existing Response Policy.
285
286 Args:
287 project: string, Identifies the project addressed by this request. (required)
288 responsePolicy: string, User assigned name of the response policy addressed by this request. (required)
289 body: object, The request body.
290 The object takes the form of:
291
292 { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
293 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
294 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
295 {
296 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
297 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
298 },
299 ],
300 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
301 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
302 &quot;labels&quot;: { # User labels.
303 &quot;a_key&quot;: &quot;A String&quot;,
304 },
305 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
306 {
307 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
308 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`
309 },
310 ],
311 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
312 }
313
314 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
315 x__xgafv: string, V1 error format.
316 Allowed values
317 1 - v1 error format
318 2 - v2 error format
319
320 Returns:
321 An object of the form:
322
323 {
324 &quot;responsePolicy&quot;: { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
325 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
326 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
327 {
328 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
329 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
330 },
331 ],
332 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
333 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
334 &quot;labels&quot;: { # User labels.
335 &quot;a_key&quot;: &quot;A String&quot;,
336 },
337 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
338 {
339 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
340 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`
341 },
342 ],
343 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
344 },
345 }</pre>
346 </div>
347
348 <div class="method">
349 <code class="details" id="update">update(project, responsePolicy, body=None, clientOperationId=None, x__xgafv=None)</code>
350 <pre>Updates an existing Response Policy.
351
352 Args:
353 project: string, Identifies the project addressed by this request. (required)
354 responsePolicy: string, User assigned name of the Response Policy addressed by this request. (required)
355 body: object, The request body.
356 The object takes the form of:
357
358 { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
359 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
360 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
361 {
362 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
363 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
364 },
365 ],
366 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
367 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
368 &quot;labels&quot;: { # User labels.
369 &quot;a_key&quot;: &quot;A String&quot;,
370 },
371 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
372 {
373 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
374 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`
375 },
376 ],
377 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
378 }
379
380 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
381 x__xgafv: string, V1 error format.
382 Allowed values
383 1 - v1 error format
384 2 - v2 error format
385
386 Returns:
387 An object of the form:
388
389 {
390 &quot;responsePolicy&quot;: { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
391 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
392 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
393 {
394 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
395 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
396 },
397 ],
398 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
399 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
400 &quot;labels&quot;: { # User labels.
401 &quot;a_key&quot;: &quot;A String&quot;,
402 },
403 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
404 {
405 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
406 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`
407 },
408 ],
409 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
410 },
411 }</pre>
412 </div>
413
414 </body></html>