google-apis-connectors_v1 0.71.0 → 0.72.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.
@@ -97,17 +97,17 @@ module Google
97
97
  class AuthConfig
98
98
  include Google::Apis::Core::Hashable
99
99
 
100
- # List containing additional auth configs.
100
+ # Optional. List containing additional auth configs.
101
101
  # Corresponds to the JSON property `additionalVariables`
102
102
  # @return [Array<Google::Apis::ConnectorsV1::ConfigVariable>]
103
103
  attr_accessor :additional_variables
104
104
 
105
- # Identifier key for auth config
105
+ # Optional. Identifier key for auth config
106
106
  # Corresponds to the JSON property `authKey`
107
107
  # @return [String]
108
108
  attr_accessor :auth_key
109
109
 
110
- # The type of authentication configured.
110
+ # Optional. The type of authentication configured.
111
111
  # Corresponds to the JSON property `authType`
112
112
  # @return [String]
113
113
  attr_accessor :auth_type
@@ -588,7 +588,7 @@ module Google
588
588
  # @return [Fixnum]
589
589
  attr_accessor :int_value
590
590
 
591
- # Key of the config variable.
591
+ # Optional. Key of the config variable.
592
592
  # Corresponds to the JSON property `key`
593
593
  # @return [String]
594
594
  attr_accessor :key
@@ -814,6 +814,11 @@ module Google
814
814
  # @return [String]
815
815
  attr_accessor :envoy_image_location
816
816
 
817
+ # AuthConfig defines details of a authentication type.
818
+ # Corresponds to the JSON property `euaOauthAuthConfig`
819
+ # @return [Google::Apis::ConnectorsV1::AuthConfig]
820
+ attr_accessor :eua_oauth_auth_config
821
+
817
822
  # Eventing Configuration of a connection next: 18
818
823
  # Corresponds to the JSON property `eventingConfig`
819
824
  # @return [Google::Apis::ConnectorsV1::EventingConfig]
@@ -830,6 +835,15 @@ module Google
830
835
  # @return [Google::Apis::ConnectorsV1::EventingRuntimeData]
831
836
  attr_accessor :eventing_runtime_data
832
837
 
838
+ # Optional. Fallback on admin credentials for the connection. If this both
839
+ # auth_override_enabled and fallback_on_admin_credentials are set to true, the
840
+ # connection will use the admin credentials if the dynamic auth header is not
841
+ # present during auth override.
842
+ # Corresponds to the JSON property `fallbackOnAdminCredentials`
843
+ # @return [Boolean]
844
+ attr_accessor :fallback_on_admin_credentials
845
+ alias_method :fallback_on_admin_credentials?, :fallback_on_admin_credentials
846
+
833
847
  # Output only. The name of the Hostname of the Service Directory service with
834
848
  # TLS.
835
849
  # Corresponds to the JSON property `host`
@@ -947,9 +961,11 @@ module Google
947
961
  @description = args[:description] if args.key?(:description)
948
962
  @destination_configs = args[:destination_configs] if args.key?(:destination_configs)
949
963
  @envoy_image_location = args[:envoy_image_location] if args.key?(:envoy_image_location)
964
+ @eua_oauth_auth_config = args[:eua_oauth_auth_config] if args.key?(:eua_oauth_auth_config)
950
965
  @eventing_config = args[:eventing_config] if args.key?(:eventing_config)
951
966
  @eventing_enablement_type = args[:eventing_enablement_type] if args.key?(:eventing_enablement_type)
952
967
  @eventing_runtime_data = args[:eventing_runtime_data] if args.key?(:eventing_runtime_data)
968
+ @fallback_on_admin_credentials = args[:fallback_on_admin_credentials] if args.key?(:fallback_on_admin_credentials)
953
969
  @host = args[:host] if args.key?(:host)
954
970
  @image_location = args[:image_location] if args.key?(:image_location)
955
971
  @is_trusted_tester = args[:is_trusted_tester] if args.key?(:is_trusted_tester)
@@ -1221,6 +1237,11 @@ module Google
1221
1237
  attr_accessor :migrate_tls
1222
1238
  alias_method :migrate_tls?, :migrate_tls
1223
1239
 
1240
+ # Indicate whether connector is being migrated to use direct VPC egress.
1241
+ # Corresponds to the JSON property `networkEgressMode`
1242
+ # @return [String]
1243
+ attr_accessor :network_egress_mode
1244
+
1224
1245
  # Indicate whether cloud spanner is required for connector job.
1225
1246
  # Corresponds to the JSON property `provisionCloudSpanner`
1226
1247
  # @return [Boolean]
@@ -1268,6 +1289,7 @@ module Google
1268
1289
  @max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
1269
1290
  @migrate_deployment_model = args[:migrate_deployment_model] if args.key?(:migrate_deployment_model)
1270
1291
  @migrate_tls = args[:migrate_tls] if args.key?(:migrate_tls)
1292
+ @network_egress_mode = args[:network_egress_mode] if args.key?(:network_egress_mode)
1271
1293
  @provision_cloud_spanner = args[:provision_cloud_spanner] if args.key?(:provision_cloud_spanner)
1272
1294
  @provision_memstore = args[:provision_memstore] if args.key?(:provision_memstore)
1273
1295
  @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold)
@@ -1362,6 +1384,11 @@ module Google
1362
1384
  # @return [String]
1363
1385
  attr_accessor :name
1364
1386
 
1387
+ # Optional. The priority entity types for the connector version.
1388
+ # Corresponds to the JSON property `priorityEntityTypes`
1389
+ # @return [Array<Google::Apis::ConnectorsV1::PriorityEntityType>]
1390
+ attr_accessor :priority_entity_types
1391
+
1365
1392
  # Output only. ReleaseVersion of the connector, for example: "1.0.1-alpha".
1366
1393
  # Corresponds to the JSON property `releaseVersion`
1367
1394
  # @return [String]
@@ -1436,6 +1463,7 @@ module Google
1436
1463
  @labels = args[:labels] if args.key?(:labels)
1437
1464
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
1438
1465
  @name = args[:name] if args.key?(:name)
1466
+ @priority_entity_types = args[:priority_entity_types] if args.key?(:priority_entity_types)
1439
1467
  @release_version = args[:release_version] if args.key?(:release_version)
1440
1468
  @role_grant = args[:role_grant] if args.key?(:role_grant)
1441
1469
  @role_grants = args[:role_grants] if args.key?(:role_grants)
@@ -1534,7 +1562,8 @@ module Google
1534
1562
  class ConnectorsLogConfig
1535
1563
  include Google::Apis::Core::Hashable
1536
1564
 
1537
- # Enabled represents whether logging is enabled or not for a connection.
1565
+ # Optional. Enabled represents whether logging is enabled or not for a
1566
+ # connection.
1538
1567
  # Corresponds to the JSON property `enabled`
1539
1568
  # @return [Boolean]
1540
1569
  attr_accessor :enabled
@@ -2022,30 +2051,576 @@ module Google
2022
2051
  attr_accessor :is_advanced
