google-apis-connectors_v1 0.69.0 → 0.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d4ca86bf2f263c98e54a3a9d16bf30b173ee19f2e8649d79939fc477058b99a
|
4
|
+
data.tar.gz: 30eea4101fc41553ab82eb5797326a0c2cf6e8ff3448a4682b7328400fa52877
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f1765ddb0d5998787a00830c10dbb30f0b967ea5c046f484041f5ea3bc5c4257909856454fdf92ddc432f1d482a333cc5fa9fde054260832e7f687aef04c111
|
7
|
+
data.tar.gz: 2bf6af13d3b6906ba131f646eb152973eb9cc5f97a2409bb39dba60abde4c5b2336c5de287e3166d78dd94cdf1c6ceab385f23b0d5b473a50fec2dab490edcac
|
data/CHANGELOG.md
CHANGED
@@ -814,7 +814,7 @@ module Google
|
|
814
814
|
# @return [String]
|
815
815
|
attr_accessor :envoy_image_location
|
816
816
|
|
817
|
-
# Eventing Configuration of a connection
|
817
|
+
# Eventing Configuration of a connection next: 18
|
818
818
|
# Corresponds to the JSON property `eventingConfig`
|
819
819
|
# @return [Google::Apis::ConnectorsV1::EventingConfig]
|
820
820
|
attr_accessor :eventing_config
|
@@ -1326,7 +1326,7 @@ module Google
|
|
1326
1326
|
# @return [Google::Apis::ConnectorsV1::EgressControlConfig]
|
1327
1327
|
attr_accessor :egress_control_config
|
1328
1328
|
|
1329
|
-
# Eventing Config details of a connector version.
|
1329
|
+
# Eventing Config details of a connector version. next: 14
|
1330
1330
|
# Corresponds to the JSON property `eventingConfigTemplate`
|
1331
1331
|
# @return [Google::Apis::ConnectorsV1::EventingConfigTemplate]
|
1332
1332
|
attr_accessor :eventing_config_template
|
@@ -2171,6 +2171,576 @@ module Google
|
|
2171
2171
|
end
|
2172
2172
|
end
|
2173
2173
|
|
2174
|
+
# AuthConfig defines details of a authentication type.
|
2175
|
+
class EndUserAuthentication
|
2176
|
+
include Google::Apis::Core::Hashable
|
2177
|
+
|
2178
|
+
# Optional. Config variables for the EndUserAuthentication.
|
2179
|
+
# Corresponds to the JSON property `configVariables`
|
2180
|
+
# @return [Array<Google::Apis::ConnectorsV1::EndUserAuthenticationConfigVariable>]
|
2181
|
+
attr_accessor :config_variables
|
2182
|
+
|
2183
|
+
# Output only. Created time.
|
2184
|
+
# Corresponds to the JSON property `createTime`
|
2185
|
+
# @return [String]
|
2186
|
+
attr_accessor :create_time
|
2187
|
+
|
2188
|
+
# Optional. Destination configs for the EndUserAuthentication.
|
2189
|
+
# Corresponds to the JSON property `destinationConfigs`
|
2190
|
+
# @return [Array<Google::Apis::ConnectorsV1::DestinationConfig>]
|
2191
|
+
attr_accessor :destination_configs
|
2192
|
+
|
2193
|
+
# EndUserAuthenticationConfig defines details of a authentication configuration
|
2194
|
+
# for EUC
|
2195
|
+
# Corresponds to the JSON property `endUserAuthenticationConfig`
|
2196
|
+
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfig]
|
2197
|
+
attr_accessor :end_user_authentication_config
|
2198
|
+
|
2199
|
+
# Optional. Labels for the EndUserAuthentication.
|
2200
|
+
# Corresponds to the JSON property `labels`
|
2201
|
+
# @return [Array<String>]
|
2202
|
+
attr_accessor :labels
|
2203
|
+
|
2204
|
+
# Required. Identifier. Resource name of the EndUserAuthentication. Format:
|
2205
|
+
# projects/`project`/locations/`location`/connections/`connection`/
|
2206
|
+
# endUserAuthentications/`end_user_authentication`
|
2207
|
+
# Corresponds to the JSON property `name`
|
2208
|
+
# @return [String]
|
2209
|
+
attr_accessor :name
|
2210
|
+
|
2211
|
+
# Message for NotifyEndpointDestination Destination to hit when the refresh
|
2212
|
+
# token is expired.
|
2213
|
+
# Corresponds to the JSON property `notifyEndpointDestination`
|
2214
|
+
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestination]
|
2215
|
+
attr_accessor :notify_endpoint_destination
|
2216
|
+
|
2217
|
+
# EndUserAuthentication Status denotes the status of the EndUserAuthentication
|
2218
|
+
# resource.
|
2219
|
+
# Corresponds to the JSON property `status`
|
2220
|
+
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationEndUserAuthenticationStatus]
|
2221
|
+
attr_accessor :status
|
2222
|
+
|
2223
|
+
# Output only. Updated time.
|
2224
|
+
# Corresponds to the JSON property `updateTime`
|
2225
|
+
# @return [String]
|
2226
|
+
attr_accessor :update_time
|
2227
|
+
|
2228
|
+
# Optional. Deprecated: The email of the user.
|
2229
|
+
# Corresponds to the JSON property `userEmail`
|
2230
|
+
# @return [String]
|
2231
|
+
attr_accessor :user_email
|
2232
|
+
|
2233
|
+
# Optional. The user id of the user.
|
2234
|
+
# Corresponds to the JSON property `userId`
|
2235
|
+
# @return [String]
|
2236
|
+
attr_accessor :user_id
|
2237
|
+
|
2238
|
+
def initialize(**args)
|
2239
|
+
update!(**args)
|
2240
|
+
end
|
2241
|
+
|
2242
|
+
# Update properties of this object
|
2243
|
+
def update!(**args)
|
2244
|
+
@config_variables = args[:config_variables] if args.key?(:config_variables)
|
2245
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2246
|
+
@destination_configs = args[:destination_configs] if args.key?(:destination_configs)
|
2247
|
+
@end_user_authentication_config = args[:end_user_authentication_config] if args.key?(:end_user_authentication_config)
|
2248
|
+
@labels = args[:labels] if args.key?(:labels)
|
2249
|
+
@name = args[:name] if args.key?(:name)
|
2250
|
+
@notify_endpoint_destination = args[:notify_endpoint_destination] if args.key?(:notify_endpoint_destination)
|
2251
|
+
@status = args[:status] if args.key?(:status)
|
2252
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2253
|
+
@user_email = args[:user_email] if args.key?(:user_email)
|
2254
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
2255
|
+
end
|
2256
|
+
end
|
2257
|
+
|
2258
|
+
# EndUserAuthenticationConfig defines details of a authentication configuration
|
2259
|
+
# for EUC
|
2260
|
+
class EndUserAuthenticationConfig
|
2261
|
+
include Google::Apis::Core::Hashable
|
2262
|
+
|
2263
|
+
# Optional. List containing additional auth configs.
|
2264
|
+
# Corresponds to the JSON property `additionalVariables`
|
2265
|
+
# @return [Array<Google::Apis::ConnectorsV1::EndUserAuthenticationConfigVariable>]
|
2266
|
+
attr_accessor :additional_variables
|
2267
|
+
|
2268
|
+
# Identifier key for auth config
|
2269
|
+
# Corresponds to the JSON property `authKey`
|
2270
|
+
# @return [String]
|
2271
|
+
attr_accessor :auth_key
|
2272
|
+
|
2273
|
+
# The type of authentication configured.
|
2274
|
+
# Corresponds to the JSON property `authType`
|
2275
|
+
# @return [String]
|
2276
|
+
attr_accessor :auth_type
|
2277
|
+
|
2278
|
+
# Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
|
2279
|
+
# www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
|
2280
|
+
# Corresponds to the JSON property `oauth2AuthCodeFlow`
|
2281
|
+
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2AuthCodeFlow]
|
2282
|
+
attr_accessor :oauth2_auth_code_flow
|
2283
|
+
|
2284
|
+
# Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google
|
2285
|
+
# Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1
|
2286
|
+
# for more details.
|
2287
|
+
# Corresponds to the JSON property `oauth2AuthCodeFlowGoogleManaged`
|
2288
|
+
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged]
|
2289
|
+
attr_accessor :oauth2_auth_code_flow_google_managed
|
2290
|
+
|
2291
|
+
# Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
|
2292
|
+
# https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
|
2293
|
+
# Corresponds to the JSON property `oauth2ClientCredentials`
|
2294
|
+
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2ClientCredentials]
|
2295
|
+
attr_accessor :oauth2_client_credentials
|
2296
|
+
|
2297
|
+
# Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization
|
2298
|
+
# Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more
|
2299
|
+
# details.
|
2300
|
+
# Corresponds to the JSON property `oauth2JwtBearer`
|
2301
|
+
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2JwtBearer]
|
2302
|
+
attr_accessor :oauth2_jwt_bearer
|
2303
|
+
|
2304
|
+
# Parameters to support Ssh public key Authentication.
|
2305
|
+
# Corresponds to the JSON property `sshPublicKey`
|
2306
|
+
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigSshPublicKey]
|
2307
|
+
attr_accessor :ssh_public_key
|
2308
|
+
|
2309
|
+
# Parameters to support Username and Password Authentication.
|
2310
|
+
# Corresponds to the JSON property `userPassword`
|
2311
|
+
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigUserPassword]
|
2312
|
+
attr_accessor :user_password
|
2313
|
+
|
2314
|
+
def initialize(**args)
|
2315
|
+
update!(**args)
|
2316
|
+
end
|
2317
|
+
|
2318
|
+
# Update properties of this object
|
2319
|
+
def update!(**args)
|
2320
|
+
@additional_variables = args[:additional_variables] if args.key?(:additional_variables)
|
2321
|
+
@auth_key = args[:auth_key] if args.key?(:auth_key)
|
2322
|
+
@auth_type = args[:auth_type] if args.key?(:auth_type)
|
2323
|
+
@oauth2_auth_code_flow = args[:oauth2_auth_code_flow] if args.key?(:oauth2_auth_code_flow)
|
2324
|
+
@oauth2_auth_code_flow_google_managed = args[:oauth2_auth_code_flow_google_managed] if args.key?(:oauth2_auth_code_flow_google_managed)
|
2325
|
+
@oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials)
|
2326
|
+
@oauth2_jwt_bearer = args[:oauth2_jwt_bearer] if args.key?(:oauth2_jwt_bearer)
|
2327
|
+
@ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
|
2328
|
+
@user_password = args[:user_password] if args.key?(:user_password)
|
2329
|
+
end
|
2330
|
+
end
|
2331
|
+
|
2332
|
+
# Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
|
2333
|
+
# www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
|
2334
|
+
class EndUserAuthenticationConfigOauth2AuthCodeFlow
|
2335
|
+
include Google::Apis::Core::Hashable
|
2336
|
+
|
2337
|
+
# Optional. Authorization code to be exchanged for access and refresh tokens.
|
2338
|
+
# Corresponds to the JSON property `authCode`
|
2339
|
+
# @return [String]
|
2340
|
+
attr_accessor :auth_code
|
2341
|
+
|
2342
|
+
# Optional. Auth URL for Authorization Code Flow
|
2343
|
+
# Corresponds to the JSON property `authUri`
|
2344
|
+
# @return [String]
|
2345
|
+
attr_accessor :auth_uri
|
2346
|
+
|
2347
|
+
# Optional. Client ID for user-provided OAuth app.
|
2348
|
+
# Corresponds to the JSON property `clientId`
|
2349
|
+
# @return [String]
|
2350
|
+
attr_accessor :client_id
|
2351
|
+
|
2352
|
+
# Optional. Client secret for user-provided OAuth app.
|
2353
|
+
# Corresponds to the JSON property `clientSecret`
|
2354
|
+
# @return [String]
|
2355
|
+
attr_accessor :client_secret
|
2356
|
+
|
2357
|
+
# Optional. Whether to enable PKCE when the user performs the auth code flow.
|
2358
|
+
# Corresponds to the JSON property `enablePkce`
|
2359
|
+
# @return [Boolean]
|
2360
|
+
attr_accessor :enable_pkce
|
2361
|
+
alias_method :enable_pkce?, :enable_pkce
|
2362
|
+
|
2363
|
+
# pass only at create and not update using updateMask Auth Code Data
|
2364
|
+
# Corresponds to the JSON property `oauthTokenData`
|
2365
|
+
# @return [Google::Apis::ConnectorsV1::OAuthTokenData]
|
2366
|
+
attr_accessor :oauth_token_data
|
2367
|
+
|
2368
|
+
# Optional. PKCE verifier to be used during the auth code exchange.
|
2369
|
+
# Corresponds to the JSON property `pkceVerifier`
|
2370
|
+
# @return [String]
|
2371
|
+
attr_accessor :pkce_verifier
|
2372
|
+
|
2373
|
+
# Optional. Redirect URI to be provided during the auth code exchange.
|
2374
|
+
# Corresponds to the JSON property `redirectUri`
|
2375
|
+
# @return [String]
|
2376
|
+
attr_accessor :redirect_uri
|
2377
|
+
|
2378
|
+
# Optional. Scopes the connection will request when the user performs the auth
|
2379
|
+
# code flow.
|
2380
|
+
# Corresponds to the JSON property `scopes`
|
2381
|
+
# @return [Array<String>]
|
2382
|
+
attr_accessor :scopes
|
2383
|
+
|
2384
|
+
def initialize(**args)
|
2385
|
+
update!(**args)
|
2386
|
+
end
|
2387
|
+
|
2388
|
+
# Update properties of this object
|
2389
|
+
def update!(**args)
|
2390
|
+
@auth_code = args[:auth_code] if args.key?(:auth_code)
|
2391
|
+
@auth_uri = args[:auth_uri] if args.key?(:auth_uri)
|
2392
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
2393
|
+
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
2394
|
+
@enable_pkce = args[:enable_pkce] if args.key?(:enable_pkce)
|
2395
|
+
@oauth_token_data = args[:oauth_token_data] if args.key?(:oauth_token_data)
|
2396
|
+
@pkce_verifier = args[:pkce_verifier] if args.key?(:pkce_verifier)
|
2397
|
+
@redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
|
2398
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
2399
|
+
end
|
2400
|
+
end
|
2401
|
+
|
2402
|
+
# Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google
|
2403
|
+
# Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1
|
2404
|
+
# for more details.
|
2405
|
+
class EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged
|
2406
|
+
include Google::Apis::Core::Hashable
|
2407
|
+
|
2408
|
+
# Optional. Authorization code to be exchanged for access and refresh tokens.
|
2409
|
+
# Corresponds to the JSON property `authCode`
|
2410
|
+
# @return [String]
|
2411
|
+
attr_accessor :auth_code
|
2412
|
+
|
2413
|
+
# pass only at create and not update using updateMask Auth Code Data
|
2414
|
+
# Corresponds to the JSON property `oauthTokenData`
|
2415
|
+
# @return [Google::Apis::ConnectorsV1::OAuthTokenData]
|
2416
|
+
attr_accessor :oauth_token_data
|
2417
|
+
|
2418
|
+
# Optional. Redirect URI to be provided during the auth code exchange.
|
2419
|
+
# Corresponds to the JSON property `redirectUri`
|
2420
|
+
# @return [String]
|
2421
|
+
attr_accessor :redirect_uri
|
2422
|
+
|
2423
|
+
# Required. Scopes the connection will request when the user performs the auth
|
2424
|
+
# code flow.
|
2425
|
+
# Corresponds to the JSON property `scopes`
|
2426
|
+
# @return [Array<String>]
|
2427
|
+
attr_accessor :scopes
|
2428
|
+
|
2429
|
+
def initialize(**args)
|
2430
|
+
update!(**args)
|
2431
|
+
end
|
2432
|
+
|
2433
|
+
# Update properties of this object
|
2434
|
+
def update!(**args)
|
2435
|
+
@auth_code = args[:auth_code] if args.key?(:auth_code)
|
2436
|
+
@oauth_token_data = args[:oauth_token_data] if args.key?(:oauth_token_data)
|
2437
|
+
@redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
|
2438
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
2439
|
+
end
|
2440
|
+
end
|
2441
|
+
|
2442
|
+
# Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
|
2443
|
+
# https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
|
2444
|
+
class EndUserAuthenticationConfigOauth2ClientCredentials
|
2445
|
+
include Google::Apis::Core::Hashable
|
2446
|
+
|
2447
|
+
# The client identifier.
|
2448
|
+
# Corresponds to the JSON property `clientId`
|
2449
|
+
# @return [String]
|
2450
|
+
attr_accessor :client_id
|
2451
|
+
|
2452
|
+
# Required. string value containing the client secret.
|
2453
|
+
# Corresponds to the JSON property `clientSecret`
|
2454
|
+
# @return [String]
|
2455
|
+
attr_accessor :client_secret
|
2456
|
+
|
2457
|
+
def initialize(**args)
|
2458
|
+
update!(**args)
|
2459
|
+
end
|
2460
|
+
|
2461
|
+
# Update properties of this object
|
2462
|
+
def update!(**args)
|
2463
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
2464
|
+
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
2465
|
+
end
|
2466
|
+
end
|
2467
|
+
|
2468
|
+
# Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization
|
2469
|
+
# Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more
|
2470
|
+
# details.
|
2471
|
+
class EndUserAuthenticationConfigOauth2JwtBearer
|
2472
|
+
include Google::Apis::Core::Hashable
|
2473
|
+
|
2474
|
+
# Required. string version reference containing a PKCS#8 PEM-encoded private key
|
2475
|
+
# associated with the Client Certificate. This private key will be used to sign
|
2476
|
+
# JWTs used for the jwt-bearer authorization grant. Specified in the form as: `
|
2477
|
+
# projects/*/strings/*/versions/*`.
|
2478
|
+
# Corresponds to the JSON property `clientKey`
|
2479
|
+
# @return [String]
|
2480
|
+
attr_accessor :client_key
|
2481
|
+
|
2482
|
+
# JWT claims used for the jwt-bearer authorization grant.
|
2483
|
+
# Corresponds to the JSON property `jwtClaims`
|
2484
|
+
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2JwtBearerJwtClaims]
|
2485
|
+
attr_accessor :jwt_claims
|
2486
|
+
|
2487
|
+
def initialize(**args)
|
2488
|
+
update!(**args)
|
2489
|
+
end
|
2490
|
+
|
2491
|
+
# Update properties of this object
|
2492
|
+
def update!(**args)
|
2493
|
+
@client_key = args[:client_key] if args.key?(:client_key)
|
2494
|
+
@jwt_claims = args[:jwt_claims] if args.key?(:jwt_claims)
|
2495
|
+
end
|
2496
|
+
end
|
2497
|
+
|
2498
|
+
# JWT claims used for the jwt-bearer authorization grant.
|
2499
|
+
class EndUserAuthenticationConfigOauth2JwtBearerJwtClaims
|
2500
|
+
include Google::Apis::Core::Hashable
|
2501
|
+
|
2502
|
+
# Value for the "aud" claim.
|
2503
|
+
# Corresponds to the JSON property `audience`
|
2504
|
+
# @return [String]
|
2505
|
+
attr_accessor :audience
|
2506
|
+
|
2507
|
+
# Value for the "iss" claim.
|
2508
|
+
# Corresponds to the JSON property `issuer`
|
2509
|
+
# @return [String]
|
2510
|
+
attr_accessor :issuer
|
2511
|
+
|
2512
|
+
# Value for the "sub" claim.
|
2513
|
+
# Corresponds to the JSON property `subject`
|
2514
|
+
# @return [String]
|
2515
|
+
attr_accessor :subject
|
2516
|
+
|
2517
|
+
def initialize(**args)
|
2518
|
+
update!(**args)
|
2519
|
+
end
|
2520
|
+
|
2521
|
+
# Update properties of this object
|
2522
|
+
def update!(**args)
|
2523
|
+
@audience = args[:audience] if args.key?(:audience)
|
2524
|
+
@issuer = args[:issuer] if args.key?(:issuer)
|
2525
|
+
@subject = args[:subject] if args.key?(:subject)
|
2526
|
+
end
|
2527
|
+
end
|
2528
|
+
|
2529
|
+
# Parameters to support Ssh public key Authentication.
|
2530
|
+
class EndUserAuthenticationConfigSshPublicKey
|
2531
|
+
include Google::Apis::Core::Hashable
|
2532
|
+
|
2533
|
+
# Format of SSH Client cert.
|
2534
|
+
# Corresponds to the JSON property `certType`
|
2535
|
+
# @return [String]
|
2536
|
+
attr_accessor :cert_type
|
2537
|
+
|
2538
|
+
# Required. SSH Client Cert. It should contain both public and private key.
|
2539
|
+
# Corresponds to the JSON property `sshClientCert`
|
2540
|
+
# @return [String]
|
2541
|
+
attr_accessor :ssh_client_cert
|
2542
|
+
|
2543
|
+
# Required. Password (passphrase) for ssh client certificate if it has one.
|
2544
|
+
# Corresponds to the JSON property `sshClientCertPass`
|
2545
|
+
# @return [String]
|
2546
|
+
attr_accessor :ssh_client_cert_pass
|
2547
|
+
|
2548
|
+
# The user account used to authenticate.
|
2549
|
+
# Corresponds to the JSON property `username`
|
2550
|
+
# @return [String]
|
2551
|
+
attr_accessor :username
|
2552
|
+
|
2553
|
+
def initialize(**args)
|
2554
|
+
update!(**args)
|
2555
|
+
end
|
2556
|
+
|
2557
|
+
# Update properties of this object
|
2558
|
+
def update!(**args)
|
2559
|
+
@cert_type = args[:cert_type] if args.key?(:cert_type)
|
2560
|
+
@ssh_client_cert = args[:ssh_client_cert] if args.key?(:ssh_client_cert)
|
2561
|
+
@ssh_client_cert_pass = args[:ssh_client_cert_pass] if args.key?(:ssh_client_cert_pass)
|
2562
|
+
@username = args[:username] if args.key?(:username)
|
2563
|
+
end
|
2564
|
+
end
|
2565
|
+
|
2566
|
+
# Parameters to support Username and Password Authentication.
|
2567
|
+
class EndUserAuthenticationConfigUserPassword
|
2568
|
+
include Google::Apis::Core::Hashable
|
2569
|
+
|
2570
|
+
# string version reference containing the password.
|
2571
|
+
# Corresponds to the JSON property `password`
|
2572
|
+
# @return [String]
|
2573
|
+
attr_accessor :password
|
2574
|
+
|
2575
|
+
# Username.
|
2576
|
+
# Corresponds to the JSON property `username`
|
2577
|
+
# @return [String]
|
2578
|
+
attr_accessor :username
|
2579
|
+
|
2580
|
+
def initialize(**args)
|
2581
|
+
update!(**args)
|
2582
|
+
end
|
2583
|
+
|
2584
|
+
# Update properties of this object
|
2585
|
+
def update!(**args)
|
2586
|
+
@password = args[:password] if args.key?(:password)
|
2587
|
+
@username = args[:username] if args.key?(:username)
|
2588
|
+
end
|
2589
|
+
end
|
2590
|
+
|
2591
|
+
# EndUserAuthenticationConfigVariable represents a configuration variable
|
2592
|
+
# present in a EndUserAuthentication.
|
2593
|
+
class EndUserAuthenticationConfigVariable
|
2594
|
+
include Google::Apis::Core::Hashable
|
2595
|
+
|
2596
|
+
# Value is a bool.
|
2597
|
+
# Corresponds to the JSON property `boolValue`
|
2598
|
+
# @return [Boolean]
|
2599
|
+
attr_accessor :bool_value
|
2600
|
+
alias_method :bool_value?, :bool_value
|
2601
|
+
|
2602
|
+
# Value is an integer
|
2603
|
+
# Corresponds to the JSON property `intValue`
|
2604
|
+
# @return [Fixnum]
|
2605
|
+
attr_accessor :int_value
|
2606
|
+
|
2607
|
+
# Required. Key of the config variable.
|
2608
|
+
# Corresponds to the JSON property `key`
|
2609
|
+
# @return [String]
|
2610
|
+
attr_accessor :key
|
2611
|
+
|
2612
|
+
# Secret provides a reference to entries in Secret Manager.
|
2613
|
+
# Corresponds to the JSON property `secretValue`
|
2614
|
+
# @return [Google::Apis::ConnectorsV1::Secret]
|
2615
|
+
attr_accessor :secret_value
|
2616
|
+
|
2617
|
+
# Value is a string.
|
2618
|
+
# Corresponds to the JSON property `stringValue`
|
2619
|
+
# @return [String]
|
2620
|
+
attr_accessor :string_value
|
2621
|
+
|
2622
|
+
def initialize(**args)
|
2623
|
+
update!(**args)
|
2624
|
+
end
|
2625
|
+
|
2626
|
+
# Update properties of this object
|
2627
|
+
def update!(**args)
|
2628
|
+
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
2629
|
+
@int_value = args[:int_value] if args.key?(:int_value)
|
2630
|
+
@key = args[:key] if args.key?(:key)
|
2631
|
+
@secret_value = args[:secret_value] if args.key?(:secret_value)
|
2632
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
2633
|
+
end
|
2634
|
+
end
|
2635
|
+
|
2636
|
+
# EndUserAuthentication Status denotes the status of the EndUserAuthentication
|
2637
|
+
# resource.
|
2638
|
+
class EndUserAuthenticationEndUserAuthenticationStatus
|
2639
|
+
include Google::Apis::Core::Hashable
|
2640
|
+
|
2641
|
+
# Output only. Description of the state.
|
2642
|
+
# Corresponds to the JSON property `description`
|
2643
|
+
# @return [String]
|
2644
|
+
attr_accessor :description
|
2645
|
+
|
2646
|
+
# Output only. State of Event Subscription resource.
|
2647
|
+
# Corresponds to the JSON property `state`
|
2648
|
+
# @return [String]
|
2649
|
+
attr_accessor :state
|
2650
|
+
|
2651
|
+
def initialize(**args)
|
2652
|
+
update!(**args)
|
2653
|
+
end
|
2654
|
+
|
2655
|
+
# Update properties of this object
|
2656
|
+
def update!(**args)
|
2657
|
+
@description = args[:description] if args.key?(:description)
|
2658
|
+
@state = args[:state] if args.key?(:state)
|
2659
|
+
end
|
2660
|
+
end
|
2661
|
+
|
2662
|
+
# Message for NotifyEndpointDestination Destination to hit when the refresh
|
2663
|
+
# token is expired.
|
2664
|
+
class EndUserAuthenticationNotifyEndpointDestination
|
2665
|
+
include Google::Apis::Core::Hashable
|
2666
|
+
|
2667
|
+
# Endpoint message includes details of the Destination endpoint.
|
2668
|
+
# Corresponds to the JSON property `endpoint`
|
2669
|
+
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestinationEndPoint]
|
2670
|
+
attr_accessor :endpoint
|
2671
|
+
|
2672
|
+
# Required. Service account needed for runtime plane to notify the backend.
|
2673
|
+
# Corresponds to the JSON property `serviceAccount`
|
2674
|
+
# @return [String]
|
2675
|
+
attr_accessor :service_account
|
2676
|
+
|
2677
|
+
# Required. type of the destination
|
2678
|
+
# Corresponds to the JSON property `type`
|
2679
|
+
# @return [String]
|
2680
|
+
attr_accessor :type
|
2681
|
+
|
2682
|
+
def initialize(**args)
|
2683
|
+
update!(**args)
|
2684
|
+
end
|
2685
|
+
|
2686
|
+
# Update properties of this object
|
2687
|
+
def update!(**args)
|
2688
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
2689
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
2690
|
+
@type = args[:type] if args.key?(:type)
|
2691
|
+
end
|
2692
|
+
end
|
2693
|
+
|
2694
|
+
# Endpoint message includes details of the Destination endpoint.
|
2695
|
+
class EndUserAuthenticationNotifyEndpointDestinationEndPoint
|
2696
|
+
include Google::Apis::Core::Hashable
|
2697
|
+
|
2698
|
+
# Required. The URI of the Endpoint.
|
2699
|
+
# Corresponds to the JSON property `endpointUri`
|
2700
|
+
# @return [String]
|
2701
|
+
attr_accessor :endpoint_uri
|
2702
|
+
|
2703
|
+
# Optional. List of Header to be added to the Endpoint.
|
2704
|
+
# Corresponds to the JSON property `headers`
|
2705
|
+
# @return [Array<Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestinationEndPointHeader>]
|
2706
|
+
attr_accessor :headers
|
2707
|
+
|
2708
|
+
def initialize(**args)
|
2709
|
+
update!(**args)
|
2710
|
+
end
|
2711
|
+
|
2712
|
+
# Update properties of this object
|
2713
|
+
def update!(**args)
|
2714
|
+
@endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
|
2715
|
+
@headers = args[:headers] if args.key?(:headers)
|
2716
|
+
end
|
2717
|
+
end
|
2718
|
+
|
2719
|
+
# Header details for a given header to be added to Endpoint.
|
2720
|
+
class EndUserAuthenticationNotifyEndpointDestinationEndPointHeader
|
2721
|
+
include Google::Apis::Core::Hashable
|
2722
|
+
|
2723
|
+
# Required. Key of Header.
|
2724
|
+
# Corresponds to the JSON property `key`
|
2725
|
+
# @return [String]
|
2726
|
+
attr_accessor :key
|
2727
|
+
|
2728
|
+
# Required. Value of Header.
|
2729
|
+
# Corresponds to the JSON property `value`
|
2730
|
+
# @return [String]
|
2731
|
+
attr_accessor :value
|
2732
|
+
|
2733
|
+
def initialize(**args)
|
2734
|
+
update!(**args)
|
2735
|
+
end
|
2736
|
+
|
2737
|
+
# Update properties of this object
|
2738
|
+
def update!(**args)
|
2739
|
+
@key = args[:key] if args.key?(:key)
|
2740
|
+
@value = args[:value] if args.key?(:value)
|
2741
|
+
end
|
2742
|
+
end
|
2743
|
+
|
2174
2744
|
# represents the Connector's Endpoint Attachment resource
|
2175
2745
|
class EndpointAttachment
|
2176
2746
|
include Google::Apis::Core::Hashable
|
@@ -2493,7 +3063,7 @@ module Google
|
|
2493
3063
|
end
|
2494
3064
|
end
|
2495
3065
|
|
2496
|
-
# Eventing Configuration of a connection
|
3066
|
+
# Eventing Configuration of a connection next: 18
|
2497
3067
|
class EventingConfig
|
2498
3068
|
include Google::Apis::Core::Hashable
|
2499
3069
|
|
@@ -2550,6 +3120,11 @@ module Google
|
|
2550
3120
|
# @return [Google::Apis::ConnectorsV1::DestinationConfig]
|
2551
3121
|
attr_accessor :registration_destination_config
|
2552
3122
|
|
3123
|
+
# SSL Configuration of a connection
|
3124
|
+
# Corresponds to the JSON property `sslConfig`
|
3125
|
+
# @return [Google::Apis::ConnectorsV1::SslConfig]
|
3126
|
+
attr_accessor :ssl_config
|
3127
|
+
|
2553
3128
|
def initialize(**args)
|
2554
3129
|
update!(**args)
|
2555
3130
|
end
|
@@ -2566,10 +3141,11 @@ module Google
|
|
2566
3141
|
@private_connectivity_enabled = args[:private_connectivity_enabled] if args.key?(:private_connectivity_enabled)
|
2567
3142
|
@proxy_destination_config = args[:proxy_destination_config] if args.key?(:proxy_destination_config)
|
2568
3143
|
@registration_destination_config = args[:registration_destination_config] if args.key?(:registration_destination_config)
|
3144
|
+
@ssl_config = args[:ssl_config] if args.key?(:ssl_config)
|
2569
3145
|
end
|
2570
3146
|
end
|
2571
3147
|
|
2572
|
-
# Eventing Config details of a connector version.
|
3148
|
+
# Eventing Config details of a connector version. next: 14
|
2573
3149
|
class EventingConfigTemplate
|
2574
3150
|
include Google::Apis::Core::Hashable
|
2575
3151
|
|
@@ -2635,6 +3211,11 @@ module Google
|
|
2635
3211
|
# @return [Google::Apis::ConnectorsV1::DestinationConfigTemplate]
|
2636
3212
|
attr_accessor :registration_destination_config
|
2637
3213
|
|
3214
|
+
# Ssl config details of a connector version
|
3215
|
+
# Corresponds to the JSON property `sslConfigTemplate`
|
3216
|
+
# @return [Google::Apis::ConnectorsV1::SslConfigTemplate]
|
3217
|
+
attr_accessor :ssl_config_template
|
3218
|
+
|
2638
3219
|
# Trigger Config fields that needs to be rendered
|
2639
3220
|
# Corresponds to the JSON property `triggerConfigVariables`
|
2640
3221
|
# @return [Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>]
|
@@ -2657,6 +3238,7 @@ module Google
|
|
2657
3238
|
@listener_auth_config_templates = args[:listener_auth_config_templates] if args.key?(:listener_auth_config_templates)
|
2658
3239
|
@proxy_destination_config = args[:proxy_destination_config] if args.key?(:proxy_destination_config)
|
2659
3240
|
@registration_destination_config = args[:registration_destination_config] if args.key?(:registration_destination_config)
|
3241
|
+
@ssl_config_template = args[:ssl_config_template] if args.key?(:ssl_config_template)
|
2660
3242
|
@trigger_config_variables = args[:trigger_config_variables] if args.key?(:trigger_config_variables)
|
2661
3243
|
end
|
2662
3244
|
end
|
@@ -3640,6 +4222,37 @@ module Google
|
|
3640
4222
|
end
|
3641
4223
|
end
|
3642
4224
|
|
4225
|
+
# Response message for ConnectorsService.ListEndUserAuthentications
|
4226
|
+
class ListEndUserAuthenticationsResponse
|
4227
|
+
include Google::Apis::Core::Hashable
|
4228
|
+
|
4229
|
+
# Subscriptions.
|
4230
|
+
# Corresponds to the JSON property `endUserAuthentications`
|
4231
|
+
# @return [Array<Google::Apis::ConnectorsV1::EndUserAuthentication>]
|
4232
|
+
attr_accessor :end_user_authentications
|
4233
|
+
|
4234
|
+
# Next page token.
|
4235
|
+
# Corresponds to the JSON property `nextPageToken`
|
4236
|
+
# @return [String]
|
4237
|
+
attr_accessor :next_page_token
|
4238
|
+
|
4239
|
+
# Locations that could not be reached.
|
4240
|
+
# Corresponds to the JSON property `unreachable`
|
4241
|
+
# @return [Array<String>]
|
4242
|
+
attr_accessor :unreachable
|
4243
|
+
|
4244
|
+
def initialize(**args)
|
4245
|
+
update!(**args)
|
4246
|
+
end
|
4247
|
+
|
4248
|
+
# Update properties of this object
|
4249
|
+
def update!(**args)
|
4250
|
+
@end_user_authentications = args[:end_user_authentications] if args.key?(:end_user_authentications)
|
4251
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4252
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
4253
|
+
end
|
4254
|
+
end
|
4255
|
+
|
3643
4256
|
# Response message for ConnectorsService.ListEndpointAttachments
|
3644
4257
|
class ListEndpointAttachmentsResponse
|
3645
4258
|
include Google::Apis::Core::Hashable
|
@@ -4506,6 +5119,43 @@ module Google
|
|
4506
5119
|
end
|
4507
5120
|
end
|
4508
5121
|
|
5122
|
+
# pass only at create and not update using updateMask Auth Code Data
|
5123
|
+
class OAuthTokenData
|
5124
|
+
include Google::Apis::Core::Hashable
|
5125
|
+
|
5126
|
+
# Optional. Access token for the connection.
|
5127
|
+
# Corresponds to the JSON property `accessToken`
|
5128
|
+
# @return [String]
|
5129
|
+
attr_accessor :access_token
|
5130
|
+
|
5131
|
+
# Optional. Timestamp when the access token was created.
|
5132
|
+
# Corresponds to the JSON property `createTime`
|
5133
|
+
# @return [String]
|
5134
|
+
attr_accessor :create_time
|
5135
|
+
|
5136
|
+
# Optional. Time in seconds when the access token expires.
|
5137
|
+
# Corresponds to the JSON property `expiry`
|
5138
|
+
# @return [String]
|
5139
|
+
attr_accessor :expiry
|
5140
|
+
|
5141
|
+
# Optional. Refresh token for the connection.
|
5142
|
+
# Corresponds to the JSON property `refreshToken`
|
5143
|
+
# @return [String]
|
5144
|
+
attr_accessor :refresh_token
|
5145
|
+
|
5146
|
+
def initialize(**args)
|
5147
|
+
update!(**args)
|
5148
|
+
end
|
5149
|
+
|
5150
|
+
# Update properties of this object
|
5151
|
+
def update!(**args)
|
5152
|
+
@access_token = args[:access_token] if args.key?(:access_token)
|
5153
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5154
|
+
@expiry = args[:expiry] if args.key?(:expiry)
|
5155
|
+
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
5156
|
+
end
|
5157
|
+
end
|
5158
|
+
|
4509
5159
|
# Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
|
4510
5160
|
# www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
|
4511
5161
|
class Oauth2AuthCodeFlow
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ConnectorsV1
|
18
18
|
# Version of the google-apis-connectors_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.70.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250415"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -244,6 +244,90 @@ module Google
|
|
244
244
|
include Google::Apis::Core::JsonObjectSupport
|
245
245
|
end
|
246
246
|
|
247
|
+
class EndUserAuthentication
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class EndUserAuthenticationConfig
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class EndUserAuthenticationConfigOauth2AuthCodeFlow
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class EndUserAuthenticationConfigOauth2ClientCredentials
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class EndUserAuthenticationConfigOauth2JwtBearer
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class EndUserAuthenticationConfigOauth2JwtBearerJwtClaims
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class EndUserAuthenticationConfigSshPublicKey
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class EndUserAuthenticationConfigUserPassword
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class EndUserAuthenticationConfigVariable
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class EndUserAuthenticationEndUserAuthenticationStatus
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class EndUserAuthenticationNotifyEndpointDestination
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
319
|
+
class EndUserAuthenticationNotifyEndpointDestinationEndPoint
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class EndUserAuthenticationNotifyEndpointDestinationEndPointHeader
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
247
331
|
class EndpointAttachment
|
248
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
333
|
|
@@ -436,6 +520,12 @@ module Google
|
|
436
520
|
include Google::Apis::Core::JsonObjectSupport
|
437
521
|
end
|
438
522
|
|
523
|
+
class ListEndUserAuthenticationsResponse
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
|
+
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
527
|
+
end
|
528
|
+
|
439
529
|
class ListEndpointAttachmentsResponse
|
440
530
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
531
|
|
@@ -598,6 +688,12 @@ module Google
|
|
598
688
|
include Google::Apis::Core::JsonObjectSupport
|
599
689
|
end
|
600
690
|
|
691
|
+
class OAuthTokenData
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
693
|
+
|
694
|
+
include Google::Apis::Core::JsonObjectSupport
|
695
|
+
end
|
696
|
+
|
601
697
|
class Oauth2AuthCodeFlow
|
602
698
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
699
|
|
@@ -1454,6 +1550,168 @@ module Google
|
|
1454
1550
|
end
|
1455
1551
|
end
|
1456
1552
|
|
1553
|
+
class EndUserAuthentication
|
1554
|
+
# @private
|
1555
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1556
|
+
collection :config_variables, as: 'configVariables', class: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigVariable, decorator: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigVariable::Representation
|
1557
|
+
|
1558
|
+
property :create_time, as: 'createTime'
|
1559
|
+
collection :destination_configs, as: 'destinationConfigs', class: Google::Apis::ConnectorsV1::DestinationConfig, decorator: Google::Apis::ConnectorsV1::DestinationConfig::Representation
|
1560
|
+
|
1561
|
+
property :end_user_authentication_config, as: 'endUserAuthenticationConfig', class: Google::Apis::ConnectorsV1::EndUserAuthenticationConfig, decorator: Google::Apis::ConnectorsV1::EndUserAuthenticationConfig::Representation
|
1562
|
+
|
1563
|
+
collection :labels, as: 'labels'
|
1564
|
+
property :name, as: 'name'
|
1565
|
+
property :notify_endpoint_destination, as: 'notifyEndpointDestination', class: Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestination, decorator: Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestination::Representation
|
1566
|
+
|
1567
|
+
property :status, as: 'status', class: Google::Apis::ConnectorsV1::EndUserAuthenticationEndUserAuthenticationStatus, decorator: Google::Apis::ConnectorsV1::EndUserAuthenticationEndUserAuthenticationStatus::Representation
|
1568
|
+
|
1569
|
+
property :update_time, as: 'updateTime'
|
1570
|
+
property :user_email, as: 'userEmail'
|
1571
|
+
property :user_id, as: 'userId'
|
1572
|
+
end
|
1573
|
+
end
|
1574
|
+
|
1575
|
+
class EndUserAuthenticationConfig
|
1576
|
+
# @private
|
1577
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1578
|
+
collection :additional_variables, as: 'additionalVariables', class: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigVariable, decorator: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigVariable::Representation
|
1579
|
+
|
1580
|
+
property :auth_key, as: 'authKey'
|
1581
|
+
property :auth_type, as: 'authType'
|
1582
|
+
property :oauth2_auth_code_flow, as: 'oauth2AuthCodeFlow', class: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2AuthCodeFlow, decorator: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2AuthCodeFlow::Representation
|
1583
|
+
|
1584
|
+
property :oauth2_auth_code_flow_google_managed, as: 'oauth2AuthCodeFlowGoogleManaged', class: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged, decorator: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged::Representation
|
1585
|
+
|
1586
|
+
property :oauth2_client_credentials, as: 'oauth2ClientCredentials', class: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2ClientCredentials, decorator: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2ClientCredentials::Representation
|
1587
|
+
|
1588
|
+
property :oauth2_jwt_bearer, as: 'oauth2JwtBearer', class: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2JwtBearer, decorator: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2JwtBearer::Representation
|
1589
|
+
|
1590
|
+
property :ssh_public_key, as: 'sshPublicKey', class: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigSshPublicKey, decorator: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigSshPublicKey::Representation
|
1591
|
+
|
1592
|
+
property :user_password, as: 'userPassword', class: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigUserPassword, decorator: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigUserPassword::Representation
|
1593
|
+
|
1594
|
+
end
|
1595
|
+
end
|
1596
|
+
|
1597
|
+
class EndUserAuthenticationConfigOauth2AuthCodeFlow
|
1598
|
+
# @private
|
1599
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1600
|
+
property :auth_code, as: 'authCode'
|
1601
|
+
property :auth_uri, as: 'authUri'
|
1602
|
+
property :client_id, as: 'clientId'
|
1603
|
+
property :client_secret, as: 'clientSecret'
|
1604
|
+
property :enable_pkce, as: 'enablePkce'
|
1605
|
+
property :oauth_token_data, as: 'oauthTokenData', class: Google::Apis::ConnectorsV1::OAuthTokenData, decorator: Google::Apis::ConnectorsV1::OAuthTokenData::Representation
|
1606
|
+
|
1607
|
+
property :pkce_verifier, as: 'pkceVerifier'
|
1608
|
+
property :redirect_uri, as: 'redirectUri'
|
1609
|
+
collection :scopes, as: 'scopes'
|
1610
|
+
end
|
1611
|
+
end
|
1612
|
+
|
1613
|
+
class EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged
|
1614
|
+
# @private
|
1615
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1616
|
+
property :auth_code, as: 'authCode'
|
1617
|
+
property :oauth_token_data, as: 'oauthTokenData', class: Google::Apis::ConnectorsV1::OAuthTokenData, decorator: Google::Apis::ConnectorsV1::OAuthTokenData::Representation
|
1618
|
+
|
1619
|
+
property :redirect_uri, as: 'redirectUri'
|
1620
|
+
collection :scopes, as: 'scopes'
|
1621
|
+
end
|
1622
|
+
end
|
1623
|
+
|
1624
|
+
class EndUserAuthenticationConfigOauth2ClientCredentials
|
1625
|
+
# @private
|
1626
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1627
|
+
property :client_id, as: 'clientId'
|
1628
|
+
property :client_secret, as: 'clientSecret'
|
1629
|
+
end
|
1630
|
+
end
|
1631
|
+
|
1632
|
+
class EndUserAuthenticationConfigOauth2JwtBearer
|
1633
|
+
# @private
|
1634
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1635
|
+
property :client_key, as: 'clientKey'
|
1636
|
+
property :jwt_claims, as: 'jwtClaims', class: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2JwtBearerJwtClaims, decorator: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2JwtBearerJwtClaims::Representation
|
1637
|
+
|
1638
|
+
end
|
1639
|
+
end
|
1640
|
+
|
1641
|
+
class EndUserAuthenticationConfigOauth2JwtBearerJwtClaims
|
1642
|
+
# @private
|
1643
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1644
|
+
property :audience, as: 'audience'
|
1645
|
+
property :issuer, as: 'issuer'
|
1646
|
+
property :subject, as: 'subject'
|
1647
|
+
end
|
1648
|
+
end
|
1649
|
+
|
1650
|
+
class EndUserAuthenticationConfigSshPublicKey
|
1651
|
+
# @private
|
1652
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1653
|
+
property :cert_type, as: 'certType'
|
1654
|
+
property :ssh_client_cert, as: 'sshClientCert'
|
1655
|
+
property :ssh_client_cert_pass, as: 'sshClientCertPass'
|
1656
|
+
property :username, as: 'username'
|
1657
|
+
end
|
1658
|
+
end
|
1659
|
+
|
1660
|
+
class EndUserAuthenticationConfigUserPassword
|
1661
|
+
# @private
|
1662
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1663
|
+
property :password, as: 'password'
|
1664
|
+
property :username, as: 'username'
|
1665
|
+
end
|
1666
|
+
end
|
1667
|
+
|
1668
|
+
class EndUserAuthenticationConfigVariable
|
1669
|
+
# @private
|
1670
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1671
|
+
property :bool_value, as: 'boolValue'
|
1672
|
+
property :int_value, :numeric_string => true, as: 'intValue'
|
1673
|
+
property :key, as: 'key'
|
1674
|
+
property :secret_value, as: 'secretValue', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
|
1675
|
+
|
1676
|
+
property :string_value, as: 'stringValue'
|
1677
|
+
end
|
1678
|
+
end
|
1679
|
+
|
1680
|
+
class EndUserAuthenticationEndUserAuthenticationStatus
|
1681
|
+
# @private
|
1682
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1683
|
+
property :description, as: 'description'
|
1684
|
+
property :state, as: 'state'
|
1685
|
+
end
|
1686
|
+
end
|
1687
|
+
|
1688
|
+
class EndUserAuthenticationNotifyEndpointDestination
|
1689
|
+
# @private
|
1690
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1691
|
+
property :endpoint, as: 'endpoint', class: Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestinationEndPoint, decorator: Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestinationEndPoint::Representation
|
1692
|
+
|
1693
|
+
property :service_account, as: 'serviceAccount'
|
1694
|
+
property :type, as: 'type'
|
1695
|
+
end
|
1696
|
+
end
|
1697
|
+
|
1698
|
+
class EndUserAuthenticationNotifyEndpointDestinationEndPoint
|
1699
|
+
# @private
|
1700
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1701
|
+
property :endpoint_uri, as: 'endpointUri'
|
1702
|
+
collection :headers, as: 'headers', class: Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestinationEndPointHeader, decorator: Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestinationEndPointHeader::Representation
|
1703
|
+
|
1704
|
+
end
|
1705
|
+
end
|
1706
|
+
|
1707
|
+
class EndUserAuthenticationNotifyEndpointDestinationEndPointHeader
|
1708
|
+
# @private
|
1709
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1710
|
+
property :key, as: 'key'
|
1711
|
+
property :value, as: 'value'
|
1712
|
+
end
|
1713
|
+
end
|
1714
|
+
|
1457
1715
|
class EndpointAttachment
|
1458
1716
|
# @private
|
1459
1717
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1558,6 +1816,8 @@ module Google
|
|
1558
1816
|
|
1559
1817
|
property :registration_destination_config, as: 'registrationDestinationConfig', class: Google::Apis::ConnectorsV1::DestinationConfig, decorator: Google::Apis::ConnectorsV1::DestinationConfig::Representation
|
1560
1818
|
|
1819
|
+
property :ssl_config, as: 'sslConfig', class: Google::Apis::ConnectorsV1::SslConfig, decorator: Google::Apis::ConnectorsV1::SslConfig::Representation
|
1820
|
+
|
1561
1821
|
end
|
1562
1822
|
end
|
1563
1823
|
|
@@ -1581,6 +1841,8 @@ module Google
|
|
1581
1841
|
|
1582
1842
|
property :registration_destination_config, as: 'registrationDestinationConfig', class: Google::Apis::ConnectorsV1::DestinationConfigTemplate, decorator: Google::Apis::ConnectorsV1::DestinationConfigTemplate::Representation
|
1583
1843
|
|
1844
|
+
property :ssl_config_template, as: 'sslConfigTemplate', class: Google::Apis::ConnectorsV1::SslConfigTemplate, decorator: Google::Apis::ConnectorsV1::SslConfigTemplate::Representation
|
1845
|
+
|
1584
1846
|
collection :trigger_config_variables, as: 'triggerConfigVariables', class: Google::Apis::ConnectorsV1::ConfigVariableTemplate, decorator: Google::Apis::ConnectorsV1::ConfigVariableTemplate::Representation
|
1585
1847
|
|
1586
1848
|
end
|
@@ -1846,6 +2108,16 @@ module Google
|
|
1846
2108
|
end
|
1847
2109
|
end
|
1848
2110
|
|
2111
|
+
class ListEndUserAuthenticationsResponse
|
2112
|
+
# @private
|
2113
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2114
|
+
collection :end_user_authentications, as: 'endUserAuthentications', class: Google::Apis::ConnectorsV1::EndUserAuthentication, decorator: Google::Apis::ConnectorsV1::EndUserAuthentication::Representation
|
2115
|
+
|
2116
|
+
property :next_page_token, as: 'nextPageToken'
|
2117
|
+
collection :unreachable, as: 'unreachable'
|
2118
|
+
end
|
2119
|
+
end
|
2120
|
+
|
1849
2121
|
class ListEndpointAttachmentsResponse
|
1850
2122
|
# @private
|
1851
2123
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2105,6 +2377,16 @@ module Google
|
|
2105
2377
|
end
|
2106
2378
|
end
|
2107
2379
|
|
2380
|
+
class OAuthTokenData
|
2381
|
+
# @private
|
2382
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2383
|
+
property :access_token, as: 'accessToken'
|
2384
|
+
property :create_time, as: 'createTime'
|
2385
|
+
property :expiry, as: 'expiry'
|
2386
|
+
property :refresh_token, as: 'refreshToken'
|
2387
|
+
end
|
2388
|
+
end
|
2389
|
+
|
2108
2390
|
class Oauth2AuthCodeFlow
|
2109
2391
|
# @private
|
2110
2392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -866,6 +866,192 @@ module Google
|
|
866
866
|
execute_or_queue_command(command, &block)
|
867
867
|
end
|
868
868
|
|
869
|
+
# Creates a new EndUserAuthentication in a given project,location and connection.
|
870
|
+
# @param [String] parent
|
871
|
+
# Required. Parent resource of the EndUserAuthentication, of the form: `projects/
|
872
|
+
# */locations/*/connections/*`
|
873
|
+
# @param [Google::Apis::ConnectorsV1::EndUserAuthentication] end_user_authentication_object
|
874
|
+
# @param [String] end_user_authentication_id
|
875
|
+
# Required. Identifier to assign to the EndUserAuthentication. Must be unique
|
876
|
+
# within scope of the parent resource.
|
877
|
+
# @param [String] fields
|
878
|
+
# Selector specifying which fields to include in a partial response.
|
879
|
+
# @param [String] quota_user
|
880
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
881
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
882
|
+
# @param [Google::Apis::RequestOptions] options
|
883
|
+
# Request-specific options
|
884
|
+
#
|
885
|
+
# @yield [result, err] Result & error if block supplied
|
886
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
887
|
+
# @yieldparam err [StandardError] error object if request failed
|
888
|
+
#
|
889
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
890
|
+
#
|
891
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
892
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
893
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
894
|
+
def create_project_location_connection_end_user_authentication(parent, end_user_authentication_object = nil, end_user_authentication_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
895
|
+
command = make_simple_command(:post, 'v1/{+parent}/endUserAuthentications', options)
|
896
|
+
command.request_representation = Google::Apis::ConnectorsV1::EndUserAuthentication::Representation
|
897
|
+
command.request_object = end_user_authentication_object
|
898
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
899
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
900
|
+
command.params['parent'] = parent unless parent.nil?
|
901
|
+
command.query['endUserAuthenticationId'] = end_user_authentication_id unless end_user_authentication_id.nil?
|
902
|
+
command.query['fields'] = fields unless fields.nil?
|
903
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
904
|
+
execute_or_queue_command(command, &block)
|
905
|
+
end
|
906
|
+
|
907
|
+
# Deletes a single EndUserAuthentication.
|
908
|
+
# @param [String] name
|
909
|
+
# Required. Resource name of the form: `projects/*/locations/*/connections/*/
|
910
|
+
# endUserAuthentication/*`
|
911
|
+
# @param [String] fields
|
912
|
+
# Selector specifying which fields to include in a partial response.
|
913
|
+
# @param [String] quota_user
|
914
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
915
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
916
|
+
# @param [Google::Apis::RequestOptions] options
|
917
|
+
# Request-specific options
|
918
|
+
#
|
919
|
+
# @yield [result, err] Result & error if block supplied
|
920
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
921
|
+
# @yieldparam err [StandardError] error object if request failed
|
922
|
+
#
|
923
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
924
|
+
#
|
925
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
926
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
927
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
928
|
+
def delete_project_location_connection_end_user_authentication(name, fields: nil, quota_user: nil, options: nil, &block)
|
929
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
930
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
931
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
932
|
+
command.params['name'] = name unless name.nil?
|
933
|
+
command.query['fields'] = fields unless fields.nil?
|
934
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
935
|
+
execute_or_queue_command(command, &block)
|
936
|
+
end
|
937
|
+
|
938
|
+
# Gets details of a single EndUserAuthentication.
|
939
|
+
# @param [String] name
|
940
|
+
# Required. Resource name of the form: `projects/*/locations/*/connections/*/
|
941
|
+
# EndUserAuthentications/*`
|
942
|
+
# @param [String] view
|
943
|
+
# Optional. View of the EndUserAuthentication to return.
|
944
|
+
# @param [String] fields
|
945
|
+
# Selector specifying which fields to include in a partial response.
|
946
|
+
# @param [String] quota_user
|
947
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
948
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
949
|
+
# @param [Google::Apis::RequestOptions] options
|
950
|
+
# Request-specific options
|
951
|
+
#
|
952
|
+
# @yield [result, err] Result & error if block supplied
|
953
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::EndUserAuthentication] parsed result object
|
954
|
+
# @yieldparam err [StandardError] error object if request failed
|
955
|
+
#
|
956
|
+
# @return [Google::Apis::ConnectorsV1::EndUserAuthentication]
|
957
|
+
#
|
958
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
959
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
960
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
961
|
+
def get_project_location_connection_end_user_authentication(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
962
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
963
|
+
command.response_representation = Google::Apis::ConnectorsV1::EndUserAuthentication::Representation
|
964
|
+
command.response_class = Google::Apis::ConnectorsV1::EndUserAuthentication
|
965
|
+
command.params['name'] = name unless name.nil?
|
966
|
+
command.query['view'] = view unless view.nil?
|
967
|
+
command.query['fields'] = fields unless fields.nil?
|
968
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
969
|
+
execute_or_queue_command(command, &block)
|
970
|
+
end
|
971
|
+
|
972
|
+
# List EndUserAuthentications in a given project,location and connection.
|
973
|
+
# @param [String] parent
|
974
|
+
# Required. Parent resource of the EndUserAuthentication, of the form: `projects/
|
975
|
+
# */locations/*/connections/*`
|
976
|
+
# @param [String] filter
|
977
|
+
# Filter.
|
978
|
+
# @param [String] order_by
|
979
|
+
# Order by parameters.
|
980
|
+
# @param [Fixnum] page_size
|
981
|
+
# Page size.
|
982
|
+
# @param [String] page_token
|
983
|
+
# Page token.
|
984
|
+
# @param [String] fields
|
985
|
+
# Selector specifying which fields to include in a partial response.
|
986
|
+
# @param [String] quota_user
|
987
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
988
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
989
|
+
# @param [Google::Apis::RequestOptions] options
|
990
|
+
# Request-specific options
|
991
|
+
#
|
992
|
+
# @yield [result, err] Result & error if block supplied
|
993
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::ListEndUserAuthenticationsResponse] parsed result object
|
994
|
+
# @yieldparam err [StandardError] error object if request failed
|
995
|
+
#
|
996
|
+
# @return [Google::Apis::ConnectorsV1::ListEndUserAuthenticationsResponse]
|
997
|
+
#
|
998
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
999
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1000
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1001
|
+
def list_project_location_connection_end_user_authentications(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1002
|
+
command = make_simple_command(:get, 'v1/{+parent}/endUserAuthentications', options)
|
1003
|
+
command.response_representation = Google::Apis::ConnectorsV1::ListEndUserAuthenticationsResponse::Representation
|
1004
|
+
command.response_class = Google::Apis::ConnectorsV1::ListEndUserAuthenticationsResponse
|
1005
|
+
command.params['parent'] = parent unless parent.nil?
|
1006
|
+
command.query['filter'] = filter unless filter.nil?
|
1007
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1008
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1009
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1010
|
+
command.query['fields'] = fields unless fields.nil?
|
1011
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1012
|
+
execute_or_queue_command(command, &block)
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
# Updates the parameters of a single EndUserAuthentication.
|
1016
|
+
# @param [String] name
|
1017
|
+
# Required. Identifier. Resource name of the EndUserAuthentication. Format:
|
1018
|
+
# projects/`project`/locations/`location`/connections/`connection`/
|
1019
|
+
# endUserAuthentications/`end_user_authentication`
|
1020
|
+
# @param [Google::Apis::ConnectorsV1::EndUserAuthentication] end_user_authentication_object
|
1021
|
+
# @param [String] update_mask
|
1022
|
+
# Required. The list of fields to update. A field will be overwritten if it is
|
1023
|
+
# in the mask. You can modify only the fields listed below. To update the
|
1024
|
+
# EndUserAuthentication details: * `notify_endpoint_destination`
|
1025
|
+
# @param [String] fields
|
1026
|
+
# Selector specifying which fields to include in a partial response.
|
1027
|
+
# @param [String] quota_user
|
1028
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1029
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1030
|
+
# @param [Google::Apis::RequestOptions] options
|
1031
|
+
# Request-specific options
|
1032
|
+
#
|
1033
|
+
# @yield [result, err] Result & error if block supplied
|
1034
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
1035
|
+
# @yieldparam err [StandardError] error object if request failed
|
1036
|
+
#
|
1037
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
1038
|
+
#
|
1039
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1040
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1041
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1042
|
+
def patch_project_location_connection_end_user_authentication(name, end_user_authentication_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1043
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1044
|
+
command.request_representation = Google::Apis::ConnectorsV1::EndUserAuthentication::Representation
|
1045
|
+
command.request_object = end_user_authentication_object
|
1046
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
1047
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
1048
|
+
command.params['name'] = name unless name.nil?
|
1049
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1050
|
+
command.query['fields'] = fields unless fields.nil?
|
1051
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1052
|
+
execute_or_queue_command(command, &block)
|
1053
|
+
end
|
1054
|
+
|
869
1055
|
# Creates a new EventSubscription in a given project,location and connection.
|
870
1056
|
# @param [String] parent
|
871
1057
|
# Required. Parent resource of the EventSubscription, of the form: `projects/*/
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-connectors_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.70.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-04-
|
10
|
+
date: 2025-04-27 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.70.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|