google-apis-connectors_v1 0.68.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.
@@ -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
@@ -1227,6 +1227,12 @@ module Google
1227
1227
  attr_accessor :provision_cloud_spanner
1228
1228
  alias_method :provision_cloud_spanner?, :provision_cloud_spanner
1229
1229
 
1230
+ # Indicate whether memstore is required for connector job.
1231
+ # Corresponds to the JSON property `provisionMemstore`
1232
+ # @return [Boolean]
1233
+ attr_accessor :provision_memstore
1234
+ alias_method :provision_memstore?, :provision_memstore
1235
+
1230
1236
  # Max QPS supported by the connector version before throttling of requests.
1231
1237
  # Corresponds to the JSON property `ratelimitThreshold`
1232
1238
  # @return [Fixnum]
@@ -1263,6 +1269,7 @@ module Google
1263
1269
  @migrate_deployment_model = args[:migrate_deployment_model] if args.key?(:migrate_deployment_model)
1264
1270
  @migrate_tls = args[:migrate_tls] if args.key?(:migrate_tls)
1265
1271
  @provision_cloud_spanner = args[:provision_cloud_spanner] if args.key?(:provision_cloud_spanner)
1272
+ @provision_memstore = args[:provision_memstore] if args.key?(:provision_memstore)
1266
1273
  @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold)
1267
1274
  @resource_limits = args[:resource_limits] if args.key?(:resource_limits)
1268
1275
  @resource_requests = args[:resource_requests] if args.key?(:resource_requests)
@@ -1319,7 +1326,7 @@ module Google
1319
1326
  # @return [Google::Apis::ConnectorsV1::EgressControlConfig]
1320
1327
  attr_accessor :egress_control_config
1321
1328
 
1322
- # Eventing Config details of a connector version.
1329
+ # Eventing Config details of a connector version. next: 14
1323
1330
  # Corresponds to the JSON property `eventingConfigTemplate`
1324
1331
  # @return [Google::Apis::ConnectorsV1::EventingConfigTemplate]
1325
1332
  attr_accessor :eventing_config_template
@@ -1984,41 +1991,564 @@ module Google
1984
1991
  # @return [String]
1985
1992
  attr_accessor :description
1986
1993
 
