Debian Codegraph @

docs/dyn/dns_v2.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_v2.html">Cloud DNS API</a> . <a href="dns_v2.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, location, 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, location, 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, location, 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, location, 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(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(project, location, 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, location, 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, location, 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 location: string, Specifies the location of the resource, only applicable in the v APIs. This information will be used for routing and will be part of the resource name. (required)
114 body: object, The request body.
115 The object takes the form of:
116
117 { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
118 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
119 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
120 {
121 &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
122 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
123 },
124 ],
125 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
126 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
127 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
128 {
129 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
130 &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}
131 },
132 ],
133 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
134 }
135
136 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
137 x__xgafv: string, V1 error format.
138 Allowed values
139 1 - v1 error format
140 2 - v2 error format
141
142 Returns:
143 An object of the form:
144
145 { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
146 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
147 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
148 {
149 &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
150 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
151 },
152 ],
153 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
154 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
155 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
156 {
157 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
158 &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}
159 },
160 ],
161 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
162 }</pre>
163 </div>
164
165 <div class="method">
166 <code class="details" id="delete">delete(project, location, responsePolicy, clientOperationId=None, x__xgafv=None)</code>
167 <pre>Deletes a previously created Response Policy. Fails if the response policy is non-empty or still being referenced by a network.
168
169 Args:
170 project: string, Identifies the project addressed by this request. (required)
171 location: string, Specifies the location of the resource. This information will be used for routing and will be part of the resource name. (required)
172 responsePolicy: string, User assigned name of the Response Policy addressed by this request. (required)
173 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
174 x__xgafv: string, V1 error format.
175 Allowed values
176 1 - v1 error format
177 2 - v2 error format
178 </pre>
179 </div>
180
181 <div class="method">
182 <code class="details" id="get">get(project, location, responsePolicy, clientOperationId=None, x__xgafv=None)</code>
183 <pre>Fetches the representation of an existing Response Policy.
184
185 Args:
186 project: string, Identifies the project addressed by this request. (required)
187 location: string, Specifies the location of the resource. This information will be used for routing and will be part of the resource name. (required)
188 responsePolicy: string, User assigned name of the Response Policy addressed by this request. (required)
189 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
190 x__xgafv: string, V1 error format.
191 Allowed values
192 1 - v1 error format
193 2 - v2 error format
194
195 Returns:
196 An object of the form:
197
198 { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
199 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
200 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
201 {
202 &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
203 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
204 },
205 ],
206 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
207 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
208 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
209 {
210 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
211 &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}
212 },
213 ],
214 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
215 }</pre>
216 </div>
217
218 <div class="method">
219 <code class="details" id="list">list(project, location, maxResults=None, pageToken=None, x__xgafv=None)</code>
220 <pre>Enumerates all Response Policies associated with a project.
221
222 Args:
223 project: string, Identifies the project addressed by this request. (required)
224 location: string, Specifies the location of the resource. This information will be used for routing and will be part of the resource name. (required)
225 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.
226 pageToken: string, Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
227 x__xgafv: string, V1 error format.
228 Allowed values
229 1 - v1 error format
230 2 - v2 error format
231
232 Returns:
233 An object of the form:
234
235 {
236 &quot;header&quot;: { # Elements common to every response.
237 &quot;operationId&quot;: &quot;A String&quot;, # For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only).
238 },
239 &quot;nextPageToken&quot;: &quot;A String&quot;, # The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token. This lets you the complete contents of even very large collections 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 cannot retrieve a consistent snapshot of a collection larger than the maximum page size.
240 &quot;responsePolicies&quot;: [ # The Response Policy resources.
241 { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
242 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
243 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
244 {
245 &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
246 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
247 },
248 ],
249 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
250 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
251 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
252 {
253 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
254 &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}
255 },
256 ],
257 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
258 },
259 ],
260 }</pre>
261 </div>
262
263 <div class="method">
264 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
265 <pre>Retrieves the next page of results.
266
267 Args:
268 previous_request: The request for the previous page. (required)
269 previous_response: The response from the request for the previous page. (required)
270
271 Returns:
272 A request object that you can call &#x27;execute()&#x27; on to request the next
273 page. Returns None if there are no more items in the collection.
274 </pre>
275 </div>
276
277 <div class="method">
278 <code class="details" id="patch">patch(project, location, responsePolicy, body=None, clientOperationId=None, x__xgafv=None)</code>
279 <pre>Applies a partial update to an existing Response Policy.
280
281 Args:
282 project: string, Identifies the project addressed by this request. (required)
283 location: string, Specifies the location of the resource. This information will be used for routing and will be part of the resource name. (required)
284 responsePolicy: string, User assigned name of the Respones Policy addressed by this request. (required)
285 body: object, The request body.
286 The object takes the form of:
287
288 { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
289 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
290 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
291 {
292 &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
293 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
294 },
295 ],
296 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
297 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
298 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
299 {
300 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
301 &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}
302 },
303 ],
304 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
305 }
306
307 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
308 x__xgafv: string, V1 error format.
309 Allowed values
310 1 - v1 error format
311 2 - v2 error format
312
313 Returns:
314 An object of the form:
315
316 {
317 &quot;header&quot;: { # Elements common to every response.
318 &quot;operationId&quot;: &quot;A String&quot;, # For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only).
319 },
320 &quot;responsePolicy&quot;: { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
321 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
322 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
323 {
324 &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
325 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
326 },
327 ],
328 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
329 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
330 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
331 {
332 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
333 &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}
334 },
335 ],
336 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
337 },
338 }</pre>
339 </div>
340
341 <div class="method">
342 <code class="details" id="update">update(project, location, responsePolicy, body=None, clientOperationId=None, x__xgafv=None)</code>
343 <pre>Updates an existing Response Policy.
344
345 Args:
346 project: string, Identifies the project addressed by this request. (required)
347 location: string, Specifies the location of the resource. This information will be used for routing and will be part of the resource name. (required)
348 responsePolicy: string, User assigned name of the Response Policy addressed by this request. (required)
349 body: object, The request body.
350 The object takes the form of:
351
352 { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
353 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
354 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
355 {
356 &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
357 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
358 },
359 ],
360 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
361 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
362 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
363 {
364 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
365 &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}
366 },
367 ],
368 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
369 }
370
371 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
372 x__xgafv: string, V1 error format.
373 Allowed values
374 1 - v1 error format
375 2 - v2 error format
376
377 Returns:
378 An object of the form:
379
380 {
381 &quot;header&quot;: { # Elements common to every response.
382 &quot;operationId&quot;: &quot;A String&quot;, # For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only).
383 },
384 &quot;responsePolicy&quot;: { # A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
385 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this Response Policy.
386 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters to which this response policy is applied.
387 {
388 &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
389 &quot;kind&quot;: &quot;dns#responsePolicyGKECluster&quot;,
390 },
391 ],
392 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
393 &quot;kind&quot;: &quot;dns#responsePolicy&quot;,
394 &quot;networks&quot;: [ # List of network names specifying networks to which this policy is applied.
395 {
396 &quot;kind&quot;: &quot;dns#responsePolicyNetwork&quot;,
397 &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}
398 },
399 ],
400 &quot;responsePolicyName&quot;: &quot;A String&quot;, # User assigned name for this Response Policy.
401 },
402 }</pre>
403 </div>
404
405 </body></html>