google-apis-connectors_v1 0.71.0 → 0.73.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)
@@ -1534,7 +1556,8 @@ module Google
1534
1556
  class ConnectorsLogConfig
1535
1557
  include Google::Apis::Core::Hashable
1536
1558
 
1537
- # Enabled represents whether logging is enabled or not for a connection.
1559
+ # Optional. Enabled represents whether logging is enabled or not for a
1560
+ # connection.
1538
1561
  # Corresponds to the JSON property `enabled`
1539
1562
  # @return [Boolean]
1540
1563
  attr_accessor :enabled
@@ -1975,10 +1998,587 @@ module Google
1975
1998
  # @return [Array<Google::Apis::ConnectorsV1::Destination>]
1976
1999
  attr_accessor :destinations
1977
2000
 
1978
- # The key is the destination identifier that is supported by the Connector.
1979
- # Corresponds to the JSON property `key`
2001
+ # The key is the destination identifier that is supported by the Connector.
2002
+ # Corresponds to the JSON property `key`
2003
+ # @return [String]
2004
+ attr_accessor :key
2005
+
2006
+ def initialize(**args)
2007
+ update!(**args)
2008
+ end
2009
+
2010
+ # Update properties of this object
2011
+ def update!(**args)
2012
+ @destinations = args[:destinations] if args.key?(:destinations)
2013
+ @key = args[:key] if args.key?(:key)
2014
+ end
2015
+ end
2016
+
2017
+ # DestinationConfigTemplate defines required destinations supported by the
2018
+ # Connector.
2019
+ class DestinationConfigTemplate
2020
+ include Google::Apis::Core::Hashable
2021
+
2022
+ # Autocomplete suggestions for destination URL field.
2023
+ # Corresponds to the JSON property `autocompleteSuggestions`
2024
+ # @return [Array<String>]
2025
+ attr_accessor :autocomplete_suggestions
2026
+
2027
+ # The default port.
2028
+ # Corresponds to the JSON property `defaultPort`
2029
+ # @return [Fixnum]
2030
+ attr_accessor :default_port
2031
+
2032
+ # Description.
2033
+ # Corresponds to the JSON property `description`
2034
+ # @return [String]
2035
+ attr_accessor :description
2036
+
2037
+ # Display name of the parameter.
2038
+ # Corresponds to the JSON property `displayName`
2039
+ # @return [String]
2040
+ attr_accessor :display_name
2041
+
2042
+ # Whether the current destination tempalate is part of Advanced settings
2043
+ # Corresponds to the JSON property `isAdvanced`
2044
+ # @return [Boolean]
2045
+ attr_accessor :is_advanced
2046
+ alias_method :is_advanced?, :is_advanced
2047
+
2048
+ # Key of the destination.
2049
+ # Corresponds to the JSON property `key`
2050
+ # @return [String]
2051
+ attr_accessor :key
2052
+
2053
+ # The maximum number of destinations supported for this key.
2054
+ # Corresponds to the JSON property `max`
2055
+ # @return [Fixnum]
2056
+ attr_accessor :max
2057
+
2058
+ # The minimum number of destinations supported for this key.
2059
+ # Corresponds to the JSON property `min`
2060
+ # @return [Fixnum]
2061
+ attr_accessor :min
2062
+
2063
+ # Whether port number should be provided by customers.
2064
+ # Corresponds to the JSON property `portFieldType`
2065
+ # @return [String]
2066
+ attr_accessor :port_field_type
2067
+
2068
+ # Regex pattern for host.
2069
+ # Corresponds to the JSON property `regexPattern`
2070
+ # @return [String]
2071
+ attr_accessor :regex_pattern
2072
+
2073
+ def initialize(**args)
2074
+ update!(**args)
2075
+ end
2076
+
2077
+ # Update properties of this object
2078
+ def update!(**args)
2079
+ @autocomplete_suggestions = args[:autocomplete_suggestions] if args.key?(:autocomplete_suggestions)
2080
+ @default_port = args[:default_port] if args.key?(:default_port)
2081
+ @description = args[:description] if args.key?(:description)
2082
+ @display_name = args[:display_name] if args.key?(:display_name)
2083
+ @is_advanced = args[:is_advanced] if args.key?(:is_advanced)
2084
+ @key = args[:key] if args.key?(:key)
2085
+ @max = args[:max] if args.key?(:max)
2086
+ @min = args[:min] if args.key?(:min)
2087
+ @port_field_type = args[:port_field_type] if args.key?(:port_field_type)
2088
+ @regex_pattern = args[:regex_pattern] if args.key?(:regex_pattern)
2089
+ end
2090
+ end
2091
+
2092
+ # EUASecret provides a reference to entries in Secret Manager.
2093
+ class EuaSecret
2094
+ include Google::Apis::Core::Hashable
2095
+
2096
+ # Optional. The plain string value of the secret.
2097
+ # Corresponds to the JSON property `secretValue`
2098
+ # @return [String]
2099
+ attr_accessor :secret_value
2100
+
2101
+ # Optional. The resource name of the secret version in the format, format as: `
2102
+ # projects/*/secrets/*/versions/*`.
2103
+ # Corresponds to the JSON property `secretVersion`
2104
+ # @return [String]
2105
+ attr_accessor :secret_version
2106
+
2107
+ def initialize(**args)
2108
+ update!(**args)
2109
+ end
2110
+
2111
+ # Update properties of this object
2112
+ def update!(**args)
2113
+ @secret_value = args[:secret_value] if args.key?(:secret_value)
2114
+ @secret_version = args[:secret_version] if args.key?(:secret_version)
2115
+ end
2116
+ end
2117
+
2118
+ # Egress control config for connector runtime. These configurations define the
2119
+ # rules to identify which outbound domains/hosts needs to be whitelisted. It may
2120
+ # be a static information for a particular connector version or it is derived
2121
+ # from the configurations provided by the customer in Connection resource.
2122
+ class EgressControlConfig
2123
+ include Google::Apis::Core::Hashable
2124
+
2125
+ # Static Comma separated backends which are common for all Connection resources.
2126
+ # Supported formats for each backend are host:port or just host (host can be ip
2127
+ # address or domain name).
2128
+ # Corresponds to the JSON property `backends`
2129
+ # @return [String]
2130
+ attr_accessor :backends
2131
+
2132
+ # Extraction Rules to identity the backends from customer provided configuration
2133
+ # in Connection resource.
2134
+ # Corresponds to the JSON property `extractionRules`
2135
+ # @return [Google::Apis::ConnectorsV1::ExtractionRules]
2136
+ attr_accessor :extraction_rules
2137
+
2138
+ def initialize(**args)
2139
+ update!(**args)
2140
+ end
2141
+
2142
+ # Update properties of this object
2143
+ def update!(**args)
2144
+ @backends = args[:backends] if args.key?(:backends)
2145
+ @extraction_rules = args[:extraction_rules] if args.key?(:extraction_rules)
2146
+ end
2147
+ end
2148
+
2149
+ # A generic empty message that you can re-use to avoid defining duplicated empty
2150
+ # messages in your APIs. A typical example is to use it as the request or the
2151
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
2152
+ # protobuf.Empty) returns (google.protobuf.Empty); `
2153
+ class Empty
2154
+ include Google::Apis::Core::Hashable
2155
+
2156
+ def initialize(**args)
2157
+ update!(**args)
2158
+ end
2159
+
2160
+ # Update properties of this object
2161
+ def update!(**args)
2162
+ end
2163
+ end
2164
+
2165
+ # Regional encryption config for CMEK details.
2166
+ class EncryptionConfig
2167
+ include Google::Apis::Core::Hashable
2168
+
2169
+ # Optional. Encryption type for the region.
2170
+ # Corresponds to the JSON property `encryptionType`
2171
+ # @return [String]
2172
+ attr_accessor :encryption_type
2173
+
2174
+ # Optional. KMS crypto key. This field accepts identifiers of the form `projects/
2175
+ # `project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/ `crypto_key``
2176
+ # Corresponds to the JSON property `kmsKeyName`
2177
+ # @return [String]
2178
+ attr_accessor :kms_key_name
2179
+
2180
+ def initialize(**args)
2181
+ update!(**args)
2182
+ end
2183
+
2184
+ # Update properties of this object
2185
+ def update!(**args)
2186
+ @encryption_type = args[:encryption_type] if args.key?(:encryption_type)
2187
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2188
+ end
2189
+ end
2190
+
2191
+ # Encryption Key value.
2192
+ class EncryptionKey
2193
+ include Google::Apis::Core::Hashable
2194
+
2195
+ # Optional. The [KMS key name] with which the content of the Operation is
2196
+ # encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*
2197
+ # `. Will be empty string if google managed.
2198
+ # Corresponds to the JSON property `kmsKeyName`
2199
+ # @return [String]
2200
+ attr_accessor :kms_key_name
2201
+
2202
+ # Type.
2203
+ # Corresponds to the JSON property `type`
2204
+ # @return [String]
2205
+ attr_accessor :type
2206
+
2207
+ def initialize(**args)
2208
+ update!(**args)
2209
+ end
2210
+
2211
+ # Update properties of this object
2212
+ def update!(**args)
2213
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2214
+ @type = args[:type] if args.key?(:type)
2215
+ end
2216
+ end
2217
+
2218
+ # Endpoint message includes details of the Destination endpoint.
2219
+ class EndPoint
2220
+ include Google::Apis::Core::Hashable
2221
+
2222
+ # Optional. The URI of the Endpoint.
2223
+ # Corresponds to the JSON property `endpointUri`
2224
+ # @return [String]
2225
+ attr_accessor :endpoint_uri
2226
+
2227
+ # Optional. List of Header to be added to the Endpoint.
2228
+ # Corresponds to the JSON property `headers`
2229
+ # @return [Array<Google::Apis::ConnectorsV1::Header>]
2230
+ attr_accessor :headers
2231
+
2232
+ def initialize(**args)
2233
+ update!(**args)
2234
+ end
2235
+
2236
+ # Update properties of this object
2237
+ def update!(**args)
2238
+ @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
2239
+ @headers = args[:headers] if args.key?(:headers)
2240
+ end
2241
+ end
2242
+
2243
+ # AuthConfig defines details of a authentication type.
2244
+ class EndUserAuthentication
2245
+ include Google::Apis::Core::Hashable
2246
+
2247
+ # Optional. Config variables for the EndUserAuthentication.
2248
+ # Corresponds to the JSON property `configVariables`
2249
+ # @return [Array<Google::Apis::ConnectorsV1::EndUserAuthenticationConfigVariable>]
2250
+ attr_accessor :config_variables
2251
+
2252
+ # Output only. Created time.
2253
+ # Corresponds to the JSON property `createTime`
2254
+ # @return [String]
2255
+ attr_accessor :create_time
2256
+
2257
+ # Optional. Destination configs for the EndUserAuthentication.
2258
+ # Corresponds to the JSON property `destinationConfigs`
2259
+ # @return [Array<Google::Apis::ConnectorsV1::DestinationConfig>]
2260
+ attr_accessor :destination_configs
2261
+
2262
+ # EndUserAuthenticationConfig defines details of a authentication configuration
2263
+ # for EUC
2264
+ # Corresponds to the JSON property `endUserAuthenticationConfig`
2265
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfig]
2266
+ attr_accessor :end_user_authentication_config
2267
+
2268
+ # Optional. Labels for the EndUserAuthentication.
2269
+ # Corresponds to the JSON property `labels`
2270
+ # @return [Array<String>]
2271
+ attr_accessor :labels
2272
+
2273
+ # Required. Identifier. Resource name of the EndUserAuthentication. Format:
2274
+ # projects/`project`/locations/`location`/connections/`connection`/
2275
+ # endUserAuthentications/`end_user_authentication`
2276
+ # Corresponds to the JSON property `name`
2277
+ # @return [String]
2278
+ attr_accessor :name
2279
+
2280
+ # Message for NotifyEndpointDestination Destination to hit when the refresh
2281
+ # token is expired.
2282
+ # Corresponds to the JSON property `notifyEndpointDestination`
2283
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestination]
2284
+ attr_accessor :notify_endpoint_destination
2285
+
2286
+ # Optional. Roles for the EndUserAuthentication.
2287
+ # Corresponds to the JSON property `roles`
2288
+ # @return [Array<String>]
2289
+ attr_accessor :roles
2290
+
2291
+ # EndUserAuthentication Status denotes the status of the EndUserAuthentication
2292
+ # resource.
2293
+ # Corresponds to the JSON property `status`
2294
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationEndUserAuthenticationStatus]
2295
+ attr_accessor :status
2296
+
2297
+ # Output only. Updated time.
2298
+ # Corresponds to the JSON property `updateTime`
2299
+ # @return [String]
2300
+ attr_accessor :update_time
2301
+
2302
+ # Optional. The user id of the user.
2303
+ # Corresponds to the JSON property `userId`
2304
+ # @return [String]
2305
+ attr_accessor :user_id
2306
+
2307
+ def initialize(**args)
2308
+ update!(**args)
2309
+ end
2310
+
2311
+ # Update properties of this object
2312
+ def update!(**args)
2313
+ @config_variables = args[:config_variables] if args.key?(:config_variables)
2314
+ @create_time = args[:create_time] if args.key?(:create_time)
2315
+ @destination_configs = args[:destination_configs] if args.key?(:destination_configs)
2316
+ @end_user_authentication_config = args[:end_user_authentication_config] if args.key?(:end_user_authentication_config)
2317
+ @labels = args[:labels] if args.key?(:labels)
2318
+ @name = args[:name] if args.key?(:name)
2319
+ @notify_endpoint_destination = args[:notify_endpoint_destination] if args.key?(:notify_endpoint_destination)
2320
+ @roles = args[:roles] if args.key?(:roles)
2321
+ @status = args[:status] if args.key?(:status)
2322
+ @update_time = args[:update_time] if args.key?(:update_time)
2323
+ @user_id = args[:user_id] if args.key?(:user_id)
2324
+ end
2325
+ end
2326
+
2327
+ # EndUserAuthenticationConfig defines details of a authentication configuration
2328
+ # for EUC
2329
+ class EndUserAuthenticationConfig
2330
+ include Google::Apis::Core::Hashable
2331
+
2332
+ # Optional. List containing additional auth configs.
2333
+ # Corresponds to the JSON property `additionalVariables`
2334
+ # @return [Array<Google::Apis::ConnectorsV1::EndUserAuthenticationConfigVariable>]
2335
+ attr_accessor :additional_variables
2336
+
2337
+ # Identifier key for auth config
2338
+ # Corresponds to the JSON property `authKey`
2339
+ # @return [String]
2340
+ attr_accessor :auth_key
2341
+
2342
+ # The type of authentication configured.
2343
+ # Corresponds to the JSON property `authType`
2344
+ # @return [String]
2345
+ attr_accessor :auth_type
2346
+
2347
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
2348
+ # www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
2349
+ # Corresponds to the JSON property `oauth2AuthCodeFlow`
2350
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2AuthCodeFlow]
2351
+ attr_accessor :oauth2_auth_code_flow
2352
+
2353
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google
2354
+ # Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1
2355
+ # for more details.
2356
+ # Corresponds to the JSON property `oauth2AuthCodeFlowGoogleManaged`
2357
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged]
2358
+ attr_accessor :oauth2_auth_code_flow_google_managed
2359
+
2360
+ # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
2361
+ # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
2362
+ # Corresponds to the JSON property `oauth2ClientCredentials`
2363
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2ClientCredentials]
2364
+ attr_accessor :oauth2_client_credentials
2365
+
2366
+ # Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization
2367
+ # Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more
2368
+ # details.
2369
+ # Corresponds to the JSON property `oauth2JwtBearer`
2370
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2JwtBearer]
2371
+ attr_accessor :oauth2_jwt_bearer
2372
+
2373
+ # Parameters to support Ssh public key Authentication.
2374
+ # Corresponds to the JSON property `sshPublicKey`
2375
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigSshPublicKey]
2376
+ attr_accessor :ssh_public_key
2377
+
2378
+ # Parameters to support Username and Password Authentication.
2379
+ # Corresponds to the JSON property `userPassword`
2380
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigUserPassword]
2381
+ attr_accessor :user_password
2382
+
2383
+ def initialize(**args)
2384
+ update!(**args)
2385
+ end
2386
+
2387
+ # Update properties of this object
2388
+ def update!(**args)
2389
+ @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
2390
+ @auth_key = args[:auth_key] if args.key?(:auth_key)
2391
+ @auth_type = args[:auth_type] if args.key?(:auth_type)
2392
+ @oauth2_auth_code_flow = args[:oauth2_auth_code_flow] if args.key?(:oauth2_auth_code_flow)
2393
+ @oauth2_auth_code_flow_google_managed = args[:oauth2_auth_code_flow_google_managed] if args.key?(:oauth2_auth_code_flow_google_managed)
2394
+ @oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials)
2395
+ @oauth2_jwt_bearer = args[:oauth2_jwt_bearer] if args.key?(:oauth2_jwt_bearer)
2396
+ @ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
2397
+ @user_password = args[:user_password] if args.key?(:user_password)
2398
+ end
2399
+ end
2400
+
2401
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
2402
+ # www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
2403
+ class EndUserAuthenticationConfigOauth2AuthCodeFlow
2404
+ include Google::Apis::Core::Hashable
2405
+
2406
+ # Optional. Authorization code to be exchanged for access and refresh tokens.
2407
+ # Corresponds to the JSON property `authCode`
2408
+ # @return [String]
2409
+ attr_accessor :auth_code
2410
+
2411
+ # Optional. Auth URL for Authorization Code Flow
2412
+ # Corresponds to the JSON property `authUri`
2413
+ # @return [String]
2414
+ attr_accessor :auth_uri
2415
+
2416
+ # Optional. Client ID for user-provided OAuth app.
2417
+ # Corresponds to the JSON property `clientId`
2418
+ # @return [String]
2419
+ attr_accessor :client_id
2420
+
2421
+ # EUASecret provides a reference to entries in Secret Manager.
2422
+ # Corresponds to the JSON property `clientSecret`
2423
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
2424
+ attr_accessor :client_secret
2425
+
2426
+ # Optional. Whether to enable PKCE when the user performs the auth code flow.
2427
+ # Corresponds to the JSON property `enablePkce`
2428
+ # @return [Boolean]
2429
+ attr_accessor :enable_pkce
2430
+ alias_method :enable_pkce?, :enable_pkce
2431
+
2432
+ # pass only at create and not update using updateMask Auth Code Data
2433
+ # Corresponds to the JSON property `oauthTokenData`
2434
+ # @return [Google::Apis::ConnectorsV1::OAuthTokenData]
2435
+ attr_accessor :oauth_token_data
2436
+
2437
+ # Optional. PKCE verifier to be used during the auth code exchange.
2438
+ # Corresponds to the JSON property `pkceVerifier`
2439
+ # @return [String]
2440
+ attr_accessor :pkce_verifier
2441
+
2442
+ # Optional. Redirect URI to be provided during the auth code exchange.
2443
+ # Corresponds to the JSON property `redirectUri`
2444
+ # @return [String]
2445
+ attr_accessor :redirect_uri
2446
+
2447
+ # Optional. Scopes the connection will request when the user performs the auth
2448
+ # code flow.
2449
+ # Corresponds to the JSON property `scopes`
2450
+ # @return [Array<String>]
2451
+ attr_accessor :scopes
2452
+
2453
+ def initialize(**args)
2454
+ update!(**args)
2455
+ end
2456
+
2457
+ # Update properties of this object
2458
+ def update!(**args)
2459
+ @auth_code = args[:auth_code] if args.key?(:auth_code)
2460
+ @auth_uri = args[:auth_uri] if args.key?(:auth_uri)
2461
+ @client_id = args[:client_id] if args.key?(:client_id)
2462
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
2463
+ @enable_pkce = args[:enable_pkce] if args.key?(:enable_pkce)
2464
+ @oauth_token_data = args[:oauth_token_data] if args.key?(:oauth_token_data)
2465
+ @pkce_verifier = args[:pkce_verifier] if args.key?(:pkce_verifier)
2466
+ @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
2467
+ @scopes = args[:scopes] if args.key?(:scopes)
2468
+ end
2469
+ end
2470
+
2471
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google
2472
+ # Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1
2473
+ # for more details.
2474
+ class EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged
2475
+ include Google::Apis::Core::Hashable
2476
+
2477
+ # Optional. Authorization code to be exchanged for access and refresh tokens.
2478
+ # Corresponds to the JSON property `authCode`
2479
+ # @return [String]
2480
+ attr_accessor :auth_code
2481
+
2482
+ # pass only at create and not update using updateMask Auth Code Data
2483
+ # Corresponds to the JSON property `oauthTokenData`
2484
+ # @return [Google::Apis::ConnectorsV1::OAuthTokenData]
2485
+ attr_accessor :oauth_token_data
2486
+
2487
+ # Optional. Redirect URI to be provided during the auth code exchange.
2488
+ # Corresponds to the JSON property `redirectUri`
2489
+ # @return [String]
2490
+ attr_accessor :redirect_uri
2491
+
2492
+ # Required. Scopes the connection will request when the user performs the auth
2493
+ # code flow.
2494
+ # Corresponds to the JSON property `scopes`
2495
+ # @return [Array<String>]
2496
+ attr_accessor :scopes
2497
+
2498
+ def initialize(**args)
2499
+ update!(**args)
2500
+ end
2501
+
2502
+ # Update properties of this object
2503
+ def update!(**args)
2504
+ @auth_code = args[:auth_code] if args.key?(:auth_code)
2505
+ @oauth_token_data = args[:oauth_token_data] if args.key?(:oauth_token_data)
2506
+ @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
2507
+ @scopes = args[:scopes] if args.key?(:scopes)
2508
+ end
2509
+ end
2510
+
2511
+ # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
2512
+ # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
2513
+ class EndUserAuthenticationConfigOauth2ClientCredentials
2514
+ include Google::Apis::Core::Hashable
2515
+
2516
+ # The client identifier.
2517
+ # Corresponds to the JSON property `clientId`
2518
+ # @return [String]
2519
+ attr_accessor :client_id
2520
+
2521
+ # EUASecret provides a reference to entries in Secret Manager.
2522
+ # Corresponds to the JSON property `clientSecret`
2523
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
2524
+ attr_accessor :client_secret
2525
+
2526
+ def initialize(**args)
2527
+ update!(**args)
2528
+ end
2529
+
2530
+ # Update properties of this object
2531
+ def update!(**args)
2532
+ @client_id = args[:client_id] if args.key?(:client_id)
2533
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
2534
+ end
2535
+ end
2536
+
2537
+ # Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization
2538
+ # Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more
2539
+ # details.
2540
+ class EndUserAuthenticationConfigOauth2JwtBearer
2541
+ include Google::Apis::Core::Hashable
2542
+
2543
+ # EUASecret provides a reference to entries in Secret Manager.
2544
+ # Corresponds to the JSON property `clientKey`
2545
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
2546
+ attr_accessor :client_key
2547
+
2548
+ # JWT claims used for the jwt-bearer authorization grant.
2549
+ # Corresponds to the JSON property `jwtClaims`
2550
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2JwtBearerJwtClaims]
2551
+ attr_accessor :jwt_claims
2552
+
2553
+ def initialize(**args)
2554
+ update!(**args)
2555
+ end
2556
+
2557
+ # Update properties of this object
2558
+ def update!(**args)
2559
+ @client_key = args[:client_key] if args.key?(:client_key)
2560
+ @jwt_claims = args[:jwt_claims] if args.key?(:jwt_claims)
2561
+ end
2562
+ end
2563
+
2564
+ # JWT claims used for the jwt-bearer authorization grant.
2565
+ class EndUserAuthenticationConfigOauth2JwtBearerJwtClaims
2566
+ include Google::Apis::Core::Hashable
2567
+
2568
+ # Value for the "aud" claim.
2569
+ # Corresponds to the JSON property `audience`
2570
+ # @return [String]
2571
+ attr_accessor :audience
2572
+
2573
+ # Value for the "iss" claim.
2574
+ # Corresponds to the JSON property `issuer`
2575
+ # @return [String]
2576
+ attr_accessor :issuer
2577
+
2578
+ # Value for the "sub" claim.
2579
+ # Corresponds to the JSON property `subject`
1980
2580
  # @return [String]