1987
- # Display name of the parameter.
1988
- # Corresponds to the JSON property `displayName`
1994
+ # Display name of the parameter.
1995
+ # Corresponds to the JSON property `displayName`
1996
+ # @return [String]
1997
+ attr_accessor :display_name
1998
+
1999
+ # Whether the current destination tempalate is part of Advanced settings
2000
+ # Corresponds to the JSON property `isAdvanced`
2001
+ # @return [Boolean]
2002
+ attr_accessor :is_advanced
2003
+ alias_method :is_advanced?, :is_advanced
2004
+
2005
+ # Key of the destination.
2006
+ # Corresponds to the JSON property `key`
2007
+ # @return [String]
2008
+ attr_accessor :key
2009
+
2010
+ # The maximum number of destinations supported for this key.
2011
+ # Corresponds to the JSON property `max`
2012
+ # @return [Fixnum]
2013
+ attr_accessor :max
2014
+
2015
+ # The minimum number of destinations supported for this key.
2016
+ # Corresponds to the JSON property `min`
2017
+ # @return [Fixnum]
2018
+ attr_accessor :min
2019
+
2020
+ # Whether port number should be provided by customers.
2021
+ # Corresponds to the JSON property `portFieldType`
2022
+ # @return [String]
2023
+ attr_accessor :port_field_type
2024
+
2025
+ # Regex pattern for host.
2026
+ # Corresponds to the JSON property `regexPattern`
2027
+ # @return [String]
2028
+ attr_accessor :regex_pattern
2029
+
2030
+ def initialize(**args)
2031
+ update!(**args)
2032
+ end
2033
+
2034
+ # Update properties of this object
2035
+ def update!(**args)
2036
+ @autocomplete_suggestions = args[:autocomplete_suggestions] if args.key?(:autocomplete_suggestions)
2037
+ @default_port = args[:default_port] if args.key?(:default_port)
2038
+ @description = args[:description] if args.key?(:description)
2039
+ @display_name = args[:display_name] if args.key?(:display_name)
2040
+ @is_advanced = args[:is_advanced] if args.key?(:is_advanced)
2041
+ @key = args[:key] if args.key?(:key)
2042
+ @max = args[:max] if args.key?(:max)
2043
+ @min = args[:min] if args.key?(:min)
2044
+ @port_field_type = args[:port_field_type] if args.key?(:port_field_type)
2045
+ @regex_pattern = args[:regex_pattern] if args.key?(:regex_pattern)
2046
+ end
2047
+ end
2048
+
2049
+ # Egress control config for connector runtime. These configurations define the
2050
+ # rules to identify which outbound domains/hosts needs to be whitelisted. It may
2051
+ # be a static information for a particular connector version or it is derived
2052
+ # from the configurations provided by the customer in Connection resource.
2053
+ class EgressControlConfig
2054
+ include Google::Apis::Core::Hashable
2055
+
2056
+ # Static Comma separated backends which are common for all Connection resources.
2057
+ # Supported formats for each backend are host:port or just host (host can be ip
2058
+ # address or domain name).
2059
+ # Corresponds to the JSON property `backends`
2060
+ # @return [String]
2061
+ attr_accessor :backends
2062
+
2063
+ # Extraction Rules to identity the backends from customer provided configuration
2064
+ # in Connection resource.
2065
+ # Corresponds to the JSON property `extractionRules`
2066
+ # @return [Google::Apis::ConnectorsV1::ExtractionRules]
2067
+ attr_accessor :extraction_rules
2068
+
2069
+ def initialize(**args)
2070
+ update!(**args)
2071
+ end
2072
+
2073
+ # Update properties of this object
2074
+ def update!(**args)
2075
+ @backends = args[:backends] if args.key?(:backends)
2076
+ @extraction_rules = args[:extraction_rules] if args.key?(:extraction_rules)
2077
+ end
2078
+ end
2079
+
2080
+ # A generic empty message that you can re-use to avoid defining duplicated empty
2081
+ # messages in your APIs. A typical example is to use it as the request or the
2082
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
2083
+ # protobuf.Empty) returns (google.protobuf.Empty); `
2084
+ class Empty
2085
+ include Google::Apis::Core::Hashable
2086
+
2087
+ def initialize(**args)
2088
+ update!(**args)
2089
+ end
2090
+
2091
+ # Update properties of this object
2092
+ def update!(**args)
2093
+ end
2094
+ end
2095
+
2096
+ # Regional encryption config for CMEK details.
2097
+ class EncryptionConfig
2098
+ include Google::Apis::Core::Hashable
2099
+
2100
+ # Optional. Encryption type for the region.
2101
+ # Corresponds to the JSON property `encryptionType`
2102
+ # @return [String]
2103
+ attr_accessor :encryption_type
2104
+
2105
+ # Optional. KMS crypto key. This field accepts identifiers of the form `projects/
2106
+ # `project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/ `crypto_key``
2107
+ # Corresponds to the JSON property `kmsKeyName`
2108
+ # @return [String]
2109
+ attr_accessor :kms_key_name
2110
+
2111
+ def initialize(**args)
2112
+ update!(**args)
2113
+ end
2114
+
2115
+ # Update properties of this object
2116
+ def update!(**args)
2117
+ @encryption_type = args[:encryption_type] if args.key?(:encryption_type)
2118
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2119
+ end
2120
+ end
2121
+
2122
+ # Encryption Key value.
2123
+ class EncryptionKey
2124
+ include Google::Apis::Core::Hashable
2125
+
2126
+ # The [KMS key name] with which the content of the Operation is encrypted. The
2127
+ # expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be
2128
+ # empty string if google managed.
2129
+ # Corresponds to the JSON property `kmsKeyName`
2130
+ # @return [String]
2131
+ attr_accessor :kms_key_name
2132
+
2133
+ # Type.
2134
+ # Corresponds to the JSON property `type`
2135
+ # @return [String]
2136
+ attr_accessor :type
2137
+
2138
+ def initialize(**args)
2139
+ update!(**args)
2140
+ end
2141
+
2142
+ # Update properties of this object
2143
+ def update!(**args)
2144
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2145
+ @type = args[:type] if args.key?(:type)
2146
+ end
2147
+ end
2148
+
2149
+ # Endpoint message includes details of the Destination endpoint.
2150
+ class EndPoint
2151
+ include Google::Apis::Core::Hashable
2152
+
2153
+ # The URI of the Endpoint.
2154
+ # Corresponds to the JSON property `endpointUri`
2155
+ # @return [String]
2156
+ attr_accessor :endpoint_uri
2157
+
2158
+ # List of Header to be added to the Endpoint.
2159
+ # Corresponds to the JSON property `headers`
2160
+ # @return [Array<Google::Apis::ConnectorsV1::Header>]
2161
+ attr_accessor :headers
2162
+
2163
+ def initialize(**args)
2164
+ update!(**args)
2165
+ end
2166
+
2167
+ # Update properties of this object
2168
+ def update!(**args)
2169
+ @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
2170
+ @headers = args[:headers] if args.key?(:headers)
2171
+ end
2172
+ end
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`
1989
2514
  # @return [String]
1990
- attr_accessor :display_name
2515
+ attr_accessor :subject
1991
2516
 
1992
- # Whether the current destination tempalate is part of Advanced settings
1993
- # Corresponds to the JSON property `isAdvanced`
1994
- # @return [Boolean]
1995
- attr_accessor :is_advanced
1996
- alias_method :is_advanced?, :is_advanced
2517
+ def initialize(**args)
2518
+ update!(**args)
2519
+ end
1997
2520
 
1998
- # Key of the destination.
1999
- # Corresponds to the JSON property `key`
2000
- # @return [String]
2001
- attr_accessor :key
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
2002
2528
 
2003
- # The maximum number of destinations supported for this key.
2004
- # Corresponds to the JSON property `max`
2005
- # @return [Fixnum]
2006
- attr_accessor :max
2529
+ # Parameters to support Ssh public key Authentication.
2530
+ class EndUserAuthenticationConfigSshPublicKey
2531
+ include Google::Apis::Core::Hashable
2007
2532
 
2008
- # The minimum number of destinations supported for this key.
2009
- # Corresponds to the JSON property `min`
2010
- # @return [Fixnum]
2011
- attr_accessor :min
2533
+ # Format of SSH Client cert.
2534
+ # Corresponds to the JSON property `certType`
2535
+ # @return [String]
2536
+ attr_accessor :cert_type
2012
2537
 
2013
- # Whether port number should be provided by customers.
2014
- # Corresponds to the JSON property `portFieldType`
2538
+ # Required. SSH Client Cert. It should contain both public and private key.
2539
+ # Corresponds to the JSON property `sshClientCert`
2015
2540
  # @return [String]
2016
- attr_accessor :port_field_type
2541
+ attr_accessor :ssh_client_cert
2017
2542
 
2018
- # Regex pattern for host.
2019
- # Corresponds to the JSON property `regexPattern`
2543
+ # Required. Password (passphrase) for ssh client certificate if it has one.
2544
+ # Corresponds to the JSON property `sshClientCertPass`
2020
2545
  # @return [String]
2021
- attr_accessor :regex_pattern
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
2022
2552
 
2023
2553
  def initialize(**args)
2024
2554
  update!(**args)
@@ -2026,38 +2556,26 @@ module Google
2026
2556
 
2027
2557
  # Update properties of this object
2028
2558
  def update!(**args)
2029
- @autocomplete_suggestions = args[:autocomplete_suggestions] if args.key?(:autocomplete_suggestions)
2030
- @default_port = args[:default_port] if args.key?(:default_port)
2031
- @description = args[:description] if args.key?(:description)
2032
- @display_name = args[:display_name] if args.key?(:display_name)
2033
- @is_advanced = args[:is_advanced] if args.key?(:is_advanced)
2034
- @key = args[:key] if args.key?(:key)
2035
- @max = args[:max] if args.key?(:max)
2036
- @min = args[:min] if args.key?(:min)
2037
- @port_field_type = args[:port_field_type] if args.key?(:port_field_type)
2038
- @regex_pattern = args[:regex_pattern] if args.key?(:regex_pattern)
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)
2039
2563
  end
2040
2564
  end
2041
2565
 
2042
- # Egress control config for connector runtime. These configurations define the
2043
- # rules to identify which outbound domains/hosts needs to be whitelisted. It may
2044
- # be a static information for a particular connector version or it is derived
2045
- # from the configurations provided by the customer in Connection resource.
2046
- class EgressControlConfig
2566
+ # Parameters to support Username and Password Authentication.
2567
+ class EndUserAuthenticationConfigUserPassword
2047
2568
  include Google::Apis::Core::Hashable
2048
2569
 
2049
- # Static Comma separated backends which are common for all Connection resources.
2050
- # Supported formats for each backend are host:port or just host (host can be ip
2051
- # address or domain name).
2052
- # Corresponds to the JSON property `backends`
2570
+ # string version reference containing the password.
2571
+ # Corresponds to the JSON property `password`
2053
2572
  # @return [String]
2054
- attr_accessor :backends
2573
+ attr_accessor :password
2055
2574
 
2056
- # Extraction Rules to identity the backends from customer provided configuration
2057
- # in Connection resource.
2058
- # Corresponds to the JSON property `extractionRules`
2059
- # @return [Google::Apis::ConnectorsV1::ExtractionRules]
2060
- attr_accessor :extraction_rules
2575
+ # Username.
2576
+ # Corresponds to the JSON property `username`
2577
+ # @return [String]
2578
+ attr_accessor :username
2061
2579
 
2062
2580
  def initialize(**args)
2063
2581
  update!(**args)
@@ -2065,41 +2583,70 @@ module Google
2065
2583
 
2066
2584
  # Update properties of this object
2067
2585
  def update!(**args)
2068
- @backends = args[:backends] if args.key?(:backends)
2069
- @extraction_rules = args[:extraction_rules] if args.key?(:extraction_rules)
2586
+ @password = args[:password] if args.key?(:password)
2587
+ @username = args[:username] if args.key?(:username)
2070
2588
  end
2071
2589
  end
2072
2590
 
2073
- # A generic empty message that you can re-use to avoid defining duplicated empty
2074
- # messages in your APIs. A typical example is to use it as the request or the
2075
- # response type of an API method. For instance: service Foo ` rpc Bar(google.
2076
- # protobuf.Empty) returns (google.protobuf.Empty); `
2077
- class Empty
2591
+ # EndUserAuthenticationConfigVariable represents a configuration variable
2592
+ # present in a EndUserAuthentication.
2593
+ class EndUserAuthenticationConfigVariable
2078
2594
  include Google::Apis::Core::Hashable
2079
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
+
2080
2622
  def initialize(**args)
2081
2623
  update!(**args)
2082
2624
  end
2083
2625
 
2084
2626
  # Update properties of this object
2085
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)
2086
2633
  end
