Debian Codegraph @

docs/dyn/connectors_v1.projects.locations.connections.endUserAuthentications.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.connections.html">connections</a> . <a href="connectors_v1.projects.locations.connections.endUserAuthentications.html">endUserAuthentications</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, endUserAuthenticationId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new EndUserAuthentication in a given project,location and connection.</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 EndUserAuthentication.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of a single EndUserAuthentication.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">List EndUserAuthentications in a given project,location and connection.</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 EndUserAuthentication.</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, endUserAuthenticationId=None, x__xgafv=None)</code>
106 <pre>Creates a new EndUserAuthentication in a given project,location and connection.
107
108 Args:
109 parent: string, Required. Parent resource of the EndUserAuthentication, of the form: `projects/*/locations/*/connections/*` (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # AuthConfig defines details of a authentication type.
114 &quot;configVariables&quot;: [ # Optional. Config variables for the EndUserAuthentication.
115 { # EndUserAuthenticationConfigVariable represents a configuration variable present in a EndUserAuthentication.
116 &quot;boolValue&quot;: True or False, # Value is a bool.
117 &quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
118 &quot;key&quot;: &quot;A String&quot;, # Required. Key of the config variable.
119 &quot;secretValue&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Value is a secret
120 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
121 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
122 },
123 &quot;stringValue&quot;: &quot;A String&quot;, # Value is a string.
124 },
125 ],
126 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
127 &quot;destinationConfigs&quot;: [ # Optional. Destination configs for the EndUserAuthentication.
128 { # Define the Connectors target endpoint.
129 &quot;destinations&quot;: [ # Optional. The destinations for the key.
130 {
131 &quot;host&quot;: &quot;A String&quot;, # For publicly routable host.
132 &quot;port&quot;: 42, # Optional. The port is the target port number that is accepted by the destination.
133 &quot;serviceAttachment&quot;: &quot;A String&quot;, # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/*
134 },
135 ],
136 &quot;key&quot;: &quot;A String&quot;, # Optional. The key is the destination identifier that is supported by the Connector.
137 },
138 ],
139 &quot;endUserAuthenticationConfig&quot;: { # EndUserAuthenticationConfig defines details of a authentication configuration for EUC # Optional. The EndUserAuthenticationConfig for the EndUserAuthentication.
140 &quot;additionalVariables&quot;: [ # Optional. List containing additional auth configs.
141 { # EndUserAuthenticationConfigVariable represents a configuration variable present in a EndUserAuthentication.
142 &quot;boolValue&quot;: True or False, # Value is a bool.
143 &quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
144 &quot;key&quot;: &quot;A String&quot;, # Required. Key of the config variable.
145 &quot;secretValue&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Value is a secret
146 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
147 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
148 },
149 &quot;stringValue&quot;: &quot;A String&quot;, # Value is a string.
150 },
151 ],
152 &quot;authKey&quot;: &quot;A String&quot;, # Identifier key for auth config
153 &quot;authType&quot;: &quot;A String&quot;, # The type of authentication configured.
154 &quot;oauth2AuthCodeFlow&quot;: { # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details. # Oauth2AuthCodeFlow.
155 &quot;authCode&quot;: &quot;A String&quot;, # Optional. Authorization code to be exchanged for access and refresh tokens.
156 &quot;authUri&quot;: &quot;A String&quot;, # Optional. Auth URL for Authorization Code Flow
157 &quot;clientId&quot;: &quot;A String&quot;, # Optional. Client ID for user-provided OAuth app.
158 &quot;clientSecret&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Client secret for user-provided OAuth app.
159 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
160 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
161 },
162 &quot;enablePkce&quot;: True or False, # Optional. Whether to enable PKCE when the user performs the auth code flow.
163 &quot;oauthTokenData&quot;: { # pass only at create and not update using updateMask Auth Code Data # Optional. Auth Code Data
164 &quot;accessToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Access token for the connection.
165 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
166 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
167 },
168 &quot;createTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the access token was created.
169 &quot;expiry&quot;: &quot;A String&quot;, # Optional. Time in seconds when the access token expires.
170 &quot;refreshToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Refresh token for the connection.
171 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
172 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
173 },
174 },
175 &quot;pkceVerifier&quot;: &quot;A String&quot;, # Optional. PKCE verifier to be used during the auth code exchange.
176 &quot;redirectUri&quot;: &quot;A String&quot;, # Optional. Redirect URI to be provided during the auth code exchange.
177 &quot;scopes&quot;: [ # Optional. Scopes the connection will request when the user performs the auth code flow.
178 &quot;A String&quot;,
179 ],
180 },
181 &quot;oauth2AuthCodeFlowGoogleManaged&quot;: { # Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1 for more details. # Oauth2AuthCodeFlowGoogleManaged.
182 &quot;authCode&quot;: &quot;A String&quot;, # Optional. Authorization code to be exchanged for access and refresh tokens.
183 &quot;oauthTokenData&quot;: { # pass only at create and not update using updateMask Auth Code Data # Auth Code Data
184 &quot;accessToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Access token for the connection.
185 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
186 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
187 },
188 &quot;createTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the access token was created.
189 &quot;expiry&quot;: &quot;A String&quot;, # Optional. Time in seconds when the access token expires.
190 &quot;refreshToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Refresh token for the connection.
191 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
192 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
193 },
194 },
195 &quot;redirectUri&quot;: &quot;A String&quot;, # Optional. Redirect URI to be provided during the auth code exchange.
196 &quot;scopes&quot;: [ # Required. Scopes the connection will request when the user performs the auth code flow.
197 &quot;A String&quot;,
198 ],
199 },
200 &quot;oauth2ClientCredentials&quot;: { # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details. # Oauth2ClientCredentials.
201 &quot;clientId&quot;: &quot;A String&quot;, # The client identifier.
202 &quot;clientSecret&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. string value or secret version containing the client secret.
203 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
204 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
205 },
206 },
207 &quot;oauth2JwtBearer&quot;: { # Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more details. # Oauth2JwtBearer.
208 &quot;clientKey&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. secret version/value reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/strings/*/versions/*`.
209 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
210 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
211 },
212 &quot;jwtClaims&quot;: { # JWT claims used for the jwt-bearer authorization grant. # JwtClaims providers fields to generate the token.
213 &quot;audience&quot;: &quot;A String&quot;, # Value for the &quot;aud&quot; claim.
214 &quot;issuer&quot;: &quot;A String&quot;, # Value for the &quot;iss&quot; claim.
215 &quot;subject&quot;: &quot;A String&quot;, # Value for the &quot;sub&quot; claim.
216 },
217 },
218 &quot;sshPublicKey&quot;: { # Parameters to support Ssh public key Authentication. # SSH Public Key.
219 &quot;certType&quot;: &quot;A String&quot;, # Format of SSH Client cert.
220 &quot;sshClientCert&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. SSH Client Cert. It should contain both public and private key.
221 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
222 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
223 },
224 &quot;sshClientCertPass&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. Password (passphrase) for ssh client certificate if it has one.
225 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
226 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
227 },
228 &quot;username&quot;: &quot;A String&quot;, # The user account used to authenticate.
229 },
230 &quot;userPassword&quot;: { # Parameters to support Username and Password Authentication. # UserPassword.
231 &quot;password&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. string value or secret version reference containing the password.
232 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
233 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
234 },
235 &quot;username&quot;: &quot;A String&quot;, # Username.
236 },
237 },
238 &quot;labels&quot;: [ # Optional. Labels for the EndUserAuthentication.
239 &quot;A String&quot;,
240 ],
241 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. Resource name of the EndUserAuthentication. Format: projects/{project}/locations/{location}/connections/{connection}/endUserAuthentications/{end_user_authentication}
242 &quot;notifyEndpointDestination&quot;: { # Message for NotifyEndpointDestination Destination to hit when the refresh token is expired. # Optional. The destination to hit when we receive an event
243 &quot;endpoint&quot;: { # Endpoint message includes details of the Destination endpoint. # Optional. OPTION 1: Hit an endpoint when the refresh token is expired.
244 &quot;endpointUri&quot;: &quot;A String&quot;, # Required. The URI of the Endpoint.
245 &quot;headers&quot;: [ # Optional. List of Header to be added to the Endpoint.
246 { # Header details for a given header to be added to Endpoint.
247 &quot;key&quot;: &quot;A String&quot;, # Required. Key of Header.
248 &quot;value&quot;: &quot;A String&quot;, # Required. Value of Header.
249 },
250 ],
251 },
252 &quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account needed for runtime plane to notify the backend.
253 &quot;type&quot;: &quot;A String&quot;, # Required. type of the destination
254 },
255 &quot;roles&quot;: [ # Optional. Roles for the EndUserAuthentication.
256 &quot;A String&quot;,
257 ],
258 &quot;status&quot;: { # EndUserAuthentication Status denotes the status of the EndUserAuthentication resource. # Optional. Status of the EndUserAuthentication.
259 &quot;description&quot;: &quot;A String&quot;, # Output only. Description of the state.
260 &quot;state&quot;: &quot;A String&quot;, # Output only. State of Event Subscription resource.
261 },
262 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
263 &quot;userId&quot;: &quot;A String&quot;, # Optional. The user id of the user.
264 }
265
266 endUserAuthenticationId: string, Required. Identifier to assign to the EndUserAuthentication. Must be unique within scope of the parent resource.
267 x__xgafv: string, V1 error format.
268 Allowed values
269 1 - v1 error format
270 2 - v2 error format
271
272 Returns:
273 An object of the form:
274
275 { # This resource represents a long-running operation that is the result of a network API call.
276 &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.
277 &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.
278 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
279 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
280 {
281 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
282 },
283 ],
284 &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.
285 },
286 &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.
287 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
288 },
289 &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}`.
290 &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`.
291 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
292 },
293 }</pre>
294 </div>
295
296 <div class="method">
297 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
298 <pre>Deletes a single EndUserAuthentication.
299
300 Args:
301 name: string, Required. Resource name of the form: `projects/*/locations/*/connections/*/endUserAuthentication/*` (required)
302 x__xgafv: string, V1 error format.
303 Allowed values
304 1 - v1 error format
305 2 - v2 error format
306
307 Returns:
308 An object of the form:
309
310 { # This resource represents a long-running operation that is the result of a network API call.
311 &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.
312 &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.
313 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
314 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
315 {
316 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
317 },
318 ],
319 &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.
320 },
321 &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.
322 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
323 },
324 &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}`.
325 &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`.
326 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
327 },
328 }</pre>
329 </div>
330
331 <div class="method">
332 <code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
333 <pre>Gets details of a single EndUserAuthentication.
334
335 Args:
336 name: string, Required. Resource name of the form: `projects/*/locations/*/connections/*/EndUserAuthentications/*` (required)
337 view: string, Optional. View of the EndUserAuthentication to return.
338 Allowed values
339 END_USER_AUTHENTICATION_VIEW_UNSPECIFIED - END_USER_AUTHENTICATION_UNSPECIFIED.
340 BASIC_VIEW - Do not include secret fields.
341 FULL_VIEW - Include secret fields.
342 x__xgafv: string, V1 error format.
343 Allowed values
344 1 - v1 error format
345 2 - v2 error format
346
347 Returns:
348 An object of the form:
349
350 { # AuthConfig defines details of a authentication type.
351 &quot;configVariables&quot;: [ # Optional. Config variables for the EndUserAuthentication.
352 { # EndUserAuthenticationConfigVariable represents a configuration variable present in a EndUserAuthentication.
353 &quot;boolValue&quot;: True or False, # Value is a bool.
354 &quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
355 &quot;key&quot;: &quot;A String&quot;, # Required. Key of the config variable.
356 &quot;secretValue&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Value is a secret
357 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
358 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
359 },
360 &quot;stringValue&quot;: &quot;A String&quot;, # Value is a string.
361 },
362 ],
363 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
364 &quot;destinationConfigs&quot;: [ # Optional. Destination configs for the EndUserAuthentication.
365 { # Define the Connectors target endpoint.
366 &quot;destinations&quot;: [ # Optional. The destinations for the key.
367 {
368 &quot;host&quot;: &quot;A String&quot;, # For publicly routable host.
369 &quot;port&quot;: 42, # Optional. The port is the target port number that is accepted by the destination.
370 &quot;serviceAttachment&quot;: &quot;A String&quot;, # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/*
371 },
372 ],
373 &quot;key&quot;: &quot;A String&quot;, # Optional. The key is the destination identifier that is supported by the Connector.
374 },
375 ],
376 &quot;endUserAuthenticationConfig&quot;: { # EndUserAuthenticationConfig defines details of a authentication configuration for EUC # Optional. The EndUserAuthenticationConfig for the EndUserAuthentication.
377 &quot;additionalVariables&quot;: [ # Optional. List containing additional auth configs.
378 { # EndUserAuthenticationConfigVariable represents a configuration variable present in a EndUserAuthentication.
379 &quot;boolValue&quot;: True or False, # Value is a bool.
380 &quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
381 &quot;key&quot;: &quot;A String&quot;, # Required. Key of the config variable.
382 &quot;secretValue&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Value is a secret
383 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
384 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
385 },
386 &quot;stringValue&quot;: &quot;A String&quot;, # Value is a string.
387 },
388 ],
389 &quot;authKey&quot;: &quot;A String&quot;, # Identifier key for auth config
390 &quot;authType&quot;: &quot;A String&quot;, # The type of authentication configured.
391 &quot;oauth2AuthCodeFlow&quot;: { # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details. # Oauth2AuthCodeFlow.
392 &quot;authCode&quot;: &quot;A String&quot;, # Optional. Authorization code to be exchanged for access and refresh tokens.
393 &quot;authUri&quot;: &quot;A String&quot;, # Optional. Auth URL for Authorization Code Flow
394 &quot;clientId&quot;: &quot;A String&quot;, # Optional. Client ID for user-provided OAuth app.
395 &quot;clientSecret&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Client secret for user-provided OAuth app.
396 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
397 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
398 },
399 &quot;enablePkce&quot;: True or False, # Optional. Whether to enable PKCE when the user performs the auth code flow.
400 &quot;oauthTokenData&quot;: { # pass only at create and not update using updateMask Auth Code Data # Optional. Auth Code Data
401 &quot;accessToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Access token for the connection.
402 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
403 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
404 },
405 &quot;createTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the access token was created.
406 &quot;expiry&quot;: &quot;A String&quot;, # Optional. Time in seconds when the access token expires.
407 &quot;refreshToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Refresh token for the connection.
408 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
409 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
410 },
411 },
412 &quot;pkceVerifier&quot;: &quot;A String&quot;, # Optional. PKCE verifier to be used during the auth code exchange.
413 &quot;redirectUri&quot;: &quot;A String&quot;, # Optional. Redirect URI to be provided during the auth code exchange.
414 &quot;scopes&quot;: [ # Optional. Scopes the connection will request when the user performs the auth code flow.
415 &quot;A String&quot;,
416 ],
417 },
418 &quot;oauth2AuthCodeFlowGoogleManaged&quot;: { # Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1 for more details. # Oauth2AuthCodeFlowGoogleManaged.
419 &quot;authCode&quot;: &quot;A String&quot;, # Optional. Authorization code to be exchanged for access and refresh tokens.
420 &quot;oauthTokenData&quot;: { # pass only at create and not update using updateMask Auth Code Data # Auth Code Data
421 &quot;accessToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Access token for the connection.
422 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
423 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
424 },
425 &quot;createTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the access token was created.
426 &quot;expiry&quot;: &quot;A String&quot;, # Optional. Time in seconds when the access token expires.
427 &quot;refreshToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Refresh token for the connection.
428 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
429 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
430 },
431 },
432 &quot;redirectUri&quot;: &quot;A String&quot;, # Optional. Redirect URI to be provided during the auth code exchange.
433 &quot;scopes&quot;: [ # Required. Scopes the connection will request when the user performs the auth code flow.
434 &quot;A String&quot;,
435 ],
436 },
437 &quot;oauth2ClientCredentials&quot;: { # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details. # Oauth2ClientCredentials.
438 &quot;clientId&quot;: &quot;A String&quot;, # The client identifier.
439 &quot;clientSecret&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. string value or secret version containing the client secret.
440 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
441 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
442 },
443 },
444 &quot;oauth2JwtBearer&quot;: { # Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more details. # Oauth2JwtBearer.
445 &quot;clientKey&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. secret version/value reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/strings/*/versions/*`.
446 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
447 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
448 },
449 &quot;jwtClaims&quot;: { # JWT claims used for the jwt-bearer authorization grant. # JwtClaims providers fields to generate the token.
450 &quot;audience&quot;: &quot;A String&quot;, # Value for the &quot;aud&quot; claim.
451 &quot;issuer&quot;: &quot;A String&quot;, # Value for the &quot;iss&quot; claim.
452 &quot;subject&quot;: &quot;A String&quot;, # Value for the &quot;sub&quot; claim.
453 },
454 },
455 &quot;sshPublicKey&quot;: { # Parameters to support Ssh public key Authentication. # SSH Public Key.
456 &quot;certType&quot;: &quot;A String&quot;, # Format of SSH Client cert.
457 &quot;sshClientCert&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. SSH Client Cert. It should contain both public and private key.
458 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
459 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
460 },
461 &quot;sshClientCertPass&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. Password (passphrase) for ssh client certificate if it has one.
462 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
463 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
464 },
465 &quot;username&quot;: &quot;A String&quot;, # The user account used to authenticate.
466 },
467 &quot;userPassword&quot;: { # Parameters to support Username and Password Authentication. # UserPassword.
468 &quot;password&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. string value or secret version reference containing the password.
469 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
470 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
471 },
472 &quot;username&quot;: &quot;A String&quot;, # Username.
473 },
474 },
475 &quot;labels&quot;: [ # Optional. Labels for the EndUserAuthentication.
476 &quot;A String&quot;,
477 ],
478 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. Resource name of the EndUserAuthentication. Format: projects/{project}/locations/{location}/connections/{connection}/endUserAuthentications/{end_user_authentication}
479 &quot;notifyEndpointDestination&quot;: { # Message for NotifyEndpointDestination Destination to hit when the refresh token is expired. # Optional. The destination to hit when we receive an event
480 &quot;endpoint&quot;: { # Endpoint message includes details of the Destination endpoint. # Optional. OPTION 1: Hit an endpoint when the refresh token is expired.
481 &quot;endpointUri&quot;: &quot;A String&quot;, # Required. The URI of the Endpoint.
482 &quot;headers&quot;: [ # Optional. List of Header to be added to the Endpoint.
483 { # Header details for a given header to be added to Endpoint.
484 &quot;key&quot;: &quot;A String&quot;, # Required. Key of Header.
485 &quot;value&quot;: &quot;A String&quot;, # Required. Value of Header.
486 },
487 ],
488 },
489 &quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account needed for runtime plane to notify the backend.
490 &quot;type&quot;: &quot;A String&quot;, # Required. type of the destination
491 },
492 &quot;roles&quot;: [ # Optional. Roles for the EndUserAuthentication.
493 &quot;A String&quot;,
494 ],
495 &quot;status&quot;: { # EndUserAuthentication Status denotes the status of the EndUserAuthentication resource. # Optional. Status of the EndUserAuthentication.
496 &quot;description&quot;: &quot;A String&quot;, # Output only. Description of the state.
497 &quot;state&quot;: &quot;A String&quot;, # Output only. State of Event Subscription resource.
498 },
499 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
500 &quot;userId&quot;: &quot;A String&quot;, # Optional. The user id of the user.
501 }</pre>
502 </div>
503
504 <div class="method">
505 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
506 <pre>List EndUserAuthentications in a given project,location and connection.
507
508 Args:
509 parent: string, Required. Parent resource of the EndUserAuthentication, of the form: `projects/*/locations/*/connections/*` (required)
510 filter: string, Filter.
511 orderBy: string, Order by parameters.
512 pageSize: integer, Page size.
513 pageToken: string, Page token.
514 x__xgafv: string, V1 error format.
515 Allowed values
516 1 - v1 error format
517 2 - v2 error format
518
519 Returns:
520 An object of the form:
521
522 { # Response message for ConnectorsService.ListEndUserAuthentications
523 &quot;endUserAuthentications&quot;: [ # Subscriptions.
524 { # AuthConfig defines details of a authentication type.
525 &quot;configVariables&quot;: [ # Optional. Config variables for the EndUserAuthentication.
526 { # EndUserAuthenticationConfigVariable represents a configuration variable present in a EndUserAuthentication.
527 &quot;boolValue&quot;: True or False, # Value is a bool.
528 &quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
529 &quot;key&quot;: &quot;A String&quot;, # Required. Key of the config variable.
530 &quot;secretValue&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Value is a secret
531 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
532 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
533 },
534 &quot;stringValue&quot;: &quot;A String&quot;, # Value is a string.
535 },
536 ],
537 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
538 &quot;destinationConfigs&quot;: [ # Optional. Destination configs for the EndUserAuthentication.
539 { # Define the Connectors target endpoint.
540 &quot;destinations&quot;: [ # Optional. The destinations for the key.
541 {
542 &quot;host&quot;: &quot;A String&quot;, # For publicly routable host.
543 &quot;port&quot;: 42, # Optional. The port is the target port number that is accepted by the destination.
544 &quot;serviceAttachment&quot;: &quot;A String&quot;, # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/*
545 },
546 ],
547 &quot;key&quot;: &quot;A String&quot;, # Optional. The key is the destination identifier that is supported by the Connector.
548 },
549 ],
550 &quot;endUserAuthenticationConfig&quot;: { # EndUserAuthenticationConfig defines details of a authentication configuration for EUC # Optional. The EndUserAuthenticationConfig for the EndUserAuthentication.
551 &quot;additionalVariables&quot;: [ # Optional. List containing additional auth configs.
552 { # EndUserAuthenticationConfigVariable represents a configuration variable present in a EndUserAuthentication.
553 &quot;boolValue&quot;: True or False, # Value is a bool.
554 &quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
555 &quot;key&quot;: &quot;A String&quot;, # Required. Key of the config variable.
556 &quot;secretValue&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Value is a secret
557 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
558 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
559 },
560 &quot;stringValue&quot;: &quot;A String&quot;, # Value is a string.
561 },
562 ],
563 &quot;authKey&quot;: &quot;A String&quot;, # Identifier key for auth config
564 &quot;authType&quot;: &quot;A String&quot;, # The type of authentication configured.
565 &quot;oauth2AuthCodeFlow&quot;: { # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details. # Oauth2AuthCodeFlow.
566 &quot;authCode&quot;: &quot;A String&quot;, # Optional. Authorization code to be exchanged for access and refresh tokens.
567 &quot;authUri&quot;: &quot;A String&quot;, # Optional. Auth URL for Authorization Code Flow
568 &quot;clientId&quot;: &quot;A String&quot;, # Optional. Client ID for user-provided OAuth app.
569 &quot;clientSecret&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Client secret for user-provided OAuth app.
570 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
571 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
572 },
573 &quot;enablePkce&quot;: True or False, # Optional. Whether to enable PKCE when the user performs the auth code flow.
574 &quot;oauthTokenData&quot;: { # pass only at create and not update using updateMask Auth Code Data # Optional. Auth Code Data
575 &quot;accessToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Access token for the connection.
576 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
577 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
578 },
579 &quot;createTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the access token was created.
580 &quot;expiry&quot;: &quot;A String&quot;, # Optional. Time in seconds when the access token expires.
581 &quot;refreshToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Refresh token for the connection.
582 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
583 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
584 },
585 },
586 &quot;pkceVerifier&quot;: &quot;A String&quot;, # Optional. PKCE verifier to be used during the auth code exchange.
587 &quot;redirectUri&quot;: &quot;A String&quot;, # Optional. Redirect URI to be provided during the auth code exchange.
588 &quot;scopes&quot;: [ # Optional. Scopes the connection will request when the user performs the auth code flow.
589 &quot;A String&quot;,
590 ],
591 },
592 &quot;oauth2AuthCodeFlowGoogleManaged&quot;: { # Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1 for more details. # Oauth2AuthCodeFlowGoogleManaged.
593 &quot;authCode&quot;: &quot;A String&quot;, # Optional. Authorization code to be exchanged for access and refresh tokens.
594 &quot;oauthTokenData&quot;: { # pass only at create and not update using updateMask Auth Code Data # Auth Code Data
595 &quot;accessToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Access token for the connection.
596 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
597 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
598 },
599 &quot;createTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the access token was created.
600 &quot;expiry&quot;: &quot;A String&quot;, # Optional. Time in seconds when the access token expires.
601 &quot;refreshToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Refresh token for the connection.
602 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
603 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
604 },
605 },
606 &quot;redirectUri&quot;: &quot;A String&quot;, # Optional. Redirect URI to be provided during the auth code exchange.
607 &quot;scopes&quot;: [ # Required. Scopes the connection will request when the user performs the auth code flow.
608 &quot;A String&quot;,
609 ],
610 },
611 &quot;oauth2ClientCredentials&quot;: { # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details. # Oauth2ClientCredentials.
612 &quot;clientId&quot;: &quot;A String&quot;, # The client identifier.
613 &quot;clientSecret&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. string value or secret version containing the client secret.
614 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
615 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
616 },
617 },
618 &quot;oauth2JwtBearer&quot;: { # Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more details. # Oauth2JwtBearer.
619 &quot;clientKey&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. secret version/value reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/strings/*/versions/*`.
620 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
621 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
622 },
623 &quot;jwtClaims&quot;: { # JWT claims used for the jwt-bearer authorization grant. # JwtClaims providers fields to generate the token.
624 &quot;audience&quot;: &quot;A String&quot;, # Value for the &quot;aud&quot; claim.
625 &quot;issuer&quot;: &quot;A String&quot;, # Value for the &quot;iss&quot; claim.
626 &quot;subject&quot;: &quot;A String&quot;, # Value for the &quot;sub&quot; claim.
627 },
628 },
629 &quot;sshPublicKey&quot;: { # Parameters to support Ssh public key Authentication. # SSH Public Key.
630 &quot;certType&quot;: &quot;A String&quot;, # Format of SSH Client cert.
631 &quot;sshClientCert&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. SSH Client Cert. It should contain both public and private key.
632 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
633 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
634 },
635 &quot;sshClientCertPass&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. Password (passphrase) for ssh client certificate if it has one.
636 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
637 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
638 },
639 &quot;username&quot;: &quot;A String&quot;, # The user account used to authenticate.
640 },
641 &quot;userPassword&quot;: { # Parameters to support Username and Password Authentication. # UserPassword.
642 &quot;password&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. string value or secret version reference containing the password.
643 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
644 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
645 },
646 &quot;username&quot;: &quot;A String&quot;, # Username.
647 },
648 },
649 &quot;labels&quot;: [ # Optional. Labels for the EndUserAuthentication.
650 &quot;A String&quot;,
651 ],
652 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. Resource name of the EndUserAuthentication. Format: projects/{project}/locations/{location}/connections/{connection}/endUserAuthentications/{end_user_authentication}
653 &quot;notifyEndpointDestination&quot;: { # Message for NotifyEndpointDestination Destination to hit when the refresh token is expired. # Optional. The destination to hit when we receive an event
654 &quot;endpoint&quot;: { # Endpoint message includes details of the Destination endpoint. # Optional. OPTION 1: Hit an endpoint when the refresh token is expired.
655 &quot;endpointUri&quot;: &quot;A String&quot;, # Required. The URI of the Endpoint.
656 &quot;headers&quot;: [ # Optional. List of Header to be added to the Endpoint.
657 { # Header details for a given header to be added to Endpoint.
658 &quot;key&quot;: &quot;A String&quot;, # Required. Key of Header.
659 &quot;value&quot;: &quot;A String&quot;, # Required. Value of Header.
660 },
661 ],
662 },
663 &quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account needed for runtime plane to notify the backend.
664 &quot;type&quot;: &quot;A String&quot;, # Required. type of the destination
665 },
666 &quot;roles&quot;: [ # Optional. Roles for the EndUserAuthentication.
667 &quot;A String&quot;,
668 ],
669 &quot;status&quot;: { # EndUserAuthentication Status denotes the status of the EndUserAuthentication resource. # Optional. Status of the EndUserAuthentication.
670 &quot;description&quot;: &quot;A String&quot;, # Output only. Description of the state.
671 &quot;state&quot;: &quot;A String&quot;, # Output only. State of Event Subscription resource.
672 },
673 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
674 &quot;userId&quot;: &quot;A String&quot;, # Optional. The user id of the user.
675 },
676 ],
677 &quot;nextPageToken&quot;: &quot;A String&quot;, # Next page token.
678 &quot;unreachable&quot;: [ # Locations that could not be reached.
679 &quot;A String&quot;,
680 ],
681 }</pre>
682 </div>
683
684 <div class="method">
685 <code class="details" id="list_next">list_next()</code>
686 <pre>Retrieves the next page of results.
687
688 Args:
689 previous_request: The request for the previous page. (required)
690 previous_response: The response from the request for the previous page. (required)
691
692 Returns:
693 A request object that you can call &#x27;execute()&#x27; on to request the next
694 page. Returns None if there are no more items in the collection.
695 </pre>
696 </div>
697
698 <div class="method">
699 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
700 <pre>Updates the parameters of a single EndUserAuthentication.
701
702 Args:
703 name: string, Required. Identifier. Resource name of the EndUserAuthentication. Format: projects/{project}/locations/{location}/connections/{connection}/endUserAuthentications/{end_user_authentication} (required)
704 body: object, The request body.
705 The object takes the form of:
706
707 { # AuthConfig defines details of a authentication type.
708 &quot;configVariables&quot;: [ # Optional. Config variables for the EndUserAuthentication.
709 { # EndUserAuthenticationConfigVariable represents a configuration variable present in a EndUserAuthentication.
710 &quot;boolValue&quot;: True or False, # Value is a bool.
711 &quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
712 &quot;key&quot;: &quot;A String&quot;, # Required. Key of the config variable.
713 &quot;secretValue&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Value is a secret
714 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
715 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
716 },
717 &quot;stringValue&quot;: &quot;A String&quot;, # Value is a string.
718 },
719 ],
720 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
721 &quot;destinationConfigs&quot;: [ # Optional. Destination configs for the EndUserAuthentication.
722 { # Define the Connectors target endpoint.
723 &quot;destinations&quot;: [ # Optional. The destinations for the key.
724 {
725 &quot;host&quot;: &quot;A String&quot;, # For publicly routable host.
726 &quot;port&quot;: 42, # Optional. The port is the target port number that is accepted by the destination.
727 &quot;serviceAttachment&quot;: &quot;A String&quot;, # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/*
728 },
729 ],
730 &quot;key&quot;: &quot;A String&quot;, # Optional. The key is the destination identifier that is supported by the Connector.
731 },
732 ],
733 &quot;endUserAuthenticationConfig&quot;: { # EndUserAuthenticationConfig defines details of a authentication configuration for EUC # Optional. The EndUserAuthenticationConfig for the EndUserAuthentication.
734 &quot;additionalVariables&quot;: [ # Optional. List containing additional auth configs.
735 { # EndUserAuthenticationConfigVariable represents a configuration variable present in a EndUserAuthentication.
736 &quot;boolValue&quot;: True or False, # Value is a bool.
737 &quot;intValue&quot;: &quot;A String&quot;, # Value is an integer
738 &quot;key&quot;: &quot;A String&quot;, # Required. Key of the config variable.
739 &quot;secretValue&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Value is a secret
740 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
741 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
742 },
743 &quot;stringValue&quot;: &quot;A String&quot;, # Value is a string.
744 },
745 ],
746 &quot;authKey&quot;: &quot;A String&quot;, # Identifier key for auth config
747 &quot;authType&quot;: &quot;A String&quot;, # The type of authentication configured.
748 &quot;oauth2AuthCodeFlow&quot;: { # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details. # Oauth2AuthCodeFlow.
749 &quot;authCode&quot;: &quot;A String&quot;, # Optional. Authorization code to be exchanged for access and refresh tokens.
750 &quot;authUri&quot;: &quot;A String&quot;, # Optional. Auth URL for Authorization Code Flow
751 &quot;clientId&quot;: &quot;A String&quot;, # Optional. Client ID for user-provided OAuth app.
752 &quot;clientSecret&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Client secret for user-provided OAuth app.
753 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
754 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
755 },
756 &quot;enablePkce&quot;: True or False, # Optional. Whether to enable PKCE when the user performs the auth code flow.
757 &quot;oauthTokenData&quot;: { # pass only at create and not update using updateMask Auth Code Data # Optional. Auth Code Data
758 &quot;accessToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Access token for the connection.
759 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
760 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
761 },
762 &quot;createTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the access token was created.
763 &quot;expiry&quot;: &quot;A String&quot;, # Optional. Time in seconds when the access token expires.
764 &quot;refreshToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Refresh token for the connection.
765 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
766 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
767 },
768 },
769 &quot;pkceVerifier&quot;: &quot;A String&quot;, # Optional. PKCE verifier to be used during the auth code exchange.
770 &quot;redirectUri&quot;: &quot;A String&quot;, # Optional. Redirect URI to be provided during the auth code exchange.
771 &quot;scopes&quot;: [ # Optional. Scopes the connection will request when the user performs the auth code flow.
772 &quot;A String&quot;,
773 ],
774 },
775 &quot;oauth2AuthCodeFlowGoogleManaged&quot;: { # Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1 for more details. # Oauth2AuthCodeFlowGoogleManaged.
776 &quot;authCode&quot;: &quot;A String&quot;, # Optional. Authorization code to be exchanged for access and refresh tokens.
777 &quot;oauthTokenData&quot;: { # pass only at create and not update using updateMask Auth Code Data # Auth Code Data
778 &quot;accessToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Access token for the connection.
779 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
780 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
781 },
782 &quot;createTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the access token was created.
783 &quot;expiry&quot;: &quot;A String&quot;, # Optional. Time in seconds when the access token expires.
784 &quot;refreshToken&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Optional. Refresh token for the connection.
785 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
786 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
787 },
788 },
789 &quot;redirectUri&quot;: &quot;A String&quot;, # Optional. Redirect URI to be provided during the auth code exchange.
790 &quot;scopes&quot;: [ # Required. Scopes the connection will request when the user performs the auth code flow.
791 &quot;A String&quot;,
792 ],
793 },
794 &quot;oauth2ClientCredentials&quot;: { # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details. # Oauth2ClientCredentials.
795 &quot;clientId&quot;: &quot;A String&quot;, # The client identifier.
796 &quot;clientSecret&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. string value or secret version containing the client secret.
797 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
798 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
799 },
800 },
801 &quot;oauth2JwtBearer&quot;: { # Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more details. # Oauth2JwtBearer.
802 &quot;clientKey&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. secret version/value reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/strings/*/versions/*`.
803 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
804 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
805 },
806 &quot;jwtClaims&quot;: { # JWT claims used for the jwt-bearer authorization grant. # JwtClaims providers fields to generate the token.
807 &quot;audience&quot;: &quot;A String&quot;, # Value for the &quot;aud&quot; claim.
808 &quot;issuer&quot;: &quot;A String&quot;, # Value for the &quot;iss&quot; claim.
809 &quot;subject&quot;: &quot;A String&quot;, # Value for the &quot;sub&quot; claim.
810 },
811 },
812 &quot;sshPublicKey&quot;: { # Parameters to support Ssh public key Authentication. # SSH Public Key.
813 &quot;certType&quot;: &quot;A String&quot;, # Format of SSH Client cert.
814 &quot;sshClientCert&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. SSH Client Cert. It should contain both public and private key.
815 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
816 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
817 },
818 &quot;sshClientCertPass&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. Password (passphrase) for ssh client certificate if it has one.
819 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
820 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
821 },
822 &quot;username&quot;: &quot;A String&quot;, # The user account used to authenticate.
823 },
824 &quot;userPassword&quot;: { # Parameters to support Username and Password Authentication. # UserPassword.
825 &quot;password&quot;: { # EUASecret provides a reference to entries in Secret Manager. # Required. string value or secret version reference containing the password.
826 &quot;secretValue&quot;: &quot;A String&quot;, # Optional. The plain string value of the secret.
827 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
828 },
829 &quot;username&quot;: &quot;A String&quot;, # Username.
830 },
831 },
832 &quot;labels&quot;: [ # Optional. Labels for the EndUserAuthentication.
833 &quot;A String&quot;,
834 ],
835 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. Resource name of the EndUserAuthentication. Format: projects/{project}/locations/{location}/connections/{connection}/endUserAuthentications/{end_user_authentication}
836 &quot;notifyEndpointDestination&quot;: { # Message for NotifyEndpointDestination Destination to hit when the refresh token is expired. # Optional. The destination to hit when we receive an event
837 &quot;endpoint&quot;: { # Endpoint message includes details of the Destination endpoint. # Optional. OPTION 1: Hit an endpoint when the refresh token is expired.
838 &quot;endpointUri&quot;: &quot;A String&quot;, # Required. The URI of the Endpoint.
839 &quot;headers&quot;: [ # Optional. List of Header to be added to the Endpoint.
840 { # Header details for a given header to be added to Endpoint.
841 &quot;key&quot;: &quot;A String&quot;, # Required. Key of Header.
842 &quot;value&quot;: &quot;A String&quot;, # Required. Value of Header.
843 },
844 ],
845 },
846 &quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account needed for runtime plane to notify the backend.
847 &quot;type&quot;: &quot;A String&quot;, # Required. type of the destination
848 },
849 &quot;roles&quot;: [ # Optional. Roles for the EndUserAuthentication.
850 &quot;A String&quot;,
851 ],
852 &quot;status&quot;: { # EndUserAuthentication Status denotes the status of the EndUserAuthentication resource. # Optional. Status of the EndUserAuthentication.
853 &quot;description&quot;: &quot;A String&quot;, # Output only. Description of the state.
854 &quot;state&quot;: &quot;A String&quot;, # Output only. State of Event Subscription resource.
855 },
856 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
857 &quot;userId&quot;: &quot;A String&quot;, # Optional. The user id of the user.
858 }
859
860 updateMask: string, Required. The list of fields to update. A field will be overwritten if it is in the mask. You can modify only the fields listed below. To update the EndUserAuthentication details: * `notify_endpoint_destination`
861 x__xgafv: string, V1 error format.
862 Allowed values
863 1 - v1 error format
864 2 - v2 error format
865
866 Returns:
867 An object of the form:
868
869 { # This resource represents a long-running operation that is the result of a network API call.
870 &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.
871 &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.
872 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
873 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
874 {
875 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
876 },
877 ],
878 &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.
879 },
880 &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.
881 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
882 },
883 &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}`.
884 &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`.
885 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
886 },
887 }</pre>
888 </div>
889
890 </body></html>