1981
- attr_accessor :key
2581
+ attr_accessor :subject
1982
2582
 
1983
2583
  def initialize(**args)
1984
2584
  update!(**args)
@@ -1986,66 +2586,35 @@ module Google
1986
2586
 
1987
2587
  # Update properties of this object
1988
2588
  def update!(**args)
1989
- @destinations = args[:destinations] if args.key?(:destinations)
1990
- @key = args[:key] if args.key?(:key)
2589
+ @audience = args[:audience] if args.key?(:audience)
2590
+ @issuer = args[:issuer] if args.key?(:issuer)
2591
+ @subject = args[:subject] if args.key?(:subject)
1991
2592
  end
1992
2593
  end
1993
2594
 
1994
- # DestinationConfigTemplate defines required destinations supported by the
1995
- # Connector.
1996
- class DestinationConfigTemplate
2595
+ # Parameters to support Ssh public key Authentication.
2596
+ class EndUserAuthenticationConfigSshPublicKey
1997
2597
  include Google::Apis::Core::Hashable
1998
2598
 
1999
- # Autocomplete suggestions for destination URL field.
2000
- # Corresponds to the JSON property `autocompleteSuggestions`
2001
- # @return [Array<String>]
2002
- attr_accessor :autocomplete_suggestions
2003
-
2004
- # The default port.
2005
- # Corresponds to the JSON property `defaultPort`
2006
- # @return [Fixnum]
2007
- attr_accessor :default_port
2008
-
2009
- # Description.
2010
- # Corresponds to the JSON property `description`
2011
- # @return [String]
2012
- attr_accessor :description
2013
-
2014
- # Display name of the parameter.
2015
- # Corresponds to the JSON property `displayName`
2016
- # @return [String]
2017
- attr_accessor :display_name
2018
-
2019
- # Whether the current destination tempalate is part of Advanced settings
2020
- # Corresponds to the JSON property `isAdvanced`
2021
- # @return [Boolean]
2022
- attr_accessor :is_advanced
2023
- alias_method :is_advanced?, :is_advanced
2024
-
2025
- # Key of the destination.
2026
- # Corresponds to the JSON property `key`
2599
+ # Format of SSH Client cert.
2600
+ # Corresponds to the JSON property `certType`
2027
2601
  # @return [String]