2023
2052
  alias_method :is_advanced?, :is_advanced
2024
2053
 
2025
- # Key of the destination.
2026
- # Corresponds to the JSON property `key`
2054
+ # Key of the destination.
2055
+ # Corresponds to the JSON property `key`
2056
+ # @return [String]
2057
+ attr_accessor :key
2058
+
2059
+ # The maximum number of destinations supported for this key.
2060
+ # Corresponds to the JSON property `max`
2061
+ # @return [Fixnum]
2062
+ attr_accessor :max
2063
+
2064
+ # The minimum number of destinations supported for this key.
2065
+ # Corresponds to the JSON property `min`
2066
+ # @return [Fixnum]
2067
+ attr_accessor :min
2068
+
2069
+ # Whether port number should be provided by customers.
2070
+ # Corresponds to the JSON property `portFieldType`
2071
+ # @return [String]
2072
+ attr_accessor :port_field_type
2073
+
2074
+ # Regex pattern for host.
2075
+ # Corresponds to the JSON property `regexPattern`
2076
+ # @return [String]
2077
+ attr_accessor :regex_pattern
2078
+
2079
+ def initialize(**args)
2080
+ update!(**args)
2081
+ end
2082
+
2083
+ # Update properties of this object
2084
+ def update!(**args)
2085
+ @autocomplete_suggestions = args[:autocomplete_suggestions] if args.key?(:autocomplete_suggestions)
2086
+ @default_port = args[:default_port] if args.key?(:default_port)
2087
+ @description = args[:description] if args.key?(:description)
2088
+ @display_name = args[:display_name] if args.key?(:display_name)
2089
+ @is_advanced = args[:is_advanced] if args.key?(:is_advanced)
2090
+ @key = args[:key] if args.key?(:key)
2091
+ @max = args[:max] if args.key?(:max)
2092
+ @min = args[:min] if args.key?(:min)
2093
+ @port_field_type = args[:port_field_type] if args.key?(:port_field_type)
2094
+ @regex_pattern = args[:regex_pattern] if args.key?(:regex_pattern)
2095
+ end
2096
+ end
2097
+
2098
+ # EUASecret provides a reference to entries in Secret Manager.
2099
+ class EuaSecret
2100
+ include Google::Apis::Core::Hashable
2101
+
2102
+ # Optional. The plain string value of the secret.
2103
+ # Corresponds to the JSON property `secretValue`
2104
+ # @return [String]
2105
+ attr_accessor :secret_value
2106
+
2107
+ # Optional. The resource name of the secret version in the format, format as: `
2108
+ # projects/*/secrets/*/versions/*`.
2109
+ # Corresponds to the JSON property `secretVersion`
2110
+ # @return [String]
2111
+ attr_accessor :secret_version
2112
+
2113
+ def initialize(**args)
2114
+ update!(**args)
2115
+ end
2116
+
2117
+ # Update properties of this object
2118
+ def update!(**args)
2119
+ @secret_value = args[:secret_value] if args.key?(:secret_value)
2120
+ @secret_version = args[:secret_version] if args.key?(:secret_version)
2121
+ end
2122
+ end
2123
+
2124
+ # Egress control config for connector runtime. These configurations define the
2125
+ # rules to identify which outbound domains/hosts needs to be whitelisted. It may
2126
+ # be a static information for a particular connector version or it is derived
2127
+ # from the configurations provided by the customer in Connection resource.
2128
+ class EgressControlConfig
2129
+ include Google::Apis::Core::Hashable
2130
+
2131
+ # Static Comma separated backends which are common for all Connection resources.
2132
+ # Supported formats for each backend are host:port or just host (host can be ip
2133
+ # address or domain name).
2134
+ # Corresponds to the JSON property `backends`
2135
+ # @return [String]
2136
+ attr_accessor :backends
2137
+
2138
+ # Extraction Rules to identity the backends from customer provided configuration
2139
+ # in Connection resource.
2140
+ # Corresponds to the JSON property `extractionRules`
2141
+ # @return [Google::Apis::ConnectorsV1::ExtractionRules]
2142
+ attr_accessor :extraction_rules
2143
+
2144
+ def initialize(**args)
2145
+ update!(**args)
2146
+ end
2147
+
2148
+ # Update properties of this object
2149
+ def update!(**args)
2150
+ @backends = args[:backends] if args.key?(:backends)
2151
+ @extraction_rules = args[:extraction_rules] if args.key?(:extraction_rules)
2152
+ end
2153
+ end
2154
+
2155
+ # A generic empty message that you can re-use to avoid defining duplicated empty
2156
+ # messages in your APIs. A typical example is to use it as the request or the
2157
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
2158
+ # protobuf.Empty) returns (google.protobuf.Empty); `
2159
+ class Empty
2160
+ include Google::Apis::Core::Hashable
2161
+
2162
+ def initialize(**args)
2163
+ update!(**args)
2164
+ end
2165
+
2166
+ # Update properties of this object
2167
+ def update!(**args)
2168
+ end
2169
+ end
2170
+
2171
+ # Regional encryption config for CMEK details.
2172
+ class EncryptionConfig
2173
+ include Google::Apis::Core::Hashable
2174
+
2175
+ # Optional. Encryption type for the region.
2176
+ # Corresponds to the JSON property `encryptionType`
2177
+ # @return [String]
2178
+ attr_accessor :encryption_type
2179
+
2180
+ # Optional. KMS crypto key. This field accepts identifiers of the form `projects/
2181
+ # `project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/ `crypto_key``
2182
+ # Corresponds to the JSON property `kmsKeyName`
2183
+ # @return [String]
2184
+ attr_accessor :kms_key_name
2185
+
2186
+ def initialize(**args)
2187
+ update!(**args)
2188
+ end
2189
+
2190
+ # Update properties of this object
2191
+ def update!(**args)
2192
+ @encryption_type = args[:encryption_type] if args.key?(:encryption_type)
2193
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2194
+ end
2195
+ end
2196
+
2197
+ # Encryption Key value.
2198
+ class EncryptionKey
2199
+ include Google::Apis::Core::Hashable
2200
+
2201
+ # Optional. The [KMS key name] with which the content of the Operation is
2202
+ # encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*
2203
+ # `. Will be empty string if google managed.
2204
+ # Corresponds to the JSON property `kmsKeyName`
2205
+ # @return [String]
2206
+ attr_accessor :kms_key_name
2207
+
2208
+ # Type.
2209
+ # Corresponds to the JSON property `type`
2210
+ # @return [String]
2211
+ attr_accessor :type
2212
+
2213
+ def initialize(**args)
2214
+ update!(**args)
2215
+ end
2216
+
2217
+ # Update properties of this object
2218
+ def update!(**args)
2219
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2220
+ @type = args[:type] if args.key?(:type)
2221
+ end
2222
+ end
2223
+
2224
+ # Endpoint message includes details of the Destination endpoint.
2225
+ class EndPoint
2226
+ include Google::Apis::Core::Hashable
2227
+
2228
+ # Optional. The URI of the Endpoint.
2229
+ # Corresponds to the JSON property `endpointUri`
2230
+ # @return [String]
2231
+ attr_accessor :endpoint_uri
2232
+
2233
+ # Optional. List of Header to be added to the Endpoint.
2234
+ # Corresponds to the JSON property `headers`
2235
+ # @return [Array<Google::Apis::ConnectorsV1::Header>]
2236
+ attr_accessor :headers
2237
+
2238
+ def initialize(**args)
2239
+ update!(**args)
2240
+ end
2241
+
2242
+ # Update properties of this object
2243
+ def update!(**args)
2244
+ @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
2245
+ @headers = args[:headers] if args.key?(:headers)
2246
+ end
2247
+ end
2248
+
2249
+ # AuthConfig defines details of a authentication type.
2250
+ class EndUserAuthentication
2251
+ include Google::Apis::Core::Hashable
2252
+
2253
+ # Optional. Config variables for the EndUserAuthentication.
2254
+ # Corresponds to the JSON property `configVariables`
2255
+ # @return [Array<Google::Apis::ConnectorsV1::EndUserAuthenticationConfigVariable>]
2256
+ attr_accessor :config_variables
2257
+
2258
+ # Output only. Created time.
2259
+ # Corresponds to the JSON property `createTime`
2260
+ # @return [String]
2261
+ attr_accessor :create_time
2262
+
2263
+ # Optional. Destination configs for the EndUserAuthentication.
2264
+ # Corresponds to the JSON property `destinationConfigs`
2265
+ # @return [Array<Google::Apis::ConnectorsV1::DestinationConfig>]
2266
+ attr_accessor :destination_configs
2267
+
2268
+ # EndUserAuthenticationConfig defines details of a authentication configuration
2269
+ # for EUC
2270
+ # Corresponds to the JSON property `endUserAuthenticationConfig`
2271
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfig]
2272
+ attr_accessor :end_user_authentication_config
2273
+
2274
+ # Optional. Labels for the EndUserAuthentication.
2275
+ # Corresponds to the JSON property `labels`
2276
+ # @return [Array<String>]
2277
+ attr_accessor :labels
2278
+
2279
+ # Required. Identifier. Resource name of the EndUserAuthentication. Format:
2280
+ # projects/`project`/locations/`location`/connections/`connection`/
2281
+ # endUserAuthentications/`end_user_authentication`
2282
+ # Corresponds to the JSON property `name`
2283
+ # @return [String]
2284
+ attr_accessor :name
2285
+
2286
+ # Message for NotifyEndpointDestination Destination to hit when the refresh
2287
+ # token is expired.
2288
+ # Corresponds to the JSON property `notifyEndpointDestination`
2289
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestination]
2290
+ attr_accessor :notify_endpoint_destination
2291
+
2292
+ # Optional. Roles for the EndUserAuthentication.
2293
+ # Corresponds to the JSON property `roles`
2294
+ # @return [Array<String>]
2295
+ attr_accessor :roles
2296
+
2297
+ # EndUserAuthentication Status denotes the status of the EndUserAuthentication
2298
+ # resource.
2299
+ # Corresponds to the JSON property `status`
2300
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationEndUserAuthenticationStatus]
2301
+ attr_accessor :status
2302
+
2303
+ # Output only. Updated time.
2304
+ # Corresponds to the JSON property `updateTime`
2305
+ # @return [String]
2306
+ attr_accessor :update_time
2307
+
2308
+ # Optional. The user id of the user.
2309
+ # Corresponds to the JSON property `userId`
2310
+ # @return [String]
2311
+ attr_accessor :user_id
2312
+
2313
+ def initialize(**args)
2314
+ update!(**args)
2315
+ end
2316
+
2317
+ # Update properties of this object
2318
+ def update!(**args)
2319
+ @config_variables = args[:config_variables] if args.key?(:config_variables)
2320
+ @create_time = args[:create_time] if args.key?(:create_time)
2321
+ @destination_configs = args[:destination_configs] if args.key?(:destination_configs)
2322
+ @end_user_authentication_config = args[:end_user_authentication_config] if args.key?(:end_user_authentication_config)
2323
+ @labels = args[:labels] if args.key?(:labels)
2324
+ @name = args[:name] if args.key?(:name)
2325
+ @notify_endpoint_destination = args[:notify_endpoint_destination] if args.key?(:notify_endpoint_destination)
2326
+ @roles = args[:roles] if args.key?(:roles)
2327
+ @status = args[:status] if args.key?(:status)
2328
+ @update_time = args[:update_time] if args.key?(:update_time)
2329
+ @user_id = args[:user_id] if args.key?(:user_id)
2330
+ end
2331
+ end
2332
+
2333
+ # EndUserAuthenticationConfig defines details of a authentication configuration
2334
+ # for EUC
2335
+ class EndUserAuthenticationConfig
2336
+ include Google::Apis::Core::Hashable
2337
+
2338
+ # Optional. List containing additional auth configs.
2339
+ # Corresponds to the JSON property `additionalVariables`
2340
+ # @return [Array<Google::Apis::ConnectorsV1::EndUserAuthenticationConfigVariable>]
2341
+ attr_accessor :additional_variables
2342
+
2343
+ # Identifier key for auth config
2344
+ # Corresponds to the JSON property `authKey`
2345
+ # @return [String]
2346
+ attr_accessor :auth_key
2347
+
2348
+ # The type of authentication configured.
2349
+ # Corresponds to the JSON property `authType`
2350
+ # @return [String]
2351
+ attr_accessor :auth_type
2352
+
2353
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
2354
+ # www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
2355
+ # Corresponds to the JSON property `oauth2AuthCodeFlow`
2356
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2AuthCodeFlow]
2357
+ attr_accessor :oauth2_auth_code_flow
2358
+
2359
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google
2360
+ # Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1
2361
+ # for more details.
2362
+ # Corresponds to the JSON property `oauth2AuthCodeFlowGoogleManaged`
2363
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged]
2364
+ attr_accessor :oauth2_auth_code_flow_google_managed
2365
+
2366
+ # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
2367
+ # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
2368
+ # Corresponds to the JSON property `oauth2ClientCredentials`
2369
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2ClientCredentials]
2370
+ attr_accessor :oauth2_client_credentials
2371
+
2372
+ # Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization
2373
+ # Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more
2374
+ # details.
2375
+ # Corresponds to the JSON property `oauth2JwtBearer`
2376
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2JwtBearer]
2377
+ attr_accessor :oauth2_jwt_bearer
2378
+
2379
+ # Parameters to support Ssh public key Authentication.
2380
+ # Corresponds to the JSON property `sshPublicKey`
2381
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigSshPublicKey]
2382
+ attr_accessor :ssh_public_key
2383
+
2384
+ # Parameters to support Username and Password Authentication.
2385
+ # Corresponds to the JSON property `userPassword`
2386
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigUserPassword]
2387
+ attr_accessor :user_password
2388
+
2389
+ def initialize(**args)
2390
+ update!(**args)
2391
+ end
2392
+
2393
+ # Update properties of this object
2394
+ def update!(**args)
2395
+ @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
2396
+ @auth_key = args[:auth_key] if args.key?(:auth_key)
2397
+ @auth_type = args[:auth_type] if args.key?(:auth_type)
2398
+ @oauth2_auth_code_flow = args[:oauth2_auth_code_flow] if args.key?(:oauth2_auth_code_flow)
2399
+ @oauth2_auth_code_flow_google_managed = args[:oauth2_auth_code_flow_google_managed] if args.key?(:oauth2_auth_code_flow_google_managed)
2400
+ @oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials)
2401
+ @oauth2_jwt_bearer = args[:oauth2_jwt_bearer] if args.key?(:oauth2_jwt_bearer)
2402
+ @ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
2403
+ @user_password = args[:user_password] if args.key?(:user_password)
2404
+ end
2405
+ end
2406
+
2407
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
2408
+ # www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
2409
+ class EndUserAuthenticationConfigOauth2AuthCodeFlow
2410
+ include Google::Apis::Core::Hashable
2411
+
2412
+ # Optional. Authorization code to be exchanged for access and refresh tokens.
2413
+ # Corresponds to the JSON property `authCode`
2414
+ # @return [String]
2415
+ attr_accessor :auth_code
2416
+
2417
+ # Optional. Auth URL for Authorization Code Flow
2418
+ # Corresponds to the JSON property `authUri`
2419
+ # @return [String]
2420
+ attr_accessor :auth_uri
2421
+
2422
+ # Optional. Client ID for user-provided OAuth app.
2423
+ # Corresponds to the JSON property `clientId`
2424
+ # @return [String]
2425
+ attr_accessor :client_id
2426
+
2427
+ # EUASecret provides a reference to entries in Secret Manager.
2428
+ # Corresponds to the JSON property `clientSecret`
2429
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
2430
+ attr_accessor :client_secret
2431
+
2432
+ # Optional. Whether to enable PKCE when the user performs the auth code flow.
2433
+ # Corresponds to the JSON property `enablePkce`
2434
+ # @return [Boolean]
2435
+ attr_accessor :enable_pkce
2436
+ alias_method :enable_pkce?, :enable_pkce
2437
+
2438
+ # pass only at create and not update using updateMask Auth Code Data
2439
+ # Corresponds to the JSON property `oauthTokenData`
2440
+ # @return [Google::Apis::ConnectorsV1::OAuthTokenData]
2441
+ attr_accessor :oauth_token_data
2442
+
2443
+ # Optional. PKCE verifier to be used during the auth code exchange.
2444
+ # Corresponds to the JSON property `pkceVerifier`
2445
+ # @return [String]
2446
+ attr_accessor :pkce_verifier
2447
+
2448
+ # Optional. Redirect URI to be provided during the auth code exchange.
2449
+ # Corresponds to the JSON property `redirectUri`
2450
+ # @return [String]
2451
+ attr_accessor :redirect_uri
2452
+
2453
+ # Optional. Scopes the connection will request when the user performs the auth
2454
+ # code flow.
2455
+ # Corresponds to the JSON property `scopes`
2456
+ # @return [Array<String>]
2457
+ attr_accessor :scopes
2458
+
2459
+ def initialize(**args)
2460
+ update!(**args)
2461
+ end
2462
+
2463
+ # Update properties of this object
2464
+ def update!(**args)
2465
+ @auth_code = args[:auth_code] if args.key?(:auth_code)
2466
+ @auth_uri = args[:auth_uri] if args.key?(:auth_uri)
2467
+ @client_id = args[:client_id] if args.key?(:client_id)
2468
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
2469
+ @enable_pkce = args[:enable_pkce] if args.key?(:enable_pkce)
2470
+ @oauth_token_data = args[:oauth_token_data] if args.key?(:oauth_token_data)
2471
+ @pkce_verifier = args[:pkce_verifier] if args.key?(:pkce_verifier)
2472
+ @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
2473
+ @scopes = args[:scopes] if args.key?(:scopes)
2474
+ end
2475
+ end
2476
+
2477
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google
2478
+ # Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1
2479
+ # for more details.
2480
+ class EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged
2481
+ include Google::Apis::Core::Hashable
2482
+
2483
+ # Optional. Authorization code to be exchanged for access and refresh tokens.
2484
+ # Corresponds to the JSON property `authCode`
2485
+ # @return [String]
2486
+ attr_accessor :auth_code
2487
+
2488
+ # pass only at create and not update using updateMask Auth Code Data
2489
+ # Corresponds to the JSON property `oauthTokenData`
2490
+ # @return [Google::Apis::ConnectorsV1::OAuthTokenData]
2491
+ attr_accessor :oauth_token_data
2492
+
2493
+ # Optional. Redirect URI to be provided during the auth code exchange.
2494
+ # Corresponds to the JSON property `redirectUri`
2495
+ # @return [String]
2496
+ attr_accessor :redirect_uri
2497
+
2498
+ # Required. Scopes the connection will request when the user performs the auth
2499
+ # code flow.
2500
+ # Corresponds to the JSON property `scopes`
2501
+ # @return [Array<String>]
2502
+ attr_accessor :scopes
2503
+
2504
+ def initialize(**args)
2505
+ update!(**args)
2506
+ end
2507
+
2508
+ # Update properties of this object
2509
+ def update!(**args)
2510
+ @auth_code = args[:auth_code] if args.key?(:auth_code)
2511
+ @oauth_token_data = args[:oauth_token_data] if args.key?(:oauth_token_data)
2512
+ @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
2513
+ @scopes = args[:scopes] if args.key?(:scopes)
2514
+ end
2515
+ end
2516
+
2517
+ # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
2518
+ # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
2519
+ class EndUserAuthenticationConfigOauth2ClientCredentials
2520
+ include Google::Apis::Core::Hashable
2521
+
2522
+ # The client identifier.
2523
+ # Corresponds to the JSON property `clientId`
2524
+ # @return [String]
2525
+ attr_accessor :client_id
2526
+
2527
+ # EUASecret provides a reference to entries in Secret Manager.
2528
+ # Corresponds to the JSON property `clientSecret`
2529
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
2530
+ attr_accessor :client_secret
2531
+
2532
+ def initialize(**args)
2533
+ update!(**args)
2534
+ end
2535
+
2536
+ # Update properties of this object
2537
+ def update!(**args)
2538
+ @client_id = args[:client_id] if args.key?(:client_id)
2539
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
2540
+ end
2541
+ end
2542
+
2543
+ # Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization
2544
+ # Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more
2545
+ # details.
2546
+ class EndUserAuthenticationConfigOauth2JwtBearer
2547
+ include Google::Apis::Core::Hashable
2548
+
2549
+ # EUASecret provides a reference to entries in Secret Manager.
2550
+ # Corresponds to the JSON property `clientKey`
2551
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
2552
+ attr_accessor :client_key
2553
+
2554
+ # JWT claims used for the jwt-bearer authorization grant.
2555
+ # Corresponds to the JSON property `jwtClaims`
2556
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2JwtBearerJwtClaims]
2557
+ attr_accessor :jwt_claims
2558
+
2559
+ def initialize(**args)
2560
+ update!(**args)
2561
+ end
2562
+
2563
+ # Update properties of this object
2564
+ def update!(**args)
2565
+ @client_key = args[:client_key] if args.key?(:client_key)
2566
+ @jwt_claims = args[:jwt_claims] if args.key?(:jwt_claims)
2567
+ end
2568
+ end
2569
+
2570
+ # JWT claims used for the jwt-bearer authorization grant.
2571
+ class EndUserAuthenticationConfigOauth2JwtBearerJwtClaims
2572
+ include Google::Apis::Core::Hashable
2573
+
2574
+ # Value for the "aud" claim.
2575
+ # Corresponds to the JSON property `audience`
2576
+ # @return [String]
2577
+ attr_accessor :audience
2578
+
2579
+ # Value for the "iss" claim.
2580
+ # Corresponds to the JSON property `issuer`
2581
+ # @return [String]
2582
+ attr_accessor :issuer
2583
+
2584
+ # Value for the "sub" claim.
2585
+ # Corresponds to the JSON property `subject`
2027
2586
  # @return [String]