2087
2634
  end
2088
2635
 
2089
- # Regional encryption config for CMEK details.
2090
- class EncryptionConfig
2636
+ # EndUserAuthentication Status denotes the status of the EndUserAuthentication
2637
+ # resource.
2638
+ class EndUserAuthenticationEndUserAuthenticationStatus
2091
2639
  include Google::Apis::Core::Hashable
2092
2640
 
2093
- # Optional. Encryption type for the region.
2094
- # Corresponds to the JSON property `encryptionType`
2641
+ # Output only. Description of the state.
2642
+ # Corresponds to the JSON property `description`
2095
2643
  # @return [String]
2096
- attr_accessor :encryption_type
2644
+ attr_accessor :description
2097
2645
 
2098
- # Optional. KMS crypto key. This field accepts identifiers of the form `projects/
2099
- # `project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/ `crypto_key``
2100
- # Corresponds to the JSON property `kmsKeyName`
2646
+ # Output only. State of Event Subscription resource.
2647
+ # Corresponds to the JSON property `state`
2101
2648
  # @return [String]
2102
- attr_accessor :kms_key_name
2649
+ attr_accessor :state
2103
2650
 
2104
2651
  def initialize(**args)
2105
2652
  update!(**args)
@@ -2107,23 +2654,27 @@ module Google
2107
2654
 