2028
- attr_accessor :key
2029
-
2030
- # The maximum number of destinations supported for this key.
2031
- # Corresponds to the JSON property `max`
2032
- # @return [Fixnum]
2033
- attr_accessor :max
2602
+ attr_accessor :cert_type
2034
2603
 
2035
- # The minimum number of destinations supported for this key.
2036
- # Corresponds to the JSON property `min`
2037
- # @return [Fixnum]
2038
- attr_accessor :min
2604
+ # EUASecret provides a reference to entries in Secret Manager.
2605
+ # Corresponds to the JSON property `sshClientCert`
2606
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
2607
+ attr_accessor :ssh_client_cert
2039
2608
 
2040
- # Whether port number should be provided by customers.
2041
- # Corresponds to the JSON property `portFieldType`
2042
- # @return [String]
2043
- attr_accessor :port_field_type
2609
+ # EUASecret provides a reference to entries in Secret Manager.
2610
+ # Corresponds to the JSON property `sshClientCertPass`
2611
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
2612
+ attr_accessor :ssh_client_cert_pass
2044
2613
 
2045
- # Regex pattern for host.
2046
- # Corresponds to the JSON property `regexPattern`
2614
+ # The user account used to authenticate.
2615
+ # Corresponds to the JSON property `username`
2047
2616
  # @return [String]