2028
- attr_accessor :key
2587
+ attr_accessor :subject
2029
2588
 
2030
- # The maximum number of destinations supported for this key.
2031
- # Corresponds to the JSON property `max`
2032
- # @return [Fixnum]
2033
- attr_accessor :max
2589
+ def initialize(**args)
2590
+ update!(**args)
2591
+ end
2034
2592
 
2035
- # The minimum number of destinations supported for this key.
2036
- # Corresponds to the JSON property `min`
2037
- # @return [Fixnum]
2038
- attr_accessor :min
2593
+ # Update properties of this object
2594
+ def update!(**args)
2595
+ @audience = args[:audience] if args.key?(:audience)
2596
+ @issuer = args[:issuer] if args.key?(:issuer)
2597
+ @subject = args[:subject] if args.key?(:subject)
2598
+ end
2599
+ end
2039
2600
 
2040
- # Whether port number should be provided by customers.
2041
- # Corresponds to the JSON property `portFieldType`
2601
+ # Parameters to support Ssh public key Authentication.
2602
+ class EndUserAuthenticationConfigSshPublicKey
2603
+ include Google::Apis::Core::Hashable
2604
+
2605
+ # Format of SSH Client cert.
2606
+ # Corresponds to the JSON property `certType`
2042
2607
  # @return [String]
