Debian Codegraph @

docs/dyn/developerconnect_v1.projects.locations.accountConnectors.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="developerconnect_v1.html">Developer Connect API</a> . <a href="developerconnect_v1.projects.html">projects</a> . <a href="developerconnect_v1.projects.locations.html">locations</a> . <a href="developerconnect_v1.projects.locations.accountConnectors.html">accountConnectors</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="developerconnect_v1.projects.locations.accountConnectors.users.html">users()</a></code>
79 </p>
80 <p class="firstline">Returns the users 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, accountConnectorId=None, body=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a new AccountConnector in a given project and location.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, etag=None, force=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes a single AccountConnector.</p>
91 <p class="toc_element">
92 <code><a href="#fetchUserRepositories">fetchUserRepositories(accountConnector, pageSize=None, pageToken=None, repository=None, x__xgafv=None)</a></code></p>
93 <p class="firstline">FetchUserRepositories returns a list of UserRepos that are available for an account connector resource.</p>
94 <p class="toc_element">
95 <code><a href="#fetchUserRepositories_next">fetchUserRepositories_next()</a></code></p>
96 <p class="firstline">Retrieves the next page of results.</p>
97 <p class="toc_element">
98 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
99 <p class="firstline">Gets details of a single AccountConnector.</p>
100 <p class="toc_element">
101 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Lists AccountConnectors in a given project and location.</p>
103 <p class="toc_element">
104 <code><a href="#list_next">list_next()</a></code></p>
105 <p class="firstline">Retrieves the next page of results.</p>
106 <p class="toc_element">
107 <code><a href="#patch">patch(name, allowMissing=None, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
108 <p class="firstline">Updates the parameters of a single AccountConnector.</p>
109 <h3>Method Details</h3>
110 <div class="method">
111 <code class="details" id="close">close()</code>
112 <pre>Close httplib2 connections.</pre>
113 </div>
114
115 <div class="method">
116 <code class="details" id="create">create(parent, accountConnectorId=None, body=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
117 <pre>Creates a new AccountConnector in a given project and location.
118
119 Args:
120 parent: string, Required. Location resource name as the account_connector’s parent. (required)
121 body: object, The request body.
122 The object takes the form of:
123
124 { # AccountConnector encapsulates what a platform administrator needs to configure for users to connect to the service providers, which includes, among other fields, the OAuth client ID, client secret, and authorization and token endpoints.
125 &quot;annotations&quot;: { # Optional. Allows users to store small amounts of arbitrary data.
126 &quot;a_key&quot;: &quot;A String&quot;,
127 },
128 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the accountConnector was created.
129 &quot;customOauthConfig&quot;: { # Message for a customized OAuth config. # Custom OAuth config.
130 &quot;authUri&quot;: &quot;A String&quot;, # Required. Immutable. The OAuth2 authorization server URL.
131 &quot;clientId&quot;: &quot;A String&quot;, # Required. The client ID of the OAuth application.
132 &quot;clientSecret&quot;: &quot;A String&quot;, # Required. Input only. The client secret of the OAuth application. It will be provided as plain text, but encrypted and stored in developer connect. As INPUT_ONLY field, it will not be included in the output.
133 &quot;hostUri&quot;: &quot;A String&quot;, # Required. The host URI of the OAuth application.
134 &quot;pkceDisabled&quot;: True or False, # Optional. Disable PKCE for this OAuth config. PKCE is enabled by default.
135 &quot;scmProvider&quot;: &quot;A String&quot;, # Required. The type of the SCM provider.
136 &quot;scopes&quot;: [ # Required. The scopes to be requested during OAuth.
137 &quot;A String&quot;,
138 ],
139 &quot;serverVersion&quot;: &quot;A String&quot;, # Output only. SCM server version installed at the host URI.
140 &quot;serviceDirectoryConfig&quot;: { # ServiceDirectoryConfig represents Service Directory configuration for a connection. # Optional. Configuration for using Service Directory to connect to a private service.
141 &quot;service&quot;: &quot;A String&quot;, # Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
142 },
143 &quot;sslCaCertificate&quot;: &quot;A String&quot;, # Optional. SSL certificate to use for requests to a private service.
144 &quot;tokenUri&quot;: &quot;A String&quot;, # Required. Immutable. The OAuth2 token request URL.
145 },
146 &quot;etag&quot;: &quot;A String&quot;, # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
147 &quot;labels&quot;: { # Optional. Labels as key value pairs
148 &quot;a_key&quot;: &quot;A String&quot;,
149 },
150 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the accountConnector, in the format `projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`.
151 &quot;oauthStartUri&quot;: &quot;A String&quot;, # Output only. Start OAuth flow by clicking on this URL.
152 &quot;providerOauthConfig&quot;: { # ProviderOAuthConfig is the OAuth config for a provider. # Optional. Provider OAuth config.
153 &quot;scopes&quot;: [ # Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
154 &quot;A String&quot;,
155 ],
156 &quot;systemProviderId&quot;: &quot;A String&quot;, # Optional. Immutable. Developer Connect provided OAuth.
157 },
158 &quot;proxyConfig&quot;: { # The proxy configuration. # Optional. Configuration for the http and git proxy features.
159 &quot;enabled&quot;: True or False, # Optional. Setting this to true allows the git and http proxies to perform actions on behalf of the user configured under the account connector.
160 &quot;httpProxyBaseUri&quot;: &quot;A String&quot;, # Output only. The base URI for the HTTP proxy endpoint. Has the format `https://{generatedID}-a-h-{shortRegion}.developerconnect.dev` Populated only when `enabled` is set to `true`. This endpoint is used by other Google services that integrate with Developer Connect.
161 },
162 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for the Account Connector.
163 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the accountConnector was updated.
164 }
165
166 accountConnectorId: string, Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector&#x27;s resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.
167 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
168 validateOnly: boolean, Optional. If set, validate the request, but do not actually post it.
169 x__xgafv: string, V1 error format.
170 Allowed values
171 1 - v1 error format
172 2 - v2 error format
173
174 Returns:
175 An object of the form:
176
177 { # This resource represents a long-running operation that is the result of a network API call.
178 &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.
179 &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.
180 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
181 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
182 {
183 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
184 },
185 ],
186 &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.
187 },
188 &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.
189 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
190 },
191 &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}`.
192 &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`.
193 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
194 },
195 }</pre>
196 </div>
197
198 <div class="method">
199 <code class="details" id="delete">delete(name, etag=None, force=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
200 <pre>Deletes a single AccountConnector.
201
202 Args:
203 name: string, Required. Name of the resource (required)
204 etag: string, Optional. The current etag of the AccountConnectorn. If an etag is provided and does not match the current etag of the AccountConnector, deletion will be blocked and an ABORTED error will be returned.
205 force: boolean, Optional. If set to true, any Users from this AccountConnector will also be deleted. (Otherwise, the request will only work if the AccountConnector has no Users.)
206 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
207 validateOnly: boolean, Optional. If set, validate the request, but do not actually post it.
208 x__xgafv: string, V1 error format.
209 Allowed values
210 1 - v1 error format
211 2 - v2 error format
212
213 Returns:
214 An object of the form:
215
216 { # This resource represents a long-running operation that is the result of a network API call.
217 &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.
218 &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.
219 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
220 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
221 {
222 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
223 },
224 ],
225 &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.
226 },
227 &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.
228 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
229 },
230 &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}`.
231 &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`.
232 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
233 },
234 }</pre>
235 </div>
236
237 <div class="method">
238 <code class="details" id="fetchUserRepositories">fetchUserRepositories(accountConnector, pageSize=None, pageToken=None, repository=None, x__xgafv=None)</code>
239 <pre>FetchUserRepositories returns a list of UserRepos that are available for an account connector resource.
240
241 Args:
242 accountConnector: string, Required. The name of the Account Connector resource in the format: `projects/*/locations/*/accountConnectors/*`. (required)
243 pageSize: integer, Optional. Number of results to return in the list. Defaults to 20.
244 pageToken: string, Optional. Page start.
245 repository: string, Optional. The name of the repository. When specified, only the UserRepository with this name will be returned if the repository is accessible under this Account Connector for the calling user.
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 { # Response message for FetchUserRepositories.
255 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
256 &quot;userRepos&quot;: [ # The repositories that the user can access with this account connector.
257 { # A user repository that can be linked to the account connector. Consists of the repo name and the git proxy URL to forward requests to this repo.
258 &quot;cloneUri&quot;: &quot;A String&quot;, # Output only. The git clone URL of the repo. For example: https://github.com/myuser/myrepo.git
259 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The user friendly repo name (e.g., myuser/myrepo)
260 &quot;gitProxyUri&quot;: &quot;A String&quot;, # Output only. The Git proxy URL for this repo. For example: https://us-west1-git.developerconnect.dev/a/my-proj/my-ac/myuser/myrepo.git. Populated only when `proxy_config.enabled` is set to `true` in the Account Connector. This URL is used by other Google services that integrate with Developer Connect.
261 },
262 ],
263 }</pre>
264 </div>
265
266 <div class="method">
267 <code class="details" id="fetchUserRepositories_next">fetchUserRepositories_next()</code>
268 <pre>Retrieves the next page of results.
269
270 Args:
271 previous_request: The request for the previous page. (required)
272 previous_response: The response from the request for the previous page. (required)
273
274 Returns:
275 A request object that you can call &#x27;execute()&#x27; on to request the next
276 page. Returns None if there are no more items in the collection.
277 </pre>
278 </div>
279
280 <div class="method">
281 <code class="details" id="get">get(name, x__xgafv=None)</code>
282 <pre>Gets details of a single AccountConnector.
283
284 Args:
285 name: string, Required. Name of the resource (required)
286 x__xgafv: string, V1 error format.
287 Allowed values
288 1 - v1 error format
289 2 - v2 error format
290
291 Returns:
292 An object of the form:
293
294 { # AccountConnector encapsulates what a platform administrator needs to configure for users to connect to the service providers, which includes, among other fields, the OAuth client ID, client secret, and authorization and token endpoints.
295 &quot;annotations&quot;: { # Optional. Allows users to store small amounts of arbitrary data.
296 &quot;a_key&quot;: &quot;A String&quot;,
297 },
298 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the accountConnector was created.
299 &quot;customOauthConfig&quot;: { # Message for a customized OAuth config. # Custom OAuth config.
300 &quot;authUri&quot;: &quot;A String&quot;, # Required. Immutable. The OAuth2 authorization server URL.
301 &quot;clientId&quot;: &quot;A String&quot;, # Required. The client ID of the OAuth application.
302 &quot;clientSecret&quot;: &quot;A String&quot;, # Required. Input only. The client secret of the OAuth application. It will be provided as plain text, but encrypted and stored in developer connect. As INPUT_ONLY field, it will not be included in the output.
303 &quot;hostUri&quot;: &quot;A String&quot;, # Required. The host URI of the OAuth application.
304 &quot;pkceDisabled&quot;: True or False, # Optional. Disable PKCE for this OAuth config. PKCE is enabled by default.
305 &quot;scmProvider&quot;: &quot;A String&quot;, # Required. The type of the SCM provider.
306 &quot;scopes&quot;: [ # Required. The scopes to be requested during OAuth.
307 &quot;A String&quot;,
308 ],
309 &quot;serverVersion&quot;: &quot;A String&quot;, # Output only. SCM server version installed at the host URI.
310 &quot;serviceDirectoryConfig&quot;: { # ServiceDirectoryConfig represents Service Directory configuration for a connection. # Optional. Configuration for using Service Directory to connect to a private service.
311 &quot;service&quot;: &quot;A String&quot;, # Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
312 },
313 &quot;sslCaCertificate&quot;: &quot;A String&quot;, # Optional. SSL certificate to use for requests to a private service.
314 &quot;tokenUri&quot;: &quot;A String&quot;, # Required. Immutable. The OAuth2 token request URL.
315 },
316 &quot;etag&quot;: &quot;A String&quot;, # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
317 &quot;labels&quot;: { # Optional. Labels as key value pairs
318 &quot;a_key&quot;: &quot;A String&quot;,
319 },
320 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the accountConnector, in the format `projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`.
321 &quot;oauthStartUri&quot;: &quot;A String&quot;, # Output only. Start OAuth flow by clicking on this URL.
322 &quot;providerOauthConfig&quot;: { # ProviderOAuthConfig is the OAuth config for a provider. # Optional. Provider OAuth config.
323 &quot;scopes&quot;: [ # Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
324 &quot;A String&quot;,
325 ],
326 &quot;systemProviderId&quot;: &quot;A String&quot;, # Optional. Immutable. Developer Connect provided OAuth.
327 },
328 &quot;proxyConfig&quot;: { # The proxy configuration. # Optional. Configuration for the http and git proxy features.
329 &quot;enabled&quot;: True or False, # Optional. Setting this to true allows the git and http proxies to perform actions on behalf of the user configured under the account connector.
330 &quot;httpProxyBaseUri&quot;: &quot;A String&quot;, # Output only. The base URI for the HTTP proxy endpoint. Has the format `https://{generatedID}-a-h-{shortRegion}.developerconnect.dev` Populated only when `enabled` is set to `true`. This endpoint is used by other Google services that integrate with Developer Connect.
331 },
332 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for the Account Connector.
333 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the accountConnector was updated.
334 }</pre>
335 </div>
336
337 <div class="method">
338 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
339 <pre>Lists AccountConnectors in a given project and location.
340
341 Args:
342 parent: string, Required. Parent value for ListAccountConnectorsRequest (required)
343 filter: string, Optional. Filtering results
344 orderBy: string, Optional. Hint for how to order the results
345 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
346 pageToken: string, Optional. A token identifying a page of results the server should return.
347 x__xgafv: string, V1 error format.
348 Allowed values
349 1 - v1 error format
350 2 - v2 error format
351
352 Returns:
353 An object of the form:
354
355 { # Message for response to listing AccountConnectors
356 &quot;accountConnectors&quot;: [ # The list of AccountConnectors
357 { # AccountConnector encapsulates what a platform administrator needs to configure for users to connect to the service providers, which includes, among other fields, the OAuth client ID, client secret, and authorization and token endpoints.
358 &quot;annotations&quot;: { # Optional. Allows users to store small amounts of arbitrary data.
359 &quot;a_key&quot;: &quot;A String&quot;,
360 },
361 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the accountConnector was created.
362 &quot;customOauthConfig&quot;: { # Message for a customized OAuth config. # Custom OAuth config.
363 &quot;authUri&quot;: &quot;A String&quot;, # Required. Immutable. The OAuth2 authorization server URL.
364 &quot;clientId&quot;: &quot;A String&quot;, # Required. The client ID of the OAuth application.
365 &quot;clientSecret&quot;: &quot;A String&quot;, # Required. Input only. The client secret of the OAuth application. It will be provided as plain text, but encrypted and stored in developer connect. As INPUT_ONLY field, it will not be included in the output.
366 &quot;hostUri&quot;: &quot;A String&quot;, # Required. The host URI of the OAuth application.
367 &quot;pkceDisabled&quot;: True or False, # Optional. Disable PKCE for this OAuth config. PKCE is enabled by default.
368 &quot;scmProvider&quot;: &quot;A String&quot;, # Required. The type of the SCM provider.
369 &quot;scopes&quot;: [ # Required. The scopes to be requested during OAuth.
370 &quot;A String&quot;,
371 ],
372 &quot;serverVersion&quot;: &quot;A String&quot;, # Output only. SCM server version installed at the host URI.
373 &quot;serviceDirectoryConfig&quot;: { # ServiceDirectoryConfig represents Service Directory configuration for a connection. # Optional. Configuration for using Service Directory to connect to a private service.
374 &quot;service&quot;: &quot;A String&quot;, # Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
375 },
376 &quot;sslCaCertificate&quot;: &quot;A String&quot;, # Optional. SSL certificate to use for requests to a private service.
377 &quot;tokenUri&quot;: &quot;A String&quot;, # Required. Immutable. The OAuth2 token request URL.
378 },
379 &quot;etag&quot;: &quot;A String&quot;, # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
380 &quot;labels&quot;: { # Optional. Labels as key value pairs
381 &quot;a_key&quot;: &quot;A String&quot;,
382 },
383 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the accountConnector, in the format `projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`.
384 &quot;oauthStartUri&quot;: &quot;A String&quot;, # Output only. Start OAuth flow by clicking on this URL.
385 &quot;providerOauthConfig&quot;: { # ProviderOAuthConfig is the OAuth config for a provider. # Optional. Provider OAuth config.
386 &quot;scopes&quot;: [ # Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
387 &quot;A String&quot;,
388 ],
389 &quot;systemProviderId&quot;: &quot;A String&quot;, # Optional. Immutable. Developer Connect provided OAuth.
390 },
391 &quot;proxyConfig&quot;: { # The proxy configuration. # Optional. Configuration for the http and git proxy features.
392 &quot;enabled&quot;: True or False, # Optional. Setting this to true allows the git and http proxies to perform actions on behalf of the user configured under the account connector.
393 &quot;httpProxyBaseUri&quot;: &quot;A String&quot;, # Output only. The base URI for the HTTP proxy endpoint. Has the format `https://{generatedID}-a-h-{shortRegion}.developerconnect.dev` Populated only when `enabled` is set to `true`. This endpoint is used by other Google services that integrate with Developer Connect.
394 },
395 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for the Account Connector.
396 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the accountConnector was updated.
397 },
398 ],
399 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
400 &quot;unreachable&quot;: [ # Locations that could not be reached.
401 &quot;A String&quot;,
402 ],
403 }</pre>
404 </div>
405
406 <div class="method">
407 <code class="details" id="list_next">list_next()</code>
408 <pre>Retrieves the next page of results.
409
410 Args:
411 previous_request: The request for the previous page. (required)
412 previous_response: The response from the request for the previous page. (required)
413
414 Returns:
415 A request object that you can call &#x27;execute()&#x27; on to request the next
416 page. Returns None if there are no more items in the collection.
417 </pre>
418 </div>
419
420 <div class="method">
421 <code class="details" id="patch">patch(name, allowMissing=None, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
422 <pre>Updates the parameters of a single AccountConnector.
423
424 Args:
425 name: string, Identifier. The resource name of the accountConnector, in the format `projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`. (required)
426 body: object, The request body.
427 The object takes the form of:
428
429 { # AccountConnector encapsulates what a platform administrator needs to configure for users to connect to the service providers, which includes, among other fields, the OAuth client ID, client secret, and authorization and token endpoints.
430 &quot;annotations&quot;: { # Optional. Allows users to store small amounts of arbitrary data.
431 &quot;a_key&quot;: &quot;A String&quot;,
432 },
433 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the accountConnector was created.
434 &quot;customOauthConfig&quot;: { # Message for a customized OAuth config. # Custom OAuth config.
435 &quot;authUri&quot;: &quot;A String&quot;, # Required. Immutable. The OAuth2 authorization server URL.
436 &quot;clientId&quot;: &quot;A String&quot;, # Required. The client ID of the OAuth application.
437 &quot;clientSecret&quot;: &quot;A String&quot;, # Required. Input only. The client secret of the OAuth application. It will be provided as plain text, but encrypted and stored in developer connect. As INPUT_ONLY field, it will not be included in the output.
438 &quot;hostUri&quot;: &quot;A String&quot;, # Required. The host URI of the OAuth application.
439 &quot;pkceDisabled&quot;: True or False, # Optional. Disable PKCE for this OAuth config. PKCE is enabled by default.
440 &quot;scmProvider&quot;: &quot;A String&quot;, # Required. The type of the SCM provider.
441 &quot;scopes&quot;: [ # Required. The scopes to be requested during OAuth.
442 &quot;A String&quot;,
443 ],
444 &quot;serverVersion&quot;: &quot;A String&quot;, # Output only. SCM server version installed at the host URI.
445 &quot;serviceDirectoryConfig&quot;: { # ServiceDirectoryConfig represents Service Directory configuration for a connection. # Optional. Configuration for using Service Directory to connect to a private service.
446 &quot;service&quot;: &quot;A String&quot;, # Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
447 },
448 &quot;sslCaCertificate&quot;: &quot;A String&quot;, # Optional. SSL certificate to use for requests to a private service.
449 &quot;tokenUri&quot;: &quot;A String&quot;, # Required. Immutable. The OAuth2 token request URL.
450 },
451 &quot;etag&quot;: &quot;A String&quot;, # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
452 &quot;labels&quot;: { # Optional. Labels as key value pairs
453 &quot;a_key&quot;: &quot;A String&quot;,
454 },
455 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the accountConnector, in the format `projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`.
456 &quot;oauthStartUri&quot;: &quot;A String&quot;, # Output only. Start OAuth flow by clicking on this URL.
457 &quot;providerOauthConfig&quot;: { # ProviderOAuthConfig is the OAuth config for a provider. # Optional. Provider OAuth config.
458 &quot;scopes&quot;: [ # Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
459 &quot;A String&quot;,
460 ],
461 &quot;systemProviderId&quot;: &quot;A String&quot;, # Optional. Immutable. Developer Connect provided OAuth.
462 },
463 &quot;proxyConfig&quot;: { # The proxy configuration. # Optional. Configuration for the http and git proxy features.
464 &quot;enabled&quot;: True or False, # Optional. Setting this to true allows the git and http proxies to perform actions on behalf of the user configured under the account connector.
465 &quot;httpProxyBaseUri&quot;: &quot;A String&quot;, # Output only. The base URI for the HTTP proxy endpoint. Has the format `https://{generatedID}-a-h-{shortRegion}.developerconnect.dev` Populated only when `enabled` is set to `true`. This endpoint is used by other Google services that integrate with Developer Connect.
466 },
467 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for the Account Connector.
468 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the accountConnector was updated.
469 }
470
471 allowMissing: boolean, Optional. If set to true, and the accountConnector is not found a new accountConnector will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input accountConnector has all the necessary
472 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
473 updateMask: string, Optional. The list of fields to be updated.
474 validateOnly: boolean, Optional. If set, validate the request, but do not actually post it.
475 x__xgafv: string, V1 error format.
476 Allowed values
477 1 - v1 error format
478 2 - v2 error format
479
480 Returns:
481 An object of the form:
482
483 { # This resource represents a long-running operation that is the result of a network API call.
484 &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.
485 &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.
486 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
487 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
488 {
489 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
490 },
491 ],
492 &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.
493 },
494 &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.
495 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
496 },
497 &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}`.
498 &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`.
499 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
500 },
501 }</pre>
502 </div>
503
504 </body></html>