2048
- attr_accessor :regex_pattern
2617
+ attr_accessor :username
2049
2618
 
2050
2619
  def initialize(**args)
2051
2620
  update!(**args)
@@ -2053,38 +2622,26 @@ module Google
2053
2622
 
2054
2623
  # Update properties of this object
2055
2624
  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)
2625
+ @cert_type = args[:cert_type] if args.key?(:cert_type)
2626
+ @ssh_client_cert = args[:ssh_client_cert] if args.key?(:ssh_client_cert)
2627
+ @ssh_client_cert_pass = args[:ssh_client_cert_pass] if args.key?(:ssh_client_cert_pass)
2628
+ @username = args[:username] if args.key?(:username)
2066
2629
  end
2067
2630
  end
2068
2631
 
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
2632
+ # Parameters to support Username and Password Authentication.
2633
+ class EndUserAuthenticationConfigUserPassword
2074
2634
  include Google::Apis::Core::Hashable
2075
2635
 
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
2636
+ # EUASecret provides a reference to entries in Secret Manager.
2637
+ # Corresponds to the JSON property `password`
2638
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
2639
+ attr_accessor :password
2082
2640
 
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
2641
+ # Username.
2642
+ # Corresponds to the JSON property `username`
2643
+ # @return [String]
2644
+ attr_accessor :username
2088
2645
 