2043
- attr_accessor :port_field_type
2608
+ attr_accessor :cert_type
2044
2609
 
2045
- # Regex pattern for host.
2046
- # Corresponds to the JSON property `regexPattern`
2610
+ # EUASecret provides a reference to entries in Secret Manager.
2611
+ # Corresponds to the JSON property `sshClientCert`
2612
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
2613
+ attr_accessor :ssh_client_cert
2614
+
2615
+ # EUASecret provides a reference to entries in Secret Manager.
2616
+ # Corresponds to the JSON property `sshClientCertPass`
2617
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
2618
+ attr_accessor :ssh_client_cert_pass
2619
+
2620
+ # The user account used to authenticate.
2621
+ # Corresponds to the JSON property `username`
2047
2622
  # @return [String]
2048
- attr_accessor :regex_pattern
2623
+ attr_accessor :username
2049
2624
 
2050
2625
  def initialize(**args)
2051
2626
  update!(**args)
@@ -2053,38 +2628,26 @@ module Google
2053
2628
 
2054
2629
  # Update properties of this object
2055
2630
  def update!(**args)
2056
- @autocomplete_suggestions = args[:autocomplete_suggestions] if args.key?(:autocomplete_suggestions)
2057
- @default_port = args[:default_port] if args.key?(:default_port)
2058
- @description = args[:description] if args.key?(:description)
2059
- @display_name = args[:display_name] if args.key?(:display_name)
2060
- @is_advanced = args[:is_advanced] if args.key?(:is_advanced)
2061
- @key = args[:key] if args.key?(:key)
2062
- @max = args[:max] if args.key?(:max)
2063
- @min = args[:min] if args.key?(:min)
2064
- @port_field_type = args[:port_field_type] if args.key?(:port_field_type)
2065
- @regex_pattern = args[:regex_pattern] if args.key?(:regex_pattern)
2631
+ @cert_type = args[:cert_type] if args.key?(:cert_type)
2632
+ @ssh_client_cert = args[:ssh_client_cert] if args.key?(:ssh_client_cert)
2633
+ @ssh_client_cert_pass = args[:ssh_client_cert_pass] if args.key?(:ssh_client_cert_pass)
2634
+ @username = args[:username] if args.key?(:username)
2066
2635
  end
