Debian Codegraph @

docs/dyn/connectors_v1.projects.locations.global_.managedZones.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="connectors_v1.html">Connectors API</a> . <a href="connectors_v1.projects.html">projects</a> . <a href="connectors_v1.projects.locations.html">locations</a> . <a href="connectors_v1.projects.locations.global_.html">global_</a> . <a href="connectors_v1.projects.locations.global_.managedZones.html">managedZones</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, managedZoneId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new ManagedZone in a given project and location.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a single ManagedZone.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of a single ManagedZone.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">List ManagedZones in a given 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(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates the parameters of a single ManagedZone.</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, managedZoneId=None, x__xgafv=None)</code>
106 <pre>Creates a new ManagedZone in a given project and location.
107
108 Args:
109 parent: string, Required. Parent resource of the ManagedZone, of the form: `projects/*/locations/global` (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # represents the Connector&#x27;s Managed Zone resource
114 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
115 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the resource.
116 &quot;dns&quot;: &quot;A String&quot;, # Required. DNS Name of the resource
117 &quot;labels&quot;: { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
118 &quot;a_key&quot;: &quot;A String&quot;,
119 },
120 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}
121 &quot;targetProject&quot;: &quot;A String&quot;, # Required. The name of the Target Project
122 &quot;targetVpc&quot;: &quot;A String&quot;, # Required. The name of the Target Project VPC Network
123 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
124 }
125
126 managedZoneId: string, Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
127 x__xgafv: string, V1 error format.
128 Allowed values
129 1 - v1 error format
130 2 - v2 error format
131
132 Returns:
133 An object of the form:
134
135 { # This resource represents a long-running operation that is the result of a network API call.
136 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
137 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
138 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
139 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
140 {
141 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
142 },
143 ],
144 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
145 },
146 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
147 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
148 },
149 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
150 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
151 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
152 },
153 }</pre>
154 </div>
155
156 <div class="method">
157 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
158 <pre>Deletes a single ManagedZone.
159
160 Args:
161 name: string, Required. Resource name of the form: `projects/*/locations/global/managedZones/*` (required)
162 x__xgafv: string, V1 error format.
163 Allowed values
164 1 - v1 error format
165 2 - v2 error format
166
167 Returns:
168 An object of the form:
169
170 { # This resource represents a long-running operation that is the result of a network API call.
171 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
172 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
173 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
174 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
175 {
176 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
177 },
178 ],
179 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
180 },
181 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
182 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
183 },
184 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
185 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
186 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
187 },
188 }</pre>
189 </div>
190
191 <div class="method">
192 <code class="details" id="get">get(name, x__xgafv=None)</code>
193 <pre>Gets details of a single ManagedZone.
194
195 Args:
196 name: string, Required. Resource name of the form: `projects/*/locations/global/managedZones/*` (required)
197 x__xgafv: string, V1 error format.
198 Allowed values
199 1 - v1 error format
200 2 - v2 error format
201
202 Returns:
203 An object of the form:
204
205 { # represents the Connector&#x27;s Managed Zone resource
206 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
207 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the resource.
208 &quot;dns&quot;: &quot;A String&quot;, # Required. DNS Name of the resource
209 &quot;labels&quot;: { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
210 &quot;a_key&quot;: &quot;A String&quot;,
211 },
212 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}
213 &quot;targetProject&quot;: &quot;A String&quot;, # Required. The name of the Target Project
214 &quot;targetVpc&quot;: &quot;A String&quot;, # Required. The name of the Target Project VPC Network
215 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
216 }</pre>
217 </div>
218
219 <div class="method">
220 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
221 <pre>List ManagedZones in a given project
222
223 Args:
224 parent: string, Required. Parent resource of the Managed Zone, of the form: `projects/*/locations/global` (required)
225 filter: string, Filter.
226 orderBy: string, Order by parameters.
227 pageSize: integer, Page size.
228 pageToken: string, Page token.
229 returnPartialSuccess: boolean, Optional. If true, allow partial responses for multi-regional Aggregated List requests.
230 x__xgafv: string, V1 error format.
231 Allowed values
232 1 - v1 error format
233 2 - v2 error format
234
235 Returns:
236 An object of the form:
237
238 { # Response message for ConnectorsService.ListManagedZones
239 &quot;managedZones&quot;: [ # ManagedZones.
240 { # represents the Connector&#x27;s Managed Zone resource
241 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
242 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the resource.
243 &quot;dns&quot;: &quot;A String&quot;, # Required. DNS Name of the resource
244 &quot;labels&quot;: { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
245 &quot;a_key&quot;: &quot;A String&quot;,
246 },
247 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}
248 &quot;targetProject&quot;: &quot;A String&quot;, # Required. The name of the Target Project
249 &quot;targetVpc&quot;: &quot;A String&quot;, # Required. The name of the Target Project VPC Network
250 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
251 },
252 ],
253 &quot;nextPageToken&quot;: &quot;A String&quot;, # Next page token.
254 &quot;unreachable&quot;: [ # Locations that could not be reached.
255 &quot;A String&quot;,
256 ],
257 }</pre>
258 </div>
259
260 <div class="method">
261 <code class="details" id="list_next">list_next()</code>
262 <pre>Retrieves the next page of results.
263
264 Args:
265 previous_request: The request for the previous page. (required)
266 previous_response: The response from the request for the previous page. (required)
267
268 Returns:
269 A request object that you can call &#x27;execute()&#x27; on to request the next
270 page. Returns None if there are no more items in the collection.
271 </pre>
272 </div>
273
274 <div class="method">
275 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
276 <pre>Updates the parameters of a single ManagedZone.
277
278 Args:
279 name: string, Output only. Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone} (required)
280 body: object, The request body.
281 The object takes the form of:
282
283 { # represents the Connector&#x27;s Managed Zone resource
284 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
285 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the resource.
286 &quot;dns&quot;: &quot;A String&quot;, # Required. DNS Name of the resource
287 &quot;labels&quot;: { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
288 &quot;a_key&quot;: &quot;A String&quot;,
289 },
290 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}
291 &quot;targetProject&quot;: &quot;A String&quot;, # Required. The name of the Target Project
292 &quot;targetVpc&quot;: &quot;A String&quot;, # Required. The name of the Target Project VPC Network
293 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
294 }
295
296 updateMask: string, Required. The list of fields to update. Fields are specified relative to the managedZone. A field will be overwritten if it is in the mask. You can modify only the fields listed below. To update the managedZone details: * `description` * `labels` * `target_project` * `target_network`
297 x__xgafv: string, V1 error format.
298 Allowed values
299 1 - v1 error format
300 2 - v2 error format
301
302 Returns:
303 An object of the form:
304
305 { # This resource represents a long-running operation that is the result of a network API call.
306 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
307 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
308 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
309 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
310 {
311 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
312 },
313 ],
314 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
315 },
316 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
317 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
318 },
319 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
320 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
321 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
322 },
323 }</pre>
324 </div>
325
326 </body></html>