2089
2646
  def initialize(**args)
2090
2647
  update!(**args)
@@ -2092,41 +2649,70 @@ module Google
2092
2649
 
2093
2650
  # Update properties of this object
2094
2651
  def update!(**args)
2095
- @backends = args[:backends] if args.key?(:backends)
2096
- @extraction_rules = args[:extraction_rules] if args.key?(:extraction_rules)
2652
+ @password = args[:password] if args.key?(:password)
2653
+ @username = args[:username] if args.key?(:username)
2097
2654
  end
2098
2655
  end
2099
2656
 
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
2657
+ # EndUserAuthenticationConfigVariable represents a configuration variable
2658
+ # present in a EndUserAuthentication.
2659
+ class EndUserAuthenticationConfigVariable
2105
2660
  include Google::Apis::Core::Hashable
2106
2661
 
2662
+ # Value is a bool.
2663
+ # Corresponds to the JSON property `boolValue`
2664
+ # @return [Boolean]
2665
+ attr_accessor :bool_value
2666
+ alias_method :bool_value?, :bool_value
2667
+
2668
+ # Value is an integer
2669
+ # Corresponds to the JSON property `intValue`
2670
+ # @return [Fixnum]
2671
+ attr_accessor :int_value
2672
+
2673
+ # Required. Key of the config variable.
2674
+ # Corresponds to the JSON property `key`
2675
+ # @return [String]
2676
+ attr_accessor :key
2677
+
2678
+ # EUASecret provides a reference to entries in Secret Manager.
2679
+ # Corresponds to the JSON property `secretValue`
2680
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
2681
+ attr_accessor :secret_value
2682
+
2683
+ # Value is a string.
2684
+ # Corresponds to the JSON property `stringValue`
2685
+ # @return [String]
2686
+ attr_accessor :string_value
2687
+
2107
2688
  def initialize(**args)