2067
2636
  end
2068
2637
 
2069
- # Egress control config for connector runtime. These configurations define the
2070
- # rules to identify which outbound domains/hosts needs to be whitelisted. It may
2071
- # be a static information for a particular connector version or it is derived
2072
- # from the configurations provided by the customer in Connection resource.
2073
- class EgressControlConfig
2638
+ # Parameters to support Username and Password Authentication.
2639
+ class EndUserAuthenticationConfigUserPassword
2074
2640
  include Google::Apis::Core::Hashable
2075
2641
 
2076
- # Static Comma separated backends which are common for all Connection resources.
2077
- # Supported formats for each backend are host:port or just host (host can be ip
2078
- # address or domain name).
2079
- # Corresponds to the JSON property `backends`
2080
- # @return [String]
2081
- attr_accessor :backends
2642
+ # EUASecret provides a reference to entries in Secret Manager.
2643
+ # Corresponds to the JSON property `password`
2644
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
2645
+ attr_accessor :password
2082
2646
 
2083
- # Extraction Rules to identity the backends from customer provided configuration
2084
- # in Connection resource.
2085
- # Corresponds to the JSON property `extractionRules`
2086
- # @return [Google::Apis::ConnectorsV1::ExtractionRules]
2087
- attr_accessor :extraction_rules
2647
+ # Username.
2648
+ # Corresponds to the JSON property `username`
2649
+ # @return [String]
2650
+ attr_accessor :username
2088
2651
 
2089
2652
  def initialize(**args)
2090
2653
  update!(**args)
@@ -2092,41 +2655,70 @@ module Google
2092
2655
 
2093
2656
  # Update properties of this object
2094
2657
  def update!(**args)
2095
- @backends = args[:backends] if args.key?(:backends)
2096
- @extraction_rules = args[:extraction_rules] if args.key?(:extraction_rules)
2658
+ @password = args[:password] if args.key?(:password)
2659
+ @username = args[:username] if args.key?(:username)
2097
2660
  end
2098
2661
  end
2099
2662
 