2108
2655
  # Update properties of this object
2109
2656
  def update!(**args)
2110
- @encryption_type = args[:encryption_type] if args.key?(:encryption_type)
2111
- @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2657
+ @description = args[:description] if args.key?(:description)
2658
+ @state = args[:state] if args.key?(:state)
2112
2659
  end
2113
2660
  end
2114
2661
 
2115
- # Encryption Key value.
2116
- class EncryptionKey
2662
+ # Message for NotifyEndpointDestination Destination to hit when the refresh
2663
+ # token is expired.
2664
+ class EndUserAuthenticationNotifyEndpointDestination
2117
2665
  include Google::Apis::Core::Hashable
2118
2666
 
2119
- # The [KMS key name] with which the content of the Operation is encrypted. The
2120
- # expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be
2121
- # empty string if google managed.
2122
- # Corresponds to the JSON property `kmsKeyName`
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`
2123
2674
  # @return [String]
2124
- attr_accessor :kms_key_name
2675
+ attr_accessor :service_account
2125
2676
 
2126
- # Type.
2677
+ # Required. type of the destination
2127
2678
  # Corresponds to the JSON property `type`
2128
2679
  # @return [String]
2129
2680
  attr_accessor :type
@@ -2134,23 +2685,24 @@ module Google
2134
2685
 
2135
2686
  # Update properties of this object
2136
2687
  def update!(**args)
2137
- @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2688
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
2689
+ @service_account = args[:service_account] if args.key?(:service_account)
2138
2690
  @type = args[:type] if args.key?(:type)
2139
2691
  end
2140
2692
  end
2141
2693
 
2142
2694
  # Endpoint message includes details of the Destination endpoint.
2143
- class EndPoint
2695
+ class EndUserAuthenticationNotifyEndpointDestinationEndPoint
2144
2696
  include Google::Apis::Core::Hashable
2145
2697
 
2146
- # The URI of the Endpoint.
2698
+ # Required. The URI of the Endpoint.
2147
2699
  # Corresponds to the JSON property `endpointUri`
2148
2700
  # @return [String]
2149
2701
  attr_accessor :endpoint_uri
2150
2702
 
2151
- # List of Header to be added to the Endpoint.
2703
+ # Optional. List of Header to be added to the Endpoint.
2152
2704
  # Corresponds to the JSON property `headers`
2153
- # @return [Array<Google::Apis::ConnectorsV1::Header>]
2705
+ # @return [Array<Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestinationEndPointHeader>]
2154
2706
  attr_accessor :headers
2155
2707
 
2156
2708
  def initialize(**args)
@@ -2164,6 +2716,31 @@ module Google
2164
2716
  end
2165
2717
  end
2166
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
+
2167
2744
  # represents the Connector's Endpoint Attachment resource
2168
2745
  class EndpointAttachment
2169
2746
  include Google::Apis::Core::Hashable
@@ -2486,7 +3063,7 @@ module Google
2486
3063
  end
2487
3064
  end
2488
3065
 
2489
- # Eventing Configuration of a connection
3066
+ # Eventing Configuration of a connection next: 18
2490
3067
  class EventingConfig
2491
3068
  include Google::Apis::Core::Hashable
2492
3069
 
@@ -2543,6 +3120,11 @@ module Google
2543
3120
  # @return [Google::Apis::ConnectorsV1::DestinationConfig]
2544
3121
  attr_accessor :registration_destination_config
2545
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
+
2546
3128
  def initialize(**args)
2547
3129
  update!(**args)
2548
3130
  end
@@ -2559,10 +3141,11 @@ module Google
2559
3141
  @private_connectivity_enabled = args[:private_connectivity_enabled] if args.key?(:private_connectivity_enabled)
2560
3142
  @proxy_destination_config = args[:proxy_destination_config] if args.key?(:proxy_destination_config)
2561
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)
2562
3145
  end
2563
3146
  end
2564
3147
 
2565
- # Eventing Config details of a connector version.
3148
+ # Eventing Config details of a connector version. next: 14
2566
3149
  class EventingConfigTemplate
2567
3150
  include Google::Apis::Core::Hashable
2568
3151
 
@@ -2628,6 +3211,11 @@ module Google
2628
3211
  # @return [Google::Apis::ConnectorsV1::DestinationConfigTemplate]
2629
3212
  attr_accessor :registration_destination_config
2630
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
+
2631
3219
  # Trigger Config fields that needs to be rendered
2632
3220
  # Corresponds to the JSON property `triggerConfigVariables`
2633
3221
  # @return [Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>]
@@ -2650,6 +3238,7 @@ module Google
2650
3238
  @listener_auth_config_templates = args[:listener_auth_config_templates] if args.key?(:listener_auth_config_templates)
2651
3239
  @proxy_destination_config = args[:proxy_destination_config] if args.key?(:proxy_destination_config)
2652
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)
2653
3242
  @trigger_config_variables = args[:trigger_config_variables] if args.key?(:trigger_config_variables)
2654
3243
  end
2655
3244
  end
@@ -3633,6 +4222,37 @@ module Google
3633
4222
  end
3634
4223
  end
3635
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
+
3636
4256
  # Response message for ConnectorsService.ListEndpointAttachments
3637
4257
  class ListEndpointAttachmentsResponse
3638
4258
  include Google::Apis::Core::Hashable
@@ -3784,6 +4404,11 @@ module Google
3784
4404
  # @return [String]
3785
4405
  attr_accessor :next_page_token
3786
4406
 
4407
+ # Locations that could not be reached.
4408
+ # Corresponds to the JSON property `unreachable`
4409
+ # @return [Array<String>]
4410
+ attr_accessor :unreachable
4411
+
3787
4412
  def initialize(**args)
3788
4413
  update!(**args)
3789
4414
  end
@@ -3792,6 +4417,7 @@ module Google
3792
4417
  def update!(**args)
3793
4418
  @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
3794
4419
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4420
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
3795
4421
  end
3796
4422
  end
3797
4423
 
@@ -4493,6 +5119,43 @@ module Google
4493
5119
  end
4494
5120
  end
4495
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
+
4496
5159
  # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
4497
5160
  # www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
4498
5161
  class Oauth2AuthCodeFlow