2108
2689
  update!(**args)
2109
2690
  end
2110
2691
 
2111
2692
  # Update properties of this object
2112
2693
  def update!(**args)
2694
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
2695
+ @int_value = args[:int_value] if args.key?(:int_value)
2696
+ @key = args[:key] if args.key?(:key)
2697
+ @secret_value = args[:secret_value] if args.key?(:secret_value)
2698
+ @string_value = args[:string_value] if args.key?(:string_value)
2113
2699
  end
2114
2700
  end
2115
2701
 
2116
- # Regional encryption config for CMEK details.
2117
- class EncryptionConfig
2702
+ # EndUserAuthentication Status denotes the status of the EndUserAuthentication
2703
+ # resource.
2704
+ class EndUserAuthenticationEndUserAuthenticationStatus
2118
2705
  include Google::Apis::Core::Hashable
2119
2706
 
2120
- # Optional. Encryption type for the region.
2121
- # Corresponds to the JSON property `encryptionType`
2707
+ # Output only. Description of the state.
2708
+ # Corresponds to the JSON property `description`
2122
2709
  # @return [String]
2123
- attr_accessor :encryption_type
2710
+ attr_accessor :description
2124
2711
 
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`
2712
+ # Output only. State of Event Subscription resource.
2713
+ # Corresponds to the JSON property `state`
2128
2714
  # @return [String]
2129
- attr_accessor :kms_key_name
2715
+ attr_accessor :state
2130
2716
 
2131
2717
  def initialize(**args)
2132
2718
  update!(**args)
@@ -2134,23 +2720,27 @@ module Google
2134
2720
 
2135
2721
  # Update properties of this object
2136
2722
  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)
2723
+ @description = args[:description] if args.key?(:description)
2724
+ @state = args[:state] if args.key?(:state)
2139
2725
  end
2140
2726
  end
2141
2727
 
2142
- # Encryption Key value.
2143
- class EncryptionKey
2728
+ # Message for NotifyEndpointDestination Destination to hit when the refresh
2729
+ # token is expired.
2730
+ class EndUserAuthenticationNotifyEndpointDestination
2144
2731
  include Google::Apis::Core::Hashable
2145
2732
 
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`
2733
+ # Endpoint message includes details of the Destination endpoint.
2734
+ # Corresponds to the JSON property `endpoint`
2735
+ # @return [Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestinationEndPoint]
2736
+ attr_accessor :endpoint
2737
+
2738
+ # Required. Service account needed for runtime plane to notify the backend.
2739
+ # Corresponds to the JSON property `serviceAccount`
2150
2740
  # @return [String]
2151
- attr_accessor :kms_key_name
2741
+ attr_accessor :service_account
2152
2742
 
2153
- # Type.
2743
+ # Required. type of the destination
2154
2744
  # Corresponds to the JSON property `type`
2155
2745
  # @return [String]
2156
2746
  attr_accessor :type
@@ -2161,23 +2751,24 @@ module Google
2161
2751
 
2162
2752
  # Update properties of this object
2163
2753
  def update!(**args)
2164
- @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2754
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
2755
+ @service_account = args[:service_account] if args.key?(:service_account)
2165
2756
  @type = args[:type] if args.key?(:type)
2166
2757
  end
2167
2758
  end
2168
2759
 
2169
2760
  # Endpoint message includes details of the Destination endpoint.
2170
- class EndPoint
2761
+ class EndUserAuthenticationNotifyEndpointDestinationEndPoint
2171
2762
  include Google::Apis::Core::Hashable
2172
2763
 
2173
- # The URI of the Endpoint.
2764
+ # Required. The URI of the Endpoint.
2174
2765
  # Corresponds to the JSON property `endpointUri`
2175
2766
  # @return [String]
2176
2767
  attr_accessor :endpoint_uri
2177
2768
 
2178
- # List of Header to be added to the Endpoint.
2769
+ # Optional. List of Header to be added to the Endpoint.
2179
2770
  # Corresponds to the JSON property `headers`
2180
- # @return [Array<Google::Apis::ConnectorsV1::Header>]
2771
+ # @return [Array<Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestinationEndPointHeader>]
2181
2772
  attr_accessor :headers
2182
2773
 
2183
2774
  def initialize(**args)
@@ -2191,6 +2782,31 @@ module Google
2191
2782
  end
2192
2783
  end
2193
2784
 
2785
+ # Header details for a given header to be added to Endpoint.
2786
+ class EndUserAuthenticationNotifyEndpointDestinationEndPointHeader
2787
+ include Google::Apis::Core::Hashable
2788
+
2789
+ # Required. Key of Header.
2790
+ # Corresponds to the JSON property `key`
2791
+ # @return [String]
2792
+ attr_accessor :key
2793
+
2794
+ # Required. Value of Header.
2795
+ # Corresponds to the JSON property `value`
2796
+ # @return [String]
2797
+ attr_accessor :value
2798
+
2799
+ def initialize(**args)
2800
+ update!(**args)
2801
+ end
2802
+
2803
+ # Update properties of this object
2804
+ def update!(**args)
2805
+ @key = args[:key] if args.key?(:key)
2806
+ @value = args[:value] if args.key?(:value)
2807
+ end
2808
+ end
2809
+
2194
2810
  # represents the Connector's Endpoint Attachment resource
2195
2811
  class EndpointAttachment
2196
2812
  include Google::Apis::Core::Hashable