2100
- # A generic empty message that you can re-use to avoid defining duplicated empty
2101
- # messages in your APIs. A typical example is to use it as the request or the
2102
- # response type of an API method. For instance: service Foo ` rpc Bar(google.
2103
- # protobuf.Empty) returns (google.protobuf.Empty); `
2104
- class Empty
2663
+ # EndUserAuthenticationConfigVariable represents a configuration variable
2664
+ # present in a EndUserAuthentication.
2665
+ class EndUserAuthenticationConfigVariable
2105
2666
  include Google::Apis::Core::Hashable
2106
2667
 
2668
+ # Value is a bool.
2669
+ # Corresponds to the JSON property `boolValue`
2670
+ # @return [Boolean]
2671
+ attr_accessor :bool_value
2672
+ alias_method :bool_value?, :bool_value
2673
+
2674
+ # Value is an integer
2675
+ # Corresponds to the JSON property `intValue`
2676
+ # @return [Fixnum]
2677
+ attr_accessor :int_value
2678
+
2679
+ # Required. Key of the config variable.
2680
+ # Corresponds to the JSON property `key`
2681
+ # @return [String]
2682
+ attr_accessor :key
2683
+
2684
+ # EUASecret provides a reference to entries in Secret Manager.
2685
+ # Corresponds to the JSON property `secretValue`
2686
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
2687
+ attr_accessor :secret_value
2688
+
2689
+ # Value is a string.
2690
+ # Corresponds to the JSON property `stringValue`
2691
+ # @return [String]
2692
+ attr_accessor :string_value
2693
+
2107
2694
  def initialize(**args)
2108
2695
  update!(**args)
2109
2696
  end
2110
2697
 
2111
2698
  # Update properties of this object
2112
2699
  def update!(**args)
2700
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
2701
+ @int_value = args[:int_value] if args.key?(:int_value)
2702
+ @key = args[:key] if args.key?(:key)
2703
+ @secret_value = args[:secret_value] if args.key?(:secret_value)
2704
+ @string_value = args[:string_value] if args.key?(:string_value)
2113
2705
  end
2114
2706
  end
2115
2707
 
2116
- # Regional encryption config for CMEK details.
2117
- class EncryptionConfig
2708
+ # EndUserAuthentication Status denotes the status of the EndUserAuthentication
2709
+ # resource.
2710
+ class EndUserAuthenticationEndUserAuthenticationStatus
2118
2711
  include Google::Apis::Core::Hashable
2119
2712
 
2120
- # Optional. Encryption type for the region.
2121
- # Corresponds to the JSON property `encryptionType`
2713
+ # Output only. Description of the state.
2714
+ # Corresponds to the JSON property `description`
2122
2715
  # @return [String]
2123
- attr_accessor :encryption_type
2716
+ attr_accessor :description
2124
2717
 
2125
- # Optional. KMS crypto key. This field accepts identifiers of the form `projects/
2126
- # `project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/ `crypto_key``
2127
- # Corresponds to the JSON property `kmsKeyName`
2718
+ # Output only. State of Event Subscription resource.
2719
+ # Corresponds to the JSON property `state`
2128
2720
  # @return [String]
2129
- attr_accessor :kms_key_name
2721
+ attr_accessor :state
2130
2722
 
2131
2723
  def initialize(**args)
2132
2724
  update!(**args)
@@ -2134,23 +2726,27 @@ module Google
2134
2726
 
2135
2727
  # Update properties of this object
2136
2728
  def update!(**args)
2137
- @encryption_type = args[:encryption_type] if args.key?(:encryption_type)
2138
- @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2729
+ @description = args[:description] if args.key?(:description)
2730
+ @state = args[:state] if args.key?(:state)
2139
2731
  end
2140
2732
  end
2141
2733
 
2142
- # Encryption Key value.
2143
- class EncryptionKey
2734
+ # Message for NotifyEndpointDestination Destination to hit when the refresh
2735
+ # token is expired.
2736
+ class EndUserAuthenticationNotifyEndpointDestination
2144
2737
  include Google::Apis::Core::Hashable
2145
2738
 
2146
- # The [KMS key name] with which the content of the Operation is encrypted. The
2147
- # expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be
2148
- # empty string if google managed.
2149
- # Corresponds to the JSON property `kmsKeyName`
2739
+ # Endpoint message includes details of the Destination endpoint.
2740
+ # Corresponds to the JSON property `endpoint`
2741
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestinationEndPoint]
2742
+ attr_accessor :endpoint
2743
+
2744
+ # Required. Service account needed for runtime plane to notify the backend.
2745
+ # Corresponds to the JSON property `serviceAccount`
2150
2746
  # @return [String]
2151
- attr_accessor :kms_key_name
2747
+ attr_accessor :service_account
2152
2748
 
2153
- # Type.
2749
+ # Required. type of the destination
2154
2750
  # Corresponds to the JSON property `type`
2155
2751
  # @return [String]
2156
2752
  attr_accessor :type
@@ -2161,23 +2757,24 @@ module Google
2161
2757
 
2162
2758
  # Update properties of this object
2163
2759
  def update!(**args)
2164
- @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2760
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
2761
+ @service_account = args[:service_account] if args.key?(:service_account)
2165
2762
  @type = args[:type] if args.key?(:type)
2166
2763
  end
2167
2764
  end
2168
2765
 
2169
2766
  # Endpoint message includes details of the Destination endpoint.
2170
- class EndPoint
2767
+ class EndUserAuthenticationNotifyEndpointDestinationEndPoint
2171
2768
  include Google::Apis::Core::Hashable
2172
2769
 
2173
- # The URI of the Endpoint.
2770
+ # Required. The URI of the Endpoint.
2174
2771
  # Corresponds to the JSON property `endpointUri`
2175
2772
  # @return [String]
2176
2773
  attr_accessor :endpoint_uri
2177
2774
 
2178
- # List of Header to be added to the Endpoint.
2775
+ # Optional. List of Header to be added to the Endpoint.
2179
2776
  # Corresponds to the JSON property `headers`
2180
- # @return [Array<Google::Apis::ConnectorsV1::Header>]
2777
+ # @return [Array<Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestinationEndPointHeader>]
2181
2778
  attr_accessor :headers
2182
2779
 
2183
2780
  def initialize(**args)
@@ -2191,6 +2788,31 @@ module Google
2191
2788
  end
2192
2789
  end
2193
2790
 
2791
+ # Header details for a given header to be added to Endpoint.
2792
+ class EndUserAuthenticationNotifyEndpointDestinationEndPointHeader
2793
+ include Google::Apis::Core::Hashable
2794
+
2795
+ # Required. Key of Header.
2796
+ # Corresponds to the JSON property `key`
2797
+ # @return [String]
2798
+ attr_accessor :key
2799
+
2800
+ # Required. Value of Header.
2801
+ # Corresponds to the JSON property `value`
2802
+ # @return [String]
2803
+ attr_accessor :value
2804
+
2805
+ def initialize(**args)
2806
+ update!(**args)
2807
+ end
2808
+
2809
+ # Update properties of this object
2810
+ def update!(**args)
2811
+ @key = args[:key] if args.key?(:key)
2812
+ @value = args[:value] if args.key?(:value)
2813
+ end
2814
+ end
2815
+
2194
2816
  # represents the Connector's Endpoint Attachment resource
