Debian Codegraph @

docs/dyn/connectors_v1.projects.locations.customConnectors.customConnectorVersions.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.customConnectors.html">customConnectors</a> . <a href="connectors_v1.projects.locations.customConnectors.customConnectorVersions.html">customConnectorVersions</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="#delete">delete(name, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes a single CustomConnectorVersion.</p>
83 <p class="toc_element">
84 <code><a href="#deprecate">deprecate(name, body=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deprecates a single CustomConnectorVersion.</p>
86 <p class="toc_element">
87 <code><a href="#publish">publish(name, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Publish request for the CustomConnectorVersion. Once approved, the CustomConnectorVersion will be published as PartnerConnector.</p>
89 <p class="toc_element">
90 <code><a href="#withdraw">withdraw(name, body=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Withdraw the publish request for the CustomConnectorVersion. This can only be used before the CustomConnectorVersion is published.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
100 <pre>Deletes a single CustomConnectorVersion.
101
102 Args:
103 name: string, Required. Resource name of the form: `projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}` (required)
104 x__xgafv: string, V1 error format.
105 Allowed values
106 1 - v1 error format
107 2 - v2 error format
108
109 Returns:
110 An object of the form:
111
112 { # This resource represents a long-running operation that is the result of a network API call.
113 &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.
114 &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.
115 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
116 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
117 {
118 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
119 },
120 ],
121 &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.
122 },
123 &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.
124 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
125 },
126 &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}`.
127 &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`.
128 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
129 },
130 }</pre>
131 </div>
132
133 <div class="method">
134 <code class="details" id="deprecate">deprecate(name, body=None, x__xgafv=None)</code>
135 <pre>Deprecates a single CustomConnectorVersion.
136
137 Args:
138 name: string, Required. Resource name of the form: `projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}` (required)
139 body: object, The request body.
140 The object takes the form of:
141
142 { # Request message for ConnectorsService.DeprecateCustomConnectorVersion
143 }
144
145 x__xgafv: string, V1 error format.
146 Allowed values
147 1 - v1 error format
148 2 - v2 error format
149
150 Returns:
151 An object of the form:
152
153 { # This resource represents a long-running operation that is the result of a network API call.
154 &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.
155 &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.
156 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
157 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
158 {
159 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
160 },
161 ],
162 &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.
163 },
164 &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.
165 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
166 },
167 &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}`.
168 &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`.
169 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
170 },
171 }</pre>
172 </div>
173
174 <div class="method">
175 <code class="details" id="publish">publish(name, body=None, x__xgafv=None)</code>
176 <pre>Publish request for the CustomConnectorVersion. Once approved, the CustomConnectorVersion will be published as PartnerConnector.
177
178 Args:
179 name: string, Required. Resource name of the form: `projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}` (required)
180 body: object, The request body.
181 The object takes the form of:
182
183 { # Request message for ConnectorsService.PublishCustomConnectorVersion
184 &quot;partnerMetadata&quot;: { # Partner metadata details. This will be populated when publishing the custom connector as a partner connector version. On publishing, parntner connector version will be created using the fields in PartnerMetadata. # Required. Partner metadata details for validating and publishing the custom connector as a partner connector version.
185 &quot;acceptGcpTos&quot;: True or False, # Required. Whether the user has accepted the Google Cloud Platform Terms of Service (https://cloud.google.com/terms/) and the Google Cloud Marketplace Terms of Service (https://cloud.google.com/terms/marketplace/launcher?hl=en).
186 &quot;additionalComments&quot;: &quot;A String&quot;, # Optional. Additional comments for the submission.
187 &quot;confirmPartnerRequirements&quot;: True or False, # Required. Confirmation that connector meets all applicable requirements mentioned in the Partner Connector Publishing requirements list and Partner onboardiong requirements list (https://cloud.google.com/marketplace/docs/partners/get-started#requirements).
188 &quot;demoUri&quot;: &quot;A String&quot;, # Required. Public URL for the demo video.
189 &quot;hasDynamicSpecUri&quot;: True or False, # Output only. Has dynamic open api spec uri.
190 &quot;integrationTemplates&quot;: &quot;A String&quot;, # Required. Integration example templates for the custom connector.
191 &quot;localSpecPath&quot;: &quot;A String&quot;, # Output only. Local spec path. Required if has_dynamic_spec_uri is true.
192 &quot;marketplaceProduct&quot;: &quot;A String&quot;, # Optional. Marketplace product name.
193 &quot;marketplaceProductId&quot;: &quot;A String&quot;, # Required. Marketplace product ID.
194 &quot;marketplaceProductProjectId&quot;: &quot;A String&quot;, # Optional. Marketplace product project ID.
195 &quot;marketplaceProductUri&quot;: &quot;A String&quot;, # Optional. Marketplace product URL.
196 &quot;partner&quot;: &quot;A String&quot;, # Required. Partner name.
197 &quot;partnerConnectorDisplayName&quot;: &quot;A String&quot;, # Required. Partner connector display name.
198 &quot;publishRequestTime&quot;: &quot;A String&quot;, # Output only. Publish request time.
199 &quot;targetApplication&quot;: &quot;A String&quot;, # Required. Target application for which partner connector is built.
200 &quot;targetCustomerSegment&quot;: &quot;A String&quot;, # Required. Target customer segment for the partner connector.
201 &quot;useCases&quot;: &quot;A String&quot;, # Required. Details about partner connector use cases.
202 },
203 }
204
205 x__xgafv: string, V1 error format.
206 Allowed values
207 1 - v1 error format
208 2 - v2 error format
209
210 Returns:
211 An object of the form:
212
213 { # This resource represents a long-running operation that is the result of a network API call.
214 &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.
215 &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.
216 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
217 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
218 {
219 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
220 },
221 ],
222 &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.
223 },
224 &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.
225 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
226 },
227 &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}`.
228 &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`.
229 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
230 },
231 }</pre>
232 </div>
233
234 <div class="method">
235 <code class="details" id="withdraw">withdraw(name, body=None, x__xgafv=None)</code>
236 <pre>Withdraw the publish request for the CustomConnectorVersion. This can only be used before the CustomConnectorVersion is published.
237
238 Args:
239 name: string, Required. Resource name of the form: `projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}` (required)
240 body: object, The request body.
241 The object takes the form of:
242
243 { # Request message for ConnectorsService.WithdrawCustomConnectorVersion
244 }
245
246 x__xgafv: string, V1 error format.
247 Allowed values
248 1 - v1 error format
249 2 - v2 error format
250
251 Returns:
252 An object of the form:
253
254 { # This resource represents a long-running operation that is the result of a network API call.
255 &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.
256 &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.
257 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
258 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
259 {
260 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
261 },
262 ],
263 &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.
264 },
265 &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.
266 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
267 },
268 &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}`.
269 &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`.
270 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
271 },
272 }</pre>
273 </div>
274
275 </body></html>