@@ -2334,8 +2950,8 @@ module Google
2334
2950
  # @return [Google::Apis::ConnectorsV1::Jms]
2335
2951
  attr_accessor :jms
2336
2952
 
2337
- # Required. Resource name of the EventSubscription. Format: projects/`project`/
2338
- # locations/`location`/connections/`connection`/eventSubscriptions/`
2953
+ # Required. Identifier. Resource name of the EventSubscription. Format: projects/
2954
+ # `project`/locations/`location`/connections/`connection`/eventSubscriptions/`
2339
2955
  # event_subscription`
2340
2956
  # Corresponds to the JSON property `name`
2341
2957
  # @return [String]
@@ -2399,12 +3015,12 @@ module Google
2399
3015
  # @return [Google::Apis::ConnectorsV1::PubSub]
2400
3016
  attr_accessor :pubsub
2401
3017
 
2402
- # Service account needed for runtime plane to trigger IP workflow.
3018
+ # Optional. Service account needed for runtime plane to trigger IP workflow.
2403
3019
  # Corresponds to the JSON property `serviceAccount`
2404
3020
  # @return [String]
2405
3021
  attr_accessor :service_account
2406
3022
 
2407
- # type of the destination
3023
+ # Optional. type of the destination
2408
3024
  # Corresponds to the JSON property `type`
2409
3025
  # @return [String]
2410
3026
  attr_accessor :type
@@ -3098,12 +3714,12 @@ module Google
3098
3714
  class Header
3099
3715
  include Google::Apis::Core::Hashable
3100
3716
 
3101
- # Key of Header.
3717
+ # Optional. Key of Header.
3102
3718
  # Corresponds to the JSON property `key`
3103
3719
  # @return [String]
3104
3720
  attr_accessor :key
3105
3721
 
3106
- # Value of Header.
3722
+ # Optional. Value of Header.
3107
3723
  # Corresponds to the JSON property `value`
3108
3724
  # @return [String]
3109
3725
  attr_accessor :value
@@ -3477,17 +4093,17 @@ module Google
3477
4093
  class JwtClaims
3478
4094
  include Google::Apis::Core::Hashable
3479
4095
 
3480
- # Value for the "aud" claim.
4096
+ # Optional. Value for the "aud" claim.
3481
4097
  # Corresponds to the JSON property `audience`
3482
4098
  # @return [String]
3483
4099
  attr_accessor :audience
3484
4100
 
3485
- # Value for the "iss" claim.
4101
+ # Optional. Value for the "iss" claim.
3486
4102
  # Corresponds to the JSON property `issuer`
3487
4103
  # @return [String]
3488
4104
  attr_accessor :issuer
3489
4105
 
3490
- # Value for the "sub" claim.
4106
+ # Optional. Value for the "sub" claim.
3491
4107
  # Corresponds to the JSON property `subject`
3492
4108
  # @return [String]
3493
4109
  attr_accessor :subject
@@ -3684,6 +4300,37 @@ module Google
3684
4300
  end
3685
4301
  end
3686
4302
 
4303
+ # Response message for ConnectorsService.ListEndUserAuthentications
4304
+ class ListEndUserAuthenticationsResponse
4305
+ include Google::Apis::Core::Hashable
4306
+
4307
+ # Subscriptions.
4308
+ # Corresponds to the JSON property `endUserAuthentications`
4309
+ # @return [Array<Google::Apis::ConnectorsV1::EndUserAuthentication>]
4310
+ attr_accessor :end_user_authentications
4311
+
4312
+ # Next page token.
4313
+ # Corresponds to the JSON property `nextPageToken`
4314
+ # @return [String]
4315
+ attr_accessor :next_page_token
4316
+
4317
+ # Locations that could not be reached.
4318
+ # Corresponds to the JSON property `unreachable`
4319
+ # @return [Array<String>]
4320
+ attr_accessor :unreachable
4321
+
4322
+ def initialize(**args)
4323
+ update!(**args)
4324
+ end
4325
+
4326
+ # Update properties of this object
4327
+ def update!(**args)
4328
+ @end_user_authentications = args[:end_user_authentications] if args.key?(:end_user_authentications)
4329
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4330
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
4331
+ end
4332
+ end
4333
+
3687
4334
  # Response message for ConnectorsService.ListEndpointAttachments
3688
4335
  class ListEndpointAttachmentsResponse
3689
4336
  include Google::Apis::Core::Hashable
@@ -4042,13 +4689,13 @@ module Google
4042
4689
  class LockConfig
4043
4690
  include Google::Apis::Core::Hashable
4044
4691
 
4045
- # Indicates whether or not the connection is locked.
4692
+ # Optional. Indicates whether or not the connection is locked.
4046
4693
  # Corresponds to the JSON property `locked`
4047
4694
  # @return [Boolean]
4048
4695
  attr_accessor :locked
4049
4696
  alias_method :locked?, :locked
4050
4697
 
4051
- # Describes why a connection is locked.
4698
+ # Optional. Describes why a connection is locked.
4052
4699
  # Corresponds to the JSON property `reason`
4053
4700
  # @return [String]
4054
4701
  attr_accessor :reason
@@ -4476,12 +5123,12 @@ module Google
4476
5123
  class NodeConfig
4477
5124
  include Google::Apis::Core::Hashable
4478
5125
 
4479
- # Maximum number of nodes in the runtime nodes.
5126
+ # Optional. Maximum number of nodes in the runtime nodes.
4480
5127
  # Corresponds to the JSON property `maxNodeCount`
4481
5128
  # @return [Fixnum]
4482
5129
  attr_accessor :max_node_count
4483
5130
 
4484
- # Minimum number of nodes in the runtime nodes.
5131
+ # Optional. Minimum number of nodes in the runtime nodes.
4485
5132
  # Corresponds to the JSON property `minNodeCount`
4486
5133
  # @return [Fixnum]
4487
5134
  attr_accessor :min_node_count
@@ -4550,22 +5197,59 @@ module Google
4550
5197
  end
4551
5198
  end
4552
5199
 
