Debian Codegraph @

docs/dyn/connectors_v1.projects.locations.global_.customConnectors.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_.customConnectors.html">customConnectors</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="connectors_v1.projects.locations.global_.customConnectors.customConnectorVersions.html">customConnectorVersions()</a></code>
79 </p>
80 <p class="firstline">Returns the customConnectorVersions Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, customConnectorId=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a new CustomConnector in a given project and location.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, force=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes a single CustomConnector.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Gets details of a single CustomConnector.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">List CustomConnectorVersions in a given project</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <p class="toc_element">
101 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Updates the parameters of a CustomConnector.</p>
103 <h3>Method Details</h3>
104 <div class="method">
105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107 </div>
108
109 <div class="method">
110 <code class="details" id="create">create(parent, body=None, customConnectorId=None, x__xgafv=None)</code>
111 <pre>Creates a new CustomConnector in a given project and location.
112
113 Args:
114 parent: string, Required. Parent resource of the CreateCustomConnector, of the form: `projects/{project}/locations/*` (required)
115 body: object, The request body.
116 The object takes the form of:
117
118 { # CustomConnector represents the custom connector defined by the customer as part of byoc.
119 &quot;activeConnectorVersions&quot;: [ # Output only. Active connector versions.
120 &quot;A String&quot;,
121 ],
122 &quot;allConnectorVersions&quot;: [ # Output only. All connector versions.
123 &quot;A String&quot;,
124 ],
125 &quot;allMarketplaceVersions&quot;: [ # Output only. All marketplace versions.
126 &quot;A String&quot;,
127 ],
128 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
129 &quot;customConnectorType&quot;: &quot;A String&quot;, # Required. Type of the custom connector.
130 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the resource.
131 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name.
132 &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
133 &quot;a_key&quot;: &quot;A String&quot;,
134 },
135 &quot;logo&quot;: &quot;A String&quot;, # Optional. Logo of the resource.
136 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the CustomConnector. Format: projects/{project}/locations/{location}/customConnectors/{connector}
137 &quot;publishedMarketplaceVersions&quot;: [ # Output only. Published marketplace versions.
138 &quot;A String&quot;,
139 ],
140 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
141 }
142
143 customConnectorId: string, Required. Identifier to assign to the CreateCustomConnector. Must be unique within scope of the parent resource.
144 x__xgafv: string, V1 error format.
145 Allowed values
146 1 - v1 error format
147 2 - v2 error format
148
149 Returns:
150 An object of the form:
151
152 { # This resource represents a long-running operation that is the result of a network API call.
153 &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.
154 &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.
155 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
156 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
157 {
158 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
159 },
160 ],
161 &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.
162 },
163 &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.
164 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
165 },
166 &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}`.
167 &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`.
168 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
169 },
170 }</pre>
171 </div>
172
173 <div class="method">
174 <code class="details" id="delete">delete(name, force=None, x__xgafv=None)</code>
175 <pre>Deletes a single CustomConnector.
176
177 Args:
178 name: string, Required. Resource name of the form: `projects/{project}/locations/{location}/customConnectors/{connector}` (required)
179 force: boolean, Optional. If set to true, any customConnectorVersion which is a child resource will also be deleted. https://aip.dev/135#cascading-delete
180 x__xgafv: string, V1 error format.
181 Allowed values
182 1 - v1 error format
183 2 - v2 error format
184
185 Returns:
186 An object of the form:
187
188 { # This resource represents a long-running operation that is the result of a network API call.
189 &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.
190 &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.
191 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
192 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
193 {
194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
195 },
196 ],
197 &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.
198 },
199 &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.
200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
201 },
202 &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}`.
203 &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`.
204 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
205 },
206 }</pre>
207 </div>
208
209 <div class="method">
210 <code class="details" id="get">get(name, x__xgafv=None)</code>
211 <pre>Gets details of a single CustomConnector.
212
213 Args:
214 name: string, Required. Resource name of the form: `projects/*/locations/*/customConnectors/*` (required)
215 x__xgafv: string, V1 error format.
216 Allowed values
217 1 - v1 error format
218 2 - v2 error format
219
220 Returns:
221 An object of the form:
222
223 { # CustomConnector represents the custom connector defined by the customer as part of byoc.
224 &quot;activeConnectorVersions&quot;: [ # Output only. Active connector versions.
225 &quot;A String&quot;,
226 ],
227 &quot;allConnectorVersions&quot;: [ # Output only. All connector versions.
228 &quot;A String&quot;,
229 ],
230 &quot;allMarketplaceVersions&quot;: [ # Output only. All marketplace versions.
231 &quot;A String&quot;,
232 ],
233 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
234 &quot;customConnectorType&quot;: &quot;A String&quot;, # Required. Type of the custom connector.
235 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the resource.
236 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name.
237 &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
238 &quot;a_key&quot;: &quot;A String&quot;,
239 },
240 &quot;logo&quot;: &quot;A String&quot;, # Optional. Logo of the resource.
241 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the CustomConnector. Format: projects/{project}/locations/{location}/customConnectors/{connector}
242 &quot;publishedMarketplaceVersions&quot;: [ # Output only. Published marketplace versions.
243 &quot;A String&quot;,
244 ],
245 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
246 }</pre>
247 </div>
248
249 <div class="method">
250 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
251 <pre>List CustomConnectorVersions in a given project
252
253 Args:
254 parent: string, Required. Parent resource of the custom connectors, of the form: `projects/*/locations/*` Only global location is supported for CustomConnector resource. (required)
255 filter: string, Filter string.
256 pageSize: integer, Page size.
257 pageToken: string, Page token.
258 x__xgafv: string, V1 error format.
259 Allowed values
260 1 - v1 error format
261 2 - v2 error format
262
263 Returns:
264 An object of the form:
265
266 { # Response message for Connectors.ListCustomConnectors.
267 &quot;customConnectors&quot;: [ # A list of customConnectors.
268 { # CustomConnector represents the custom connector defined by the customer as part of byoc.
269 &quot;activeConnectorVersions&quot;: [ # Output only. Active connector versions.
270 &quot;A String&quot;,
271 ],
272 &quot;allConnectorVersions&quot;: [ # Output only. All connector versions.
273 &quot;A String&quot;,
274 ],
275 &quot;allMarketplaceVersions&quot;: [ # Output only. All marketplace versions.
276 &quot;A String&quot;,
277 ],
278 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
279 &quot;customConnectorType&quot;: &quot;A String&quot;, # Required. Type of the custom connector.
280 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the resource.
281 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name.
282 &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
283 &quot;a_key&quot;: &quot;A String&quot;,
284 },
285 &quot;logo&quot;: &quot;A String&quot;, # Optional. Logo of the resource.
286 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the CustomConnector. Format: projects/{project}/locations/{location}/customConnectors/{connector}
287 &quot;publishedMarketplaceVersions&quot;: [ # Output only. Published marketplace versions.
288 &quot;A String&quot;,
289 ],
290 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
291 },
292 ],
293 &quot;nextPageToken&quot;: &quot;A String&quot;, # Next page token.
294 &quot;unreachable&quot;: [ # Locations that could not be reached.
295 &quot;A String&quot;,
296 ],
297 }</pre>
298 </div>
299
300 <div class="method">
301 <code class="details" id="list_next">list_next()</code>
302 <pre>Retrieves the next page of results.
303
304 Args:
305 previous_request: The request for the previous page. (required)
306 previous_response: The response from the request for the previous page. (required)
307
308 Returns:
309 A request object that you can call &#x27;execute()&#x27; on to request the next
310 page. Returns None if there are no more items in the collection.
311 </pre>
312 </div>
313
314 <div class="method">
315 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
316 <pre>Updates the parameters of a CustomConnector.
317
318 Args:
319 name: string, Identifier. Resource name of the CustomConnector. Format: projects/{project}/locations/{location}/customConnectors/{connector} (required)
320 body: object, The request body.
321 The object takes the form of:
322
323 { # CustomConnector represents the custom connector defined by the customer as part of byoc.
324 &quot;activeConnectorVersions&quot;: [ # Output only. Active connector versions.
325 &quot;A String&quot;,
326 ],
327 &quot;allConnectorVersions&quot;: [ # Output only. All connector versions.
328 &quot;A String&quot;,
329 ],
330 &quot;allMarketplaceVersions&quot;: [ # Output only. All marketplace versions.
331 &quot;A String&quot;,
332 ],
333 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
334 &quot;customConnectorType&quot;: &quot;A String&quot;, # Required. Type of the custom connector.
335 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the resource.
336 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name.
337 &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
338 &quot;a_key&quot;: &quot;A String&quot;,
339 },
340 &quot;logo&quot;: &quot;A String&quot;, # Optional. Logo of the resource.
341 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the CustomConnector. Format: projects/{project}/locations/{location}/customConnectors/{connector}
342 &quot;publishedMarketplaceVersions&quot;: [ # Output only. Published marketplace versions.
343 &quot;A String&quot;,
344 ],
345 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
346 }
347
348 updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the Connector resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. Set the mask as &quot;*&quot; for full replacement, which means all fields will be overwritten.
349 x__xgafv: string, V1 error format.
350 Allowed values
351 1 - v1 error format
352 2 - v2 error format
353
354 Returns:
355 An object of the form:
356
357 { # This resource represents a long-running operation that is the result of a network API call.
358 &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.
359 &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.
360 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
361 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
362 {
363 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
364 },
365 ],
366 &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.
367 },
368 &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.
369 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
370 },
371 &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}`.
372 &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`.
373 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
374 },
375 }</pre>
376 </div>
377
378 </body></html>