2195
2817
  class EndpointAttachment
2196
2818
  include Google::Apis::Core::Hashable
@@ -2334,8 +2956,8 @@ module Google
2334
2956
  # @return [Google::Apis::ConnectorsV1::Jms]
2335
2957
  attr_accessor :jms
2336
2958
 
2337
- # Required. Resource name of the EventSubscription. Format: projects/`project`/
2338
- # locations/`location`/connections/`connection`/eventSubscriptions/`
2959
+ # Required. Identifier. Resource name of the EventSubscription. Format: projects/
2960
+ # `project`/locations/`location`/connections/`connection`/eventSubscriptions/`
2339
2961
  # event_subscription`
2340
2962
  # Corresponds to the JSON property `name`
2341
2963
  # @return [String]
@@ -2399,12 +3021,12 @@ module Google
2399
3021
  # @return [Google::Apis::ConnectorsV1::PubSub]
2400
3022
  attr_accessor :pubsub
2401
3023
 
2402
- # Service account needed for runtime plane to trigger IP workflow.
3024
+ # Optional. Service account needed for runtime plane to trigger IP workflow.
2403
3025
  # Corresponds to the JSON property `serviceAccount`
2404
3026
  # @return [String]
2405
3027
  attr_accessor :service_account
2406
3028
 
2407
- # type of the destination
3029
+ # Optional. type of the destination
2408
3030
  # Corresponds to the JSON property `type`
2409
3031
  # @return [String]
2410
3032
  attr_accessor :type
@@ -3098,12 +3720,12 @@ module Google
3098
3720
  class Header
3099
3721
  include Google::Apis::Core::Hashable
3100
3722
 
3101
- # Key of Header.
3723
+ # Optional. Key of Header.
3102
3724
  # Corresponds to the JSON property `key`
3103
3725
  # @return [String]
3104
3726
  attr_accessor :key
3105
3727
 
3106
- # Value of Header.
3728
+ # Optional. Value of Header.
3107
3729
  # Corresponds to the JSON property `value`
3108
3730
  # @return [String]
3109
3731
  attr_accessor :value
@@ -3477,17 +4099,17 @@ module Google
3477
4099
  class JwtClaims
3478
4100
  include Google::Apis::Core::Hashable
3479
4101
 
3480
- # Value for the "aud" claim.
4102
+ # Optional. Value for the "aud" claim.
3481
4103
  # Corresponds to the JSON property `audience`
3482
4104
  # @return [String]
3483
4105
  attr_accessor :audience
3484
4106
 
3485
- # Value for the "iss" claim.
4107
+ # Optional. Value for the "iss" claim.
3486
4108
  # Corresponds to the JSON property `issuer`
3487
4109
  # @return [String]
3488
4110
  attr_accessor :issuer
3489
4111
 
3490
- # Value for the "sub" claim.
4112
+ # Optional. Value for the "sub" claim.
3491
4113
  # Corresponds to the JSON property `subject`
3492
4114
  # @return [String]
3493
4115
  attr_accessor :subject
@@ -3684,6 +4306,37 @@ module Google
3684
4306
  end
3685
4307
  end
3686
4308
 
4309
+ # Response message for ConnectorsService.ListEndUserAuthentications
4310
+ class ListEndUserAuthenticationsResponse
4311
+ include Google::Apis::Core::Hashable
4312
+
4313
+ # Subscriptions.
4314
+ # Corresponds to the JSON property `endUserAuthentications`
4315
+ # @return [Array<Google::Apis::ConnectorsV1::EndUserAuthentication>]
4316
+ attr_accessor :end_user_authentications
4317
+
4318
+ # Next page token.
4319
+ # Corresponds to the JSON property `nextPageToken`
4320
+ # @return [String]
4321
+ attr_accessor :next_page_token
4322
+
4323
+ # Locations that could not be reached.
4324
+ # Corresponds to the JSON property `unreachable`
4325
+ # @return [Array<String>]
4326
+ attr_accessor :unreachable
4327
+
4328
+ def initialize(**args)
4329
+ update!(**args)
4330
+ end
4331
+
4332
+ # Update properties of this object
4333
+ def update!(**args)
4334
+ @end_user_authentications = args[:end_user_authentications] if args.key?(:end_user_authentications)
4335
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4336
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
4337
+ end
4338
+ end
4339
+
3687
4340
  # Response message for ConnectorsService.ListEndpointAttachments
3688
4341
  class ListEndpointAttachmentsResponse
3689
4342
  include Google::Apis::Core::Hashable
@@ -4042,13 +4695,13 @@ module Google
4042
4695
  class LockConfig
4043
4696
  include Google::Apis::Core::Hashable
4044
4697
 
4045
- # Indicates whether or not the connection is locked.
4698
+ # Optional. Indicates whether or not the connection is locked.
4046
4699
  # Corresponds to the JSON property `locked`
4047
4700
  # @return [Boolean]
4048
4701
  attr_accessor :locked
4049
4702
  alias_method :locked?, :locked
4050
4703
 
4051
- # Describes why a connection is locked.
4704
+ # Optional. Describes why a connection is locked.
4052
4705
  # Corresponds to the JSON property `reason`
4053
4706
  # @return [String]
4054
4707
  attr_accessor :reason
@@ -4476,12 +5129,12 @@ module Google
4476
5129
  class NodeConfig
4477
5130
  include Google::Apis::Core::Hashable
4478
5131
 
4479
- # Maximum number of nodes in the runtime nodes.
5132
+ # Optional. Maximum number of nodes in the runtime nodes.
4480
5133
  # Corresponds to the JSON property `maxNodeCount`
4481
5134
  # @return [Fixnum]
4482
5135
  attr_accessor :max_node_count
4483
5136
 
4484
- # Minimum number of nodes in the runtime nodes.
5137
+ # Optional. Minimum number of nodes in the runtime nodes.
4485
5138
  # Corresponds to the JSON property `minNodeCount`
4486
5139
  # @return [Fixnum]
4487
5140
  attr_accessor :min_node_count
@@ -4550,22 +5203,59 @@ module Google
4550
5203
  end
4551
5204
  end
4552
5205
 
5206
+ # pass only at create and not update using updateMask Auth Code Data
5207
+ class OAuthTokenData
5208
+ include Google::Apis::Core::Hashable
5209
+
5210
+ # EUASecret provides a reference to entries in Secret Manager.
5211
+ # Corresponds to the JSON property `accessToken`
5212
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
5213
+ attr_accessor :access_token
5214
+
5215
+ # Optional. Timestamp when the access token was created.
5216
+ # Corresponds to the JSON property `createTime`
5217
+ # @return [String]
5218
+ attr_accessor :create_time
5219
+
5220
+ # Optional. Time in seconds when the access token expires.
5221
+ # Corresponds to the JSON property `expiry`
5222
+ # @return [String]
5223
+ attr_accessor :expiry
5224
+
5225
+ # EUASecret provides a reference to entries in Secret Manager.
5226
+ # Corresponds to the JSON property `refreshToken`
5227
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
5228
+ attr_accessor :refresh_token
5229
+
5230
+ def initialize(**args)
5231
+ update!(**args)
5232
+ end
5233
+
5234
+ # Update properties of this object
5235
+ def update!(**args)
5236
+ @access_token = args[:access_token] if args.key?(:access_token)
5237
+ @create_time = args[:create_time] if args.key?(:create_time)
5238
+ @expiry = args[:expiry] if args.key?(:expiry)
5239
+ @refresh_token = args[:refresh_token] if args.key?(:refresh_token)
5240
+ end
5241
+ end
5242
+
4553
5243
  # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