5200
+ # pass only at create and not update using updateMask Auth Code Data
5201
+ class OAuthTokenData
5202
+ include Google::Apis::Core::Hashable
5203
+
5204
+ # EUASecret provides a reference to entries in Secret Manager.
5205
+ # Corresponds to the JSON property `accessToken`
5206
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
5207
+ attr_accessor :access_token
5208
+
5209
+ # Optional. Timestamp when the access token was created.
5210
+ # Corresponds to the JSON property `createTime`
5211
+ # @return [String]
5212
+ attr_accessor :create_time
5213
+
5214
+ # Optional. Time in seconds when the access token expires.
5215
+ # Corresponds to the JSON property `expiry`
5216
+ # @return [String]
5217
+ attr_accessor :expiry
5218
+
5219
+ # EUASecret provides a reference to entries in Secret Manager.
5220
+ # Corresponds to the JSON property `refreshToken`
5221
+ # @return [Google::Apis::ConnectorsV1::EuaSecret]
5222
+ attr_accessor :refresh_token
5223
+
5224
+ def initialize(**args)
5225
+ update!(**args)
5226
+ end
5227
+
5228
+ # Update properties of this object
5229
+ def update!(**args)
5230
+ @access_token = args[:access_token] if args.key?(:access_token)
5231
+ @create_time = args[:create_time] if args.key?(:create_time)
5232
+ @expiry = args[:expiry] if args.key?(:expiry)
5233
+ @refresh_token = args[:refresh_token] if args.key?(:refresh_token)
5234
+ end
5235
+ end
5236
+
4553
5237
  # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
4554
5238
  # www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
4555
5239
  class Oauth2AuthCodeFlow
4556
5240
  include Google::Apis::Core::Hashable
4557
5241
 
4558
- # Authorization code to be exchanged for access and refresh tokens.
5242
+ # Optional. Authorization code to be exchanged for access and refresh tokens.
4559
5243
  # Corresponds to the JSON property `authCode`
4560
5244
  # @return [String]
4561
5245
  attr_accessor :auth_code
4562
5246
 
4563
- # Auth URL for Authorization Code Flow
5247
+ # Optional. Auth URL for Authorization Code Flow
4564
5248
  # Corresponds to the JSON property `authUri`
4565
5249
  # @return [String]
4566
5250
  attr_accessor :auth_uri
4567
5251
 
4568
- # Client ID for user-provided OAuth app.
5252
+ # Optional. Client ID for user-provided OAuth app.
4569
5253
  # Corresponds to the JSON property `clientId`
4570
5254
  # @return [String]
4571
5255
  attr_accessor :client_id
@@ -4575,23 +5259,24 @@ module Google
4575
5259
  # @return [Google::Apis::ConnectorsV1::Secret]
4576
5260
  attr_accessor :client_secret
4577
5261
 
4578
- # Whether to enable PKCE when the user performs the auth code flow.
5262
+ # Optional. Whether to enable PKCE when the user performs the auth code flow.
4579
5263
  # Corresponds to the JSON property `enablePkce`
4580
5264
  # @return [Boolean]
4581
5265
  attr_accessor :enable_pkce
4582
5266
  alias_method :enable_pkce?, :enable_pkce
4583
5267
 
4584
- # PKCE verifier to be used during the auth code exchange.
5268
+ # Optional. PKCE verifier to be used during the auth code exchange.
4585
5269
  # Corresponds to the JSON property `pkceVerifier`
4586
5270
  # @return [String]
4587
5271
  attr_accessor :pkce_verifier
4588
5272
 
4589
- # Redirect URI to be provided during the auth code exchange.
5273
+ # Optional. Redirect URI to be provided during the auth code exchange.
4590
5274
  # Corresponds to the JSON property `redirectUri`
4591
5275
  # @return [String]
4592
5276
  attr_accessor :redirect_uri
4593
5277
 
4594
- # Scopes the connection will request when the user performs the auth code flow.
5278
+ # Optional. Scopes the connection will request when the user performs the auth
5279
+ # code flow.
4595
5280
  # Corresponds to the JSON property `scopes`
4596
5281
  # @return [Array<String>]
4597
5282
  attr_accessor :scopes
@@ -4652,7 +5337,7 @@ module Google
4652
5337
  class Oauth2ClientCredentials
4653
5338
  include Google::Apis::Core::Hashable
4654
5339
 
4655
- # The client identifier.
5340
+ # Optional. The client identifier.
4656
5341
  # Corresponds to the JSON property `clientId`
4657
5342
  # @return [String]
4658
5343
  attr_accessor :client_id
@@ -5832,8 +6517,8 @@ module Google
5832
6517
  class Secret
5833
6518
  include Google::Apis::Core::Hashable
5834
6519
 
5835
- # The resource name of the secret version in the format, format as: `projects/*/
5836
- # secrets/*/versions/*`.
6520
+ # Optional. The resource name of the secret version in the format, format as: `
6521
+ # projects/*/secrets/*/versions/*`.
5837
6522
  # Corresponds to the JSON property `secretVersion`
5838
6523
  # @return [String]
5839
6524
  attr_accessor :secret_version
@@ -6036,7 +6721,7 @@ module Google
6036
6721
  class SshPublicKey
6037
6722
  include Google::Apis::Core::Hashable
6038
6723
 
6039
- # Format of SSH Client cert.
6724
+ # Optional. Format of SSH Client cert.
6040
6725
  # Corresponds to the JSON property `certType`
6041
6726
  # @return [String]
6042
6727
  attr_accessor :cert_type
@@ -6051,7 +6736,7 @@ module Google
6051
6736
  # @return [Google::Apis::ConnectorsV1::Secret]
6052
6737
  attr_accessor :ssh_client_cert_pass
6053
6738
 
6054
- # The user account used to authenticate.
6739
+ # Optional. The user account used to authenticate.
6055
6740
  # Corresponds to the JSON property `username`
6056
6741
  # @return [String]
6057
6742
  attr_accessor :username
@@ -6475,7 +7160,7 @@ module Google
6475
7160
  # @return [Google::Apis::ConnectorsV1::Secret]
6476
7161
  attr_accessor :password
6477
7162
 
6478
- # Username.
7163
+ # Optional. Username.
6479
7164
  # Corresponds to the JSON property `username`
6480
7165
  # @return [String]
6481
7166
  attr_accessor :username