4554
5244
  # www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
4555
5245
  class Oauth2AuthCodeFlow
4556
5246
  include Google::Apis::Core::Hashable
4557
5247
 
4558
- # Authorization code to be exchanged for access and refresh tokens.
5248
+ # Optional. Authorization code to be exchanged for access and refresh tokens.
4559
5249
  # Corresponds to the JSON property `authCode`
4560
5250
  # @return [String]
4561
5251
  attr_accessor :auth_code
4562
5252
 
4563
- # Auth URL for Authorization Code Flow
5253
+ # Optional. Auth URL for Authorization Code Flow
4564
5254
  # Corresponds to the JSON property `authUri`
4565
5255
  # @return [String]
4566
5256
  attr_accessor :auth_uri
4567
5257
 
4568
- # Client ID for user-provided OAuth app.
5258
+ # Optional. Client ID for user-provided OAuth app.
4569
5259
  # Corresponds to the JSON property `clientId`
4570
5260
  # @return [String]
4571
5261
  attr_accessor :client_id
@@ -4575,23 +5265,24 @@ module Google
4575
5265
  # @return [Google::Apis::ConnectorsV1::Secret]
4576
5266
  attr_accessor :client_secret
4577
5267
 
4578
- # Whether to enable PKCE when the user performs the auth code flow.
5268
+ # Optional. Whether to enable PKCE when the user performs the auth code flow.
4579
5269
  # Corresponds to the JSON property `enablePkce`
4580
5270
  # @return [Boolean]
4581
5271
  attr_accessor :enable_pkce
4582
5272
  alias_method :enable_pkce?, :enable_pkce
4583
5273
 
4584
- # PKCE verifier to be used during the auth code exchange.
5274
+ # Optional. PKCE verifier to be used during the auth code exchange.
4585
5275
  # Corresponds to the JSON property `pkceVerifier`
4586
5276
  # @return [String]
4587
5277
  attr_accessor :pkce_verifier
4588
5278
 
4589
- # Redirect URI to be provided during the auth code exchange.
5279
+ # Optional. Redirect URI to be provided during the auth code exchange.
4590
5280
  # Corresponds to the JSON property `redirectUri`
4591
5281
  # @return [String]
4592
5282
  attr_accessor :redirect_uri
4593
5283
 
4594
- # Scopes the connection will request when the user performs the auth code flow.
5284
+ # Optional. Scopes the connection will request when the user performs the auth
5285
+ # code flow.
4595
5286
  # Corresponds to the JSON property `scopes`
4596
5287
  # @return [Array<String>]
4597
5288
  attr_accessor :scopes
@@ -4652,7 +5343,7 @@ module Google
4652
5343
  class Oauth2ClientCredentials
4653
5344
  include Google::Apis::Core::Hashable
4654
5345
 
4655
- # The client identifier.
5346
+ # Optional. The client identifier.
4656
5347
  # Corresponds to the JSON property `clientId`
4657
5348
  # @return [String]
4658
5349
  attr_accessor :client_id
@@ -5070,6 +5761,44 @@ module Google
5070
5761
  end
5071
5762
  end
5072
5763
 
5764
+ # PriorityEntityType represents an entity type with its associated priority and
5765
+ # order.
5766
+ class PriorityEntityType
5767
+ include Google::Apis::Core::Hashable
5768
+
5769
+ # The description of the entity type.
5770
+ # Corresponds to the JSON property `description`
5771
+ # @return [String]
5772
+ attr_accessor :description
5773
+
5774
+ # The entity type.
5775
+ # Corresponds to the JSON property `id`
5776
+ # @return [String]
5777
+ attr_accessor :id
5778
+
5779
+ # The order of the entity type within its priority group.
5780
+ # Corresponds to the JSON property `order`
5781
+ # @return [Fixnum]
5782
+ attr_accessor :order
5783
+
5784
+ # The priority of the entity type, such as P0, P1, etc.
5785
+ # Corresponds to the JSON property `priority`
5786
+ # @return [String]
5787
+ attr_accessor :priority
5788
+
5789
+ def initialize(**args)
5790
+ update!(**args)
5791
+ end
5792
+
5793
+ # Update properties of this object
5794
+ def update!(**args)
5795
+ @description = args[:description] if args.key?(:description)
5796
+ @id = args[:id] if args.key?(:id)
5797
+ @order = args[:order] if args.key?(:order)
5798
+ @priority = args[:priority] if args.key?(:priority)
5799
+ end
5800
+ end
5801
+
5073
5802
  # Provider indicates the owner who provides the connectors.
5074
5803
  class Provider
5075
5804
  include Google::Apis::Core::Hashable
@@ -5832,8 +6561,8 @@ module Google
5832
6561
  class Secret
5833
6562
  include Google::Apis::Core::Hashable
5834
6563
 
5835
- # The resource name of the secret version in the format, format as: `projects/*/
5836
- # secrets/*/versions/*`.
6564
+ # Optional. The resource name of the secret version in the format, format as: `
6565
+ # projects/*/secrets/*/versions/*`.
5837
6566
  # Corresponds to the JSON property `secretVersion`
5838
6567
  # @return [String]
5839
6568
  attr_accessor :secret_version
@@ -6036,7 +6765,7 @@ module Google
6036
6765
  class SshPublicKey
6037
6766
  include Google::Apis::Core::Hashable
6038
6767
 
6039
- # Format of SSH Client cert.
6768
+ # Optional. Format of SSH Client cert.
6040
6769
  # Corresponds to the JSON property `certType`
6041
6770
  # @return [String]
6042
6771
  attr_accessor :cert_type
@@ -6051,7 +6780,7 @@ module Google
6051
6780
  # @return [Google::Apis::ConnectorsV1::Secret]
6052
6781
  attr_accessor :ssh_client_cert_pass
6053
6782
 
6054
- # The user account used to authenticate.
6783
+ # Optional. The user account used to authenticate.
6055
6784
  # Corresponds to the JSON property `username`
6056
6785
  # @return [String]
6057
6786
  attr_accessor :username
@@ -6475,7 +7204,7 @@ module Google
6475
7204
  # @return [Google::Apis::ConnectorsV1::Secret]
6476
7205
  attr_accessor :password
6477
7206
 
6478
- # Username.
7207
+ # Optional. Username.
6479
7208
  # Corresponds to the JSON property `username`
6480
7209
  # @return [String]
6481
7210
  attr_accessor :username