google-apis-connectors_v1 0.63.0 → 0.64.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -118,6 +118,13 @@ module Google
118
118
  # @return [Google::Apis::ConnectorsV1::Oauth2AuthCodeFlow]
119
119
  attr_accessor :oauth2_auth_code_flow
120
120
 
121
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google
122
+ # Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1
123
+ # for more details.
124
+ # Corresponds to the JSON property `oauth2AuthCodeFlowGoogleManaged`
125
+ # @return [Google::Apis::ConnectorsV1::Oauth2AuthCodeFlowGoogleManaged]
126
+ attr_accessor :oauth2_auth_code_flow_google_managed
127
+
121
128
  # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
122
129
  # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
123
130
  # Corresponds to the JSON property `oauth2ClientCredentials`
@@ -151,6 +158,7 @@ module Google
151
158
  @auth_key = args[:auth_key] if args.key?(:auth_key)
152
159
  @auth_type = args[:auth_type] if args.key?(:auth_type)
153
160
  @oauth2_auth_code_flow = args[:oauth2_auth_code_flow] if args.key?(:oauth2_auth_code_flow)
161
+ @oauth2_auth_code_flow_google_managed = args[:oauth2_auth_code_flow_google_managed] if args.key?(:oauth2_auth_code_flow_google_managed)
154
162
  @oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials)
155
163
  @oauth2_jwt_bearer = args[:oauth2_jwt_bearer] if args.key?(:oauth2_jwt_bearer)
156
164
  @ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
@@ -187,6 +195,12 @@ module Google
187
195
  # @return [String]
188
196
  attr_accessor :display_name
189
197
 
198
+ # Whether the auth config is the default one.
199
+ # Corresponds to the JSON property `isDefault`
200
+ # @return [Boolean]
201
+ attr_accessor :is_default
202
+ alias_method :is_default?, :is_default
203
+
190
204
  def initialize(**args)
191
205
  update!(**args)
192
206
  end
@@ -198,6 +212,170 @@ module Google
198
212
  @config_variable_templates = args[:config_variable_templates] if args.key?(:config_variable_templates)
199
213
  @description = args[:description] if args.key?(:description)
200
214
  @display_name = args[:display_name] if args.key?(:display_name)
215
+ @is_default = args[:is_default] if args.key?(:is_default)
216
+ end
217
+ end
218
+
219
+ # AuthField defines a field in an authentication type.
220
+ class AuthField
221
+ include Google::Apis::Core::Hashable
222
+
223
+ # Data type of the field.
224
+ # Corresponds to the JSON property `dataType`
225
+ # @return [String]
226
+ attr_accessor :data_type
227
+
228
+ # Description of the field.
229
+ # Corresponds to the JSON property `description`
230
+ # @return [String]
231
+ attr_accessor :description
232
+
233
+ # Key of the field.
234
+ # Corresponds to the JSON property `key`
235
+ # @return [String]
236
+ attr_accessor :key
237
+
238
+ def initialize(**args)
239
+ update!(**args)
240
+ end
241
+
242
+ # Update properties of this object
243
+ def update!(**args)
244
+ @data_type = args[:data_type] if args.key?(:data_type)
245
+ @description = args[:description] if args.key?(:description)
246
+ @key = args[:key] if args.key?(:key)
247
+ end
248
+ end
249
+
250
+ # AuthObject defines a JSON schema of an authentication type.
251
+ class AuthObject
252
+ include Google::Apis::Core::Hashable
253
+
254
+ # Whether the object has additional properties.
255
+ # Corresponds to the JSON property `additionalProperties`
256
+ # @return [Boolean]
257
+ attr_accessor :additional_properties
258
+ alias_method :additional_properties?, :additional_properties
259
+
260
+ # Auth key of the object.
261
+ # Corresponds to the JSON property `authKey`
262
+ # @return [String]
263
+ attr_accessor :auth_key
264
+
265
+ # Auth type of the object.
266
+ # Corresponds to the JSON property `authType`
267
+ # @return [String]
268
+ attr_accessor :auth_type
269
+
270
+ # Description of the object.
271
+ # Corresponds to the JSON property `description`
272
+ # @return [String]
273
+ attr_accessor :description
274
+
275
+ # Whether the object is the default one.
276
+ # Corresponds to the JSON property `isDefault`
277
+ # @return [Boolean]
278
+ attr_accessor :is_default
279
+ alias_method :is_default?, :is_default
280
+
281
+ # Properties of the object.
282
+ # Corresponds to the JSON property `properties`
283
+ # @return [Hash<String,Google::Apis::ConnectorsV1::AuthProperty>]
284
+ attr_accessor :properties
285
+
286
+ # Type of the object.
287
+ # Corresponds to the JSON property `type`
288
+ # @return [String]
289
+ attr_accessor :type
290
+
291
+ def initialize(**args)
292
+ update!(**args)
293
+ end
294
+
295
+ # Update properties of this object
296
+ def update!(**args)
297
+ @additional_properties = args[:additional_properties] if args.key?(:additional_properties)
298
+ @auth_key = args[:auth_key] if args.key?(:auth_key)
299
+ @auth_type = args[:auth_type] if args.key?(:auth_type)
300
+ @description = args[:description] if args.key?(:description)
301
+ @is_default = args[:is_default] if args.key?(:is_default)
302
+ @properties = args[:properties] if args.key?(:properties)
303
+ @type = args[:type] if args.key?(:type)
304
+ end
305
+ end
306
+
307
+ # AuthProperty defines a property of an authentication type.
308
+ class AuthProperty
309
+ include Google::Apis::Core::Hashable
310
+
311
+ # Description of the property.
312
+ # Corresponds to the JSON property `description`
313
+ # @return [String]
314
+ attr_accessor :description
315
+
316
+ # Type of the property.
317
+ # Corresponds to the JSON property `type`
318
+ # @return [String]
319
+ attr_accessor :type
320
+
321
+ def initialize(**args)
322
+ update!(**args)
323
+ end
324
+
325
+ # Update properties of this object
326
+ def update!(**args)
327
+ @description = args[:description] if args.key?(:description)
328
+ @type = args[:type] if args.key?(:type)
329
+ end
330
+ end
331
+
332
+ # AuthSchema defines the schema of an authentication type.
333
+ class AuthSchema
334
+ include Google::Apis::Core::Hashable
335
+
336
+ # List of AuthFields.
337
+ # Corresponds to the JSON property `authFields`
338
+ # @return [Array<Google::Apis::ConnectorsV1::AuthField>]
339
+ attr_accessor :auth_fields
340
+
341
+ # Auth key of the schema.
342
+ # Corresponds to the JSON property `authKey`
343
+ # @return [String]
344
+ attr_accessor :auth_key
345
+
346
+ # Auth type of the schema.
347
+ # Corresponds to the JSON property `authType`
348
+ # @return [String]
349
+ attr_accessor :auth_type
350
+
351
+ # Description of the schema.
352
+ # Corresponds to the JSON property `description`
353
+ # @return [String]
354
+ attr_accessor :description
355
+
356
+ # Display name of the schema.
357
+ # Corresponds to the JSON property `displayName`
358
+ # @return [String]
359
+ attr_accessor :display_name
360
+
361
+ # Whether the auth schema is the default one.
362
+ # Corresponds to the JSON property `isDefault`
363
+ # @return [Boolean]
364
+ attr_accessor :is_default
365
+ alias_method :is_default?, :is_default
366
+
367
+ def initialize(**args)
368
+ update!(**args)
369
+ end
370
+
371
+ # Update properties of this object
372
+ def update!(**args)
373
+ @auth_fields = args[:auth_fields] if args.key?(:auth_fields)
374
+ @auth_key = args[:auth_key] if args.key?(:auth_key)
375
+ @auth_type = args[:auth_type] if args.key?(:auth_type)
376
+ @description = args[:description] if args.key?(:description)
377
+ @display_name = args[:display_name] if args.key?(:display_name)
378
+ @is_default = args[:is_default] if args.key?(:is_default)
201
379
  end
202
380
  end
203
381
 
@@ -212,6 +390,11 @@ module Google
212
390
  # @return [String]
213
391
  attr_accessor :client_id
214
392
 
393
+ # Secret provides a reference to entries in Secret Manager.
394
+ # Corresponds to the JSON property `clientSecret`
395
+ # @return [Google::Apis::ConnectorsV1::Secret]
396
+ attr_accessor :client_secret
397
+
215
398
  # Whether to enable PKCE for the auth code flow.
216
399
  # Corresponds to the JSON property `enablePkce`
217
400
  # @return [Boolean]
@@ -242,6 +425,7 @@ module Google
242
425
  # Update properties of this object
243
426
  def update!(**args)
244
427
  @client_id = args[:client_id] if args.key?(:client_id)
428
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
245
429
  @enable_pkce = args[:enable_pkce] if args.key?(:enable_pkce)
246
430
  @omit_query_params = args[:omit_query_params] if args.key?(:omit_query_params)
247
431
  @scopes = args[:scopes] if args.key?(:scopes)
@@ -564,6 +748,14 @@ module Google
564
748
  # @return [Google::Apis::ConnectorsV1::AuthConfig]
565
749
  attr_accessor :auth_config
566
750
 
751
+ # Optional. Auth override enabled for the connection. If Auth Override is
752
+ # enabled, Connection allows the backend service auth to be overridden in the
753
+ # entities/actions API.
754
+ # Corresponds to the JSON property `authOverrideEnabled`
755
+ # @return [Boolean]
756
+ attr_accessor :auth_override_enabled
757
+ alias_method :auth_override_enabled?, :auth_override_enabled
758
+
567
759
  # Billing config for the connection.
568
760
  # Corresponds to the JSON property `billingConfig`
569
761
  # @return [Google::Apis::ConnectorsV1::BillingConfig]
@@ -636,6 +828,12 @@ module Google
636
828
  # @return [Google::Apis::ConnectorsV1::EventingRuntimeData]
637
829
  attr_accessor :eventing_runtime_data
638
830
 
831
+ # Output only. The name of the Hostname of the Service Directory service with
832
+ # TLS.
833
+ # Corresponds to the JSON property `host`
834
+ # @return [String]
835
+ attr_accessor :host
836
+
639
837
  # Output only. GCR location where the runtime image is stored. formatted like:
640
838
  # gcr.io/`bucketName`/`imageName`
641
839
  # Corresponds to the JSON property `imageLocation`
@@ -713,6 +911,11 @@ module Google
713
911
  attr_accessor :suspended
714
912
  alias_method :suspended?, :suspended
715
913
 
914
+ # Output only. The name of the Service Directory service with TLS.
915
+ # Corresponds to the JSON property `tlsServiceDirectory`
916
+ # @return [String]
917
+ attr_accessor :tls_service_directory
918
+
716
919
  # Output only. Updated time.
717
920
  # Corresponds to the JSON property `updateTime`
718
921
  # @return [String]
@@ -726,6 +929,7 @@ module Google
726
929
  def update!(**args)
727
930
  @async_operations_enabled = args[:async_operations_enabled] if args.key?(:async_operations_enabled)
728
931
  @auth_config = args[:auth_config] if args.key?(:auth_config)
932
+ @auth_override_enabled = args[:auth_override_enabled] if args.key?(:auth_override_enabled)
729
933
  @billing_config = args[:billing_config] if args.key?(:billing_config)
730
934
  @config_variables = args[:config_variables] if args.key?(:config_variables)
731
935
  @connection_revision = args[:connection_revision] if args.key?(:connection_revision)
@@ -739,6 +943,7 @@ module Google
739
943
  @eventing_config = args[:eventing_config] if args.key?(:eventing_config)
740
944
  @eventing_enablement_type = args[:eventing_enablement_type] if args.key?(:eventing_enablement_type)
741
945
  @eventing_runtime_data = args[:eventing_runtime_data] if args.key?(:eventing_runtime_data)
946
+ @host = args[:host] if args.key?(:host)
742
947
  @image_location = args[:image_location] if args.key?(:image_location)
743
948
  @is_trusted_tester = args[:is_trusted_tester] if args.key?(:is_trusted_tester)
744
949
  @labels = args[:labels] if args.key?(:labels)
@@ -752,6 +957,7 @@ module Google
752
957
  @status = args[:status] if args.key?(:status)
753
958
  @subscription_type = args[:subscription_type] if args.key?(:subscription_type)
754
959
  @suspended = args[:suspended] if args.key?(:suspended)
960
+ @tls_service_directory = args[:tls_service_directory] if args.key?(:tls_service_directory)
755
961
  @update_time = args[:update_time] if args.key?(:update_time)
756
962
  end
757
963
  end
@@ -952,11 +1158,23 @@ module Google
952
1158
  class ConnectorInfraConfig
953
1159
  include Google::Apis::Core::Hashable
954
1160
 
1161
+ # Indicates that the Cloud Run CPU should always be allocated.
1162
+ # Corresponds to the JSON property `alwaysAllocateCpu`
1163
+ # @return [Boolean]
1164
+ attr_accessor :always_allocate_cpu
1165
+ alias_method :always_allocate_cpu?, :always_allocate_cpu
1166
+
955
1167
  # The window used for ratelimiting runtime requests to connections.
956
1168
  # Corresponds to the JSON property `connectionRatelimitWindowSeconds`
957
1169
  # @return [Fixnum]
958
1170
  attr_accessor :connection_ratelimit_window_seconds
959
1171
 
1172
+ # Indicate whether connector versioning is enabled.
1173
+ # Corresponds to the JSON property `connectorVersioningEnabled`
1174
+ # @return [Boolean]
1175
+ attr_accessor :connector_versioning_enabled
1176
+ alias_method :connector_versioning_enabled?, :connector_versioning_enabled
1177
+
960
1178
  # Indicate whether connector is deployed on GKE/CloudRun
961
1179
  # Corresponds to the JSON property `deploymentModel`
962
1180
  # @return [String]
@@ -972,12 +1190,29 @@ module Google
972
1190
  # @return [Fixnum]
973
1191
  attr_accessor :internalclient_ratelimit_threshold
974
1192
 
1193
+ # Max Instance Request Conncurrency for Cloud Run service.
1194
+ # Corresponds to the JSON property `maxInstanceRequestConcurrency`
1195
+ # @return [Fixnum]
1196
+ attr_accessor :max_instance_request_concurrency
1197
+
975
1198
  # Indicate whether connector is being migrated to cloud run deployment model.
976
1199
  # Corresponds to the JSON property `migrateDeploymentModel`
977
1200
  # @return [Boolean]
978
1201
  attr_accessor :migrate_deployment_model
979
1202
  alias_method :migrate_deployment_model?, :migrate_deployment_model
980
1203
 
1204
+ # Indicate whether connector is being migrated to TLS.
1205
+ # Corresponds to the JSON property `migrateTls`
1206
+ # @return [Boolean]
1207
+ attr_accessor :migrate_tls
1208
+ alias_method :migrate_tls?, :migrate_tls
1209
+
1210
+ # Indicate whether cloud spanner is required for connector job.
1211
+ # Corresponds to the JSON property `provisionCloudSpanner`
1212
+ # @return [Boolean]
1213
+ attr_accessor :provision_cloud_spanner
1214
+ alias_method :provision_cloud_spanner?, :provision_cloud_spanner
1215
+
981
1216
  # Max QPS supported by the connector version before throttling of requests.
982
1217
  # Corresponds to the JSON property `ratelimitThreshold`
983
1218
  # @return [Fixnum]
@@ -1004,11 +1239,16 @@ module Google
1004
1239
 
1005
1240
  # Update properties of this object
1006
1241
  def update!(**args)
1242
+ @always_allocate_cpu = args[:always_allocate_cpu] if args.key?(:always_allocate_cpu)
1007
1243
  @connection_ratelimit_window_seconds = args[:connection_ratelimit_window_seconds] if args.key?(:connection_ratelimit_window_seconds)
1244
+ @connector_versioning_enabled = args[:connector_versioning_enabled] if args.key?(:connector_versioning_enabled)
1008
1245
  @deployment_model = args[:deployment_model] if args.key?(:deployment_model)
1009
1246
  @hpa_config = args[:hpa_config] if args.key?(:hpa_config)
1010
1247
  @internalclient_ratelimit_threshold = args[:internalclient_ratelimit_threshold] if args.key?(:internalclient_ratelimit_threshold)
1248
+ @max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
1011
1249
  @migrate_deployment_model = args[:migrate_deployment_model] if args.key?(:migrate_deployment_model)
1250
+ @migrate_tls = args[:migrate_tls] if args.key?(:migrate_tls)
1251
+ @provision_cloud_spanner = args[:provision_cloud_spanner] if args.key?(:provision_cloud_spanner)
1012
1252
  @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold)
1013
1253
  @resource_limits = args[:resource_limits] if args.key?(:resource_limits)
1014
1254
  @resource_requests = args[:resource_requests] if args.key?(:resource_requests)
@@ -1070,6 +1310,24 @@ module Google
1070
1310
  # @return [Google::Apis::ConnectorsV1::EventingConfigTemplate]
1071
1311
  attr_accessor :eventing_config_template
1072
1312
 
1313
+ # Output only. Is async operations supported.
1314
+ # Corresponds to the JSON property `isAsyncOperationsSupported`
1315
+ # @return [Boolean]
1316
+ attr_accessor :is_async_operations_supported
1317
+ alias_method :is_async_operations_supported?, :is_async_operations_supported
1318
+
1319
+ # Output only. Is custom actions supported.
1320
+ # Corresponds to the JSON property `isCustomActionsSupported`
1321
+ # @return [Boolean]
1322
+ attr_accessor :is_custom_actions_supported
1323
+ alias_method :is_custom_actions_supported?, :is_custom_actions_supported
1324
+
1325
+ # Output only. Is custom entities supported.
1326
+ # Corresponds to the JSON property `isCustomEntitiesSupported`
1327
+ # @return [Boolean]
1328
+ attr_accessor :is_custom_entities_supported
1329
+ alias_method :is_custom_entities_supported?, :is_custom_entities_supported
1330
+
1073
1331
  # Output only. Resource labels to represent user-provided metadata. Refer to
1074
1332
  # cloud documentation on labels for more details. https://cloud.google.com/
1075
1333
  # compute/docs/labeling-resources
@@ -1123,6 +1381,16 @@ module Google
1123
1381
  # @return [Google::Apis::ConnectorsV1::SupportedRuntimeFeatures]
1124
1382
  attr_accessor :supported_runtime_features
1125
1383
 
1384
+ # Output only. Supported standard actions.
1385
+ # Corresponds to the JSON property `supportedStandardActions`
1386
+ # @return [Array<Google::Apis::ConnectorsV1::StandardAction>]
1387
+ attr_accessor :supported_standard_actions
1388
+
1389
+ # Output only. Supported standard entities.
1390
+ # Corresponds to the JSON property `supportedStandardEntities`
1391
+ # @return [Array<Google::Apis::ConnectorsV1::StandardEntity>]
1392
+ attr_accessor :supported_standard_entities
1393
+
1126
1394
  # Output only. Unsupported connection types.
1127
1395
  # Corresponds to the JSON property `unsupportedConnectionTypes`
1128
1396
  # @return [Array<String>]
@@ -1148,6 +1416,9 @@ module Google
1148
1416
  @display_name = args[:display_name] if args.key?(:display_name)
1149
1417
  @egress_control_config = args[:egress_control_config] if args.key?(:egress_control_config)
1150
1418
  @eventing_config_template = args[:eventing_config_template] if args.key?(:eventing_config_template)
1419
+ @is_async_operations_supported = args[:is_async_operations_supported] if args.key?(:is_async_operations_supported)
1420
+ @is_custom_actions_supported = args[:is_custom_actions_supported] if args.key?(:is_custom_actions_supported)
1421
+ @is_custom_entities_supported = args[:is_custom_entities_supported] if args.key?(:is_custom_entities_supported)
1151
1422
  @labels = args[:labels] if args.key?(:labels)
1152
1423
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
1153
1424
  @name = args[:name] if args.key?(:name)
@@ -1157,6 +1428,8 @@ module Google
1157
1428
  @schema_refresh_config = args[:schema_refresh_config] if args.key?(:schema_refresh_config)
1158
1429
  @ssl_config_template = args[:ssl_config_template] if args.key?(:ssl_config_template)
1159
1430
  @supported_runtime_features = args[:supported_runtime_features] if args.key?(:supported_runtime_features)
1431
+ @supported_standard_actions = args[:supported_standard_actions] if args.key?(:supported_standard_actions)
1432
+ @supported_standard_entities = args[:supported_standard_entities] if args.key?(:supported_standard_entities)
1160
1433
  @unsupported_connection_types = args[:unsupported_connection_types] if args.key?(:unsupported_connection_types)
1161
1434
  @update_time = args[:update_time] if args.key?(:update_time)
1162
1435
  end
@@ -1192,6 +1465,11 @@ module Google
1192
1465
  # @return [Fixnum]
1193
1466
  attr_accessor :internalclient_ratelimit_threshold
1194
1467
 
1468
+ # Output only. Max instance request concurrency.
1469
+ # Corresponds to the JSON property `maxInstanceRequestConcurrency`
1470
+ # @return [Fixnum]
1471
+ attr_accessor :max_instance_request_concurrency
1472
+
1195
1473
  # Output only. Max QPS supported by the connector version before throttling of
1196
1474
  # requests.
1197
1475
  # Corresponds to the JSON property `ratelimitThreshold`
@@ -1213,6 +1491,11 @@ module Google
1213
1491
  # @return [String]
1214
1492
  attr_accessor :shared_deployment
1215
1493
 
1494
+ # Output only. Status of the TLS migration.
1495
+ # Corresponds to the JSON property `tlsMigrationState`
1496
+ # @return [String]
1497
+ attr_accessor :tls_migration_state
1498
+
1216
1499
  def initialize(**args)
1217
1500
  update!(**args)
1218
1501
  end
@@ -1224,10 +1507,12 @@ module Google
1224
1507
  @deployment_model_migration_state = args[:deployment_model_migration_state] if args.key?(:deployment_model_migration_state)
1225
1508
  @hpa_config = args[:hpa_config] if args.key?(:hpa_config)
1226
1509
  @internalclient_ratelimit_threshold = args[:internalclient_ratelimit_threshold] if args.key?(:internalclient_ratelimit_threshold)
1510
+ @max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
1227
1511
  @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold)
1228
1512
  @resource_limits = args[:resource_limits] if args.key?(:resource_limits)
1229
1513
  @resource_requests = args[:resource_requests] if args.key?(:resource_requests)
1230
1514
  @shared_deployment = args[:shared_deployment] if args.key?(:shared_deployment)
1515
+ @tls_migration_state = args[:tls_migration_state] if args.key?(:tls_migration_state)
1231
1516
  end
1232
1517
  end
1233
1518
 
@@ -1272,6 +1557,11 @@ module Google
1272
1557
  # @return [Array<String>]
1273
1558
  attr_accessor :all_connector_versions
1274
1559
 
1560
+ # Output only. All marketplace versions.
1561
+ # Corresponds to the JSON property `allMarketplaceVersions`
1562
+ # @return [Array<String>]
1563
+ attr_accessor :all_marketplace_versions
1564
+
1275
1565
  # Output only. Created time.
1276
1566
  # Corresponds to the JSON property `createTime`
1277
1567
  # @return [String]
@@ -1310,6 +1600,11 @@ module Google
1310
1600
  # @return [String]
1311
1601
  attr_accessor :name
1312
1602
 
1603
+ # Output only. Published marketplace versions.
1604
+ # Corresponds to the JSON property `publishedMarketplaceVersions`
1605
+ # @return [Array<String>]
1606
+ attr_accessor :published_marketplace_versions
1607
+
1313
1608
  # Output only. Updated time.
1314
1609
  # Corresponds to the JSON property `updateTime`
1315
1610
  # @return [String]
@@ -1323,6 +1618,7 @@ module Google
1323
1618
  def update!(**args)
1324
1619
  @active_connector_versions = args[:active_connector_versions] if args.key?(:active_connector_versions)
1325
1620
  @all_connector_versions = args[:all_connector_versions] if args.key?(:all_connector_versions)
1621
+ @all_marketplace_versions = args[:all_marketplace_versions] if args.key?(:all_marketplace_versions)
1326
1622
  @create_time = args[:create_time] if args.key?(:create_time)
1327
1623
  @custom_connector_type = args[:custom_connector_type] if args.key?(:custom_connector_type)
1328
1624
  @description = args[:description] if args.key?(:description)
@@ -1330,6 +1626,7 @@ module Google
1330
1626
  @labels = args[:labels] if args.key?(:labels)
1331
1627
  @logo = args[:logo] if args.key?(:logo)
1332
1628
  @name = args[:name] if args.key?(:name)
1629
+ @published_marketplace_versions = args[:published_marketplace_versions] if args.key?(:published_marketplace_versions)
1333
1630
  @update_time = args[:update_time] if args.key?(:update_time)
1334
1631
  end
1335
1632
  end
@@ -1381,6 +1678,18 @@ module Google
1381
1678
  # @return [String]
1382
1679
  attr_accessor :name
1383
1680
 
1681
+ # Partner metadata details. This will be populated when publishing the custom
1682
+ # connector as a partner connector version. On publishing, parntner connector
1683
+ # version will be created using the fields in PartnerMetadata.
1684
+ # Corresponds to the JSON property `partnerMetadata`
1685
+ # @return [Google::Apis::ConnectorsV1::PartnerMetadata]
1686
+ attr_accessor :partner_metadata
1687
+
1688
+ # Publish status of a custom connector.
1689
+ # Corresponds to the JSON property `publishStatus`
1690
+ # @return [Google::Apis::ConnectorsV1::PublishStatus]
1691
+ attr_accessor :publish_status
1692
+
1384
1693
  # Optional. Service account used by runtime plane to access auth config secrets.
1385
1694
  # Corresponds to the JSON property `serviceAccount`
1386
1695
  # @return [String]
@@ -1421,6 +1730,8 @@ module Google
1421
1730
  @enable_backend_destination_config = args[:enable_backend_destination_config] if args.key?(:enable_backend_destination_config)
1422
1731
  @labels = args[:labels] if args.key?(:labels)
1423
1732
  @name = args[:name] if args.key?(:name)
1733
+ @partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
1734
+ @publish_status = args[:publish_status] if args.key?(:publish_status)
1424
1735
  @service_account = args[:service_account] if args.key?(:service_account)
1425
1736
  @spec_location = args[:spec_location] if args.key?(:spec_location)
1426
1737
  @spec_server_urls = args[:spec_server_urls] if args.key?(:spec_server_urls)
@@ -1884,6 +2195,12 @@ module Google
1884
2195
  # @return [String]
1885
2196
  attr_accessor :service_attachment
1886
2197
 
2198
+ # Output only. The Private Service Connect Connection Endpoint State. This value
2199
+ # is only available in the Full view.
2200
+ # Corresponds to the JSON property `state`
2201
+ # @return [String]
2202
+ attr_accessor :state
2203
+
1887
2204
  # Output only. Updated time.
1888
2205
  # Corresponds to the JSON property `updateTime`
1889
2206
  # @return [String]
@@ -1902,6 +2219,7 @@ module Google
1902
2219
  @labels = args[:labels] if args.key?(:labels)
1903
2220
  @name = args[:name] if args.key?(:name)
1904
2221
  @service_attachment = args[:service_attachment] if args.key?(:service_attachment)
2222
+ @state = args[:state] if args.key?(:state)
1905
2223
  @update_time = args[:update_time] if args.key?(:update_time)
1906
2224
  end
1907
2225
  end
@@ -2380,6 +2698,11 @@ module Google
2380
2698
  # @return [Google::Apis::ConnectorsV1::WebhookData]
2381
2699
  attr_accessor :webhook_data
2382
2700
 
2701
+ # WebhookSubscriptions has details of webhook subscriptions.
2702
+ # Corresponds to the JSON property `webhookSubscriptions`
2703
+ # @return [Google::Apis::ConnectorsV1::WebhookSubscriptions]
2704
+ attr_accessor :webhook_subscriptions
2705
+
2383
2706
  def initialize(**args)
2384
2707
  update!(**args)
2385
2708
  end
@@ -2390,6 +2713,7 @@ module Google
2390
2713
  @events_listener_psc_sa = args[:events_listener_psc_sa] if args.key?(:events_listener_psc_sa)
2391
2714
  @status = args[:status] if args.key?(:status)
2392
2715
  @webhook_data = args[:webhook_data] if args.key?(:webhook_data)
2716
+ @webhook_subscriptions = args[:webhook_subscriptions] if args.key?(:webhook_subscriptions)
2393
2717
  end
2394
2718
  end
2395
2719
 
@@ -2518,6 +2842,31 @@ module Google
2518
2842
  end
2519
2843
  end
2520
2844
 
2845
+ # Response message for Connectors.GetAuthSchema.
2846
+ class FetchAuthSchemaResponse
2847
+ include Google::Apis::Core::Hashable
2848
+
2849
+ # List of AuthSchemas.
2850
+ # Corresponds to the JSON property `authSchemas`
2851
+ # @return [Array<Google::Apis::ConnectorsV1::AuthSchema>]
2852
+ attr_accessor :auth_schemas
2853
+
2854
+ # JsonAuthSchema defines the JSON schema of all authentication types.
2855
+ # Corresponds to the JSON property `jsonSchema`
2856
+ # @return [Google::Apis::ConnectorsV1::JsonAuthSchema]
2857
+ attr_accessor :json_schema
2858
+
2859
+ def initialize(**args)
2860
+ update!(**args)
2861
+ end
2862
+
2863
+ # Update properties of this object
2864
+ def update!(**args)
2865
+ @auth_schemas = args[:auth_schemas] if args.key?(:auth_schemas)
2866
+ @json_schema = args[:json_schema] if args.key?(:json_schema)
2867
+ end
2868
+ end
2869
+
2521
2870
  # Metadata of an entity field.
2522
2871
  class Field
2523
2872
  include Google::Apis::Core::Hashable
@@ -2924,6 +3273,31 @@ module Google
2924
3273
  end
2925
3274
  end
2926
3275
 
3276
+ # JsonAuthSchema defines the JSON schema of all authentication types.
3277
+ class JsonAuthSchema
3278
+ include Google::Apis::Core::Hashable
3279
+
3280
+ # JSON schema of the AuthSchemas.
3281
+ # Corresponds to the JSON property `$schema`
3282
+ # @return [String]
3283
+ attr_accessor :_schema
3284
+
3285
+ # List of AuthObjects.
3286
+ # Corresponds to the JSON property `oneOf`
3287
+ # @return [Array<Google::Apis::ConnectorsV1::AuthObject>]
3288
+ attr_accessor :one_of
3289
+
3290
+ def initialize(**args)
3291
+ update!(**args)
3292
+ end
3293
+
3294
+ # Update properties of this object
3295
+ def update!(**args)
3296
+ @_schema = args[:_schema] if args.key?(:_schema)
3297
+ @one_of = args[:one_of] if args.key?(:one_of)
3298
+ end
3299
+ end
3300
+
2927
3301
  # JsonSchema representation of schema metadata
2928
3302
  class JsonSchema
2929
3303
  include Google::Apis::Core::Hashable
@@ -4092,6 +4466,40 @@ module Google
4092
4466
  end
4093
4467
  end
4094
4468
 
4469
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google
4470
+ # Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1
4471
+ # for more details.
4472
+ class Oauth2AuthCodeFlowGoogleManaged
4473
+ include Google::Apis::Core::Hashable
4474
+
4475
+ # Optional. Authorization code to be exchanged for access and refresh tokens.
4476
+ # Corresponds to the JSON property `authCode`
4477
+ # @return [String]
4478
+ attr_accessor :auth_code
4479
+
4480
+ # Optional. Redirect URI to be provided during the auth code exchange.
4481
+ # Corresponds to the JSON property `redirectUri`
4482
+ # @return [String]
4483
+ attr_accessor :redirect_uri
4484
+
4485
+ # Required. Scopes the connection will request when the user performs the auth
4486
+ # code flow.
4487
+ # Corresponds to the JSON property `scopes`
4488
+ # @return [Array<String>]
4489
+ attr_accessor :scopes
4490
+
4491
+ def initialize(**args)
4492
+ update!(**args)
4493
+ end
4494
+
4495
+ # Update properties of this object
4496
+ def update!(**args)
4497
+ @auth_code = args[:auth_code] if args.key?(:auth_code)
4498
+ @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
4499
+ @scopes = args[:scopes] if args.key?(:scopes)
4500
+ end
4501
+ end
4502
+
4095
4503
  # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
4096
4504
  # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
4097
4505
  class Oauth2ClientCredentials
@@ -4266,6 +4674,118 @@ module Google
4266
4674
  end
4267
4675
  end
4268
4676
 
4677
+ # Partner metadata details. This will be populated when publishing the custom
4678
+ # connector as a partner connector version. On publishing, parntner connector
4679
+ # version will be created using the fields in PartnerMetadata.
4680
+ class PartnerMetadata
4681
+ include Google::Apis::Core::Hashable
4682
+
4683
+ # Required. Whether the user has accepted the Google Cloud Platform Terms of
4684
+ # Service (https://cloud.google.com/terms/) and the Google Cloud Marketplace
4685
+ # Terms of Service (https://cloud.google.com/terms/marketplace/launcher?hl=en).
4686
+ # Corresponds to the JSON property `acceptGcpTos`
4687
+ # @return [Boolean]
4688
+ attr_accessor :accept_gcp_tos
4689
+ alias_method :accept_gcp_tos?, :accept_gcp_tos
4690
+
4691
+ # Optional. Additional comments for the submission.
4692
+ # Corresponds to the JSON property `additionalComments`
4693
+ # @return [String]
4694
+ attr_accessor :additional_comments
4695
+
4696
+ # Required. Confirmation that connector meets all applicable requirements
4697
+ # mentioned in the Partner Connector Publishing requirements list and Partner
4698
+ # onboardiong requirements list (https://cloud.google.com/marketplace/docs/
4699
+ # partners/get-started#requirements).
4700
+ # Corresponds to the JSON property `confirmPartnerRequirements`
4701
+ # @return [Boolean]
4702
+ attr_accessor :confirm_partner_requirements
4703
+ alias_method :confirm_partner_requirements?, :confirm_partner_requirements
4704
+
4705
+ # Required. Public URL for the demo video.
4706
+ # Corresponds to the JSON property `demoUri`
4707
+ # @return [String]
4708
+ attr_accessor :demo_uri
4709
+
4710
+ # Required. Integration example templates for the custom connector.
4711
+ # Corresponds to the JSON property `integrationTemplates`
4712
+ # @return [String]
4713
+ attr_accessor :integration_templates
4714
+
4715
+ # Optional. Marketplace product name.
4716
+ # Corresponds to the JSON property `marketplaceProduct`
4717
+ # @return [String]
4718
+ attr_accessor :marketplace_product
4719
+
4720
+ # Required. Marketplace product ID.
4721
+ # Corresponds to the JSON property `marketplaceProductId`
4722
+ # @return [String]
4723
+ attr_accessor :marketplace_product_id
4724
+
4725
+ # Optional. Marketplace product project ID.
4726
+ # Corresponds to the JSON property `marketplaceProductProjectId`
4727
+ # @return [String]
4728
+ attr_accessor :marketplace_product_project_id
4729
+
4730
+ # Optional. Marketplace product URL.
4731
+ # Corresponds to the JSON property `marketplaceProductUri`
4732
+ # @return [String]
4733
+ attr_accessor :marketplace_product_uri
4734
+
4735
+ # Required. Partner name.
4736
+ # Corresponds to the JSON property `partner`
4737
+ # @return [String]
4738
+ attr_accessor :partner
4739
+
4740
+ # Required. Partner connector display name.
4741
+ # Corresponds to the JSON property `partnerConnectorDisplayName`
4742
+ # @return [String]
4743
+ attr_accessor :partner_connector_display_name
4744
+
4745
+ # Output only. Publish request time.
4746
+ # Corresponds to the JSON property `publishRequestTime`
4747
+ # @return [String]
4748
+ attr_accessor :publish_request_time
4749
+
4750
+ # Required. Target application for which partner connector is built.
4751
+ # Corresponds to the JSON property `targetApplication`
4752
+ # @return [String]
4753
+ attr_accessor :target_application
4754
+
4755
+ # Required. Target customer segment for the partner connector.
4756
+ # Corresponds to the JSON property `targetCustomerSegment`
4757
+ # @return [String]
4758
+ attr_accessor :target_customer_segment
4759
+
4760
+ # Required. Details about partner connector use cases.
4761
+ # Corresponds to the JSON property `useCases`
4762
+ # @return [String]
4763
+ attr_accessor :use_cases
4764
+
4765
+ def initialize(**args)
4766
+ update!(**args)
4767
+ end
4768
+
4769
+ # Update properties of this object
4770
+ def update!(**args)
4771
+ @accept_gcp_tos = args[:accept_gcp_tos] if args.key?(:accept_gcp_tos)
4772
+ @additional_comments = args[:additional_comments] if args.key?(:additional_comments)
4773
+ @confirm_partner_requirements = args[:confirm_partner_requirements] if args.key?(:confirm_partner_requirements)
4774
+ @demo_uri = args[:demo_uri] if args.key?(:demo_uri)
4775
+ @integration_templates = args[:integration_templates] if args.key?(:integration_templates)
4776
+ @marketplace_product = args[:marketplace_product] if args.key?(:marketplace_product)
4777
+ @marketplace_product_id = args[:marketplace_product_id] if args.key?(:marketplace_product_id)
4778
+ @marketplace_product_project_id = args[:marketplace_product_project_id] if args.key?(:marketplace_product_project_id)
4779
+ @marketplace_product_uri = args[:marketplace_product_uri] if args.key?(:marketplace_product_uri)
4780
+ @partner = args[:partner] if args.key?(:partner)
4781
+ @partner_connector_display_name = args[:partner_connector_display_name] if args.key?(:partner_connector_display_name)
4782
+ @publish_request_time = args[:publish_request_time] if args.key?(:publish_request_time)
4783
+ @target_application = args[:target_application] if args.key?(:target_application)
4784
+ @target_customer_segment = args[:target_customer_segment] if args.key?(:target_customer_segment)
4785
+ @use_cases = args[:use_cases] if args.key?(:use_cases)
4786
+ end
4787
+ end
4788
+
4269
4789
  # PerSliSloEligibility is a mapping from an SLI name to eligibility.
4270
4790
  class PerSliSloEligibility
4271
4791
  include Google::Apis::Core::Hashable
@@ -4497,6 +5017,45 @@ module Google
4497
5017
  end
4498
5018
  end
4499
5019
 
5020
+ # Publish status of a custom connector.
5021
+ class PublishStatus
5022
+ include Google::Apis::Core::Hashable
5023
+
5024
+ # Output only. Publish state of the custom connector.
5025
+ # Corresponds to the JSON property `publishState`
5026
+ # @return [String]
5027
+ attr_accessor :publish_state
5028
+
5029
+ # Output only. Publish time.
5030
+ # Corresponds to the JSON property `publishTime`
5031
+ # @return [String]
5032
+ attr_accessor :publish_time
5033
+
5034
+ # Output only. Partner connector name. Will be set on the custom connector.
5035
+ # Format: providers/partner/connectors//versions/
5036
+ # Corresponds to the JSON property `publishedAs`
5037
+ # @return [String]
5038
+ attr_accessor :published_as
5039
+
5040
+ # Output only. Custom connector name. Will be set on the partner connector.
5041
+ # Format: providers/customconnectors/connectors//versions/
5042
+ # Corresponds to the JSON property `publishedSource`
5043
+ # @return [String]
5044
+ attr_accessor :published_source
5045
+
5046
+ def initialize(**args)
5047
+ update!(**args)
5048
+ end
5049
+
5050
+ # Update properties of this object
5051
+ def update!(**args)
5052
+ @publish_state = args[:publish_state] if args.key?(:publish_state)
5053
+ @publish_time = args[:publish_time] if args.key?(:publish_time)
5054
+ @published_as = args[:published_as] if args.key?(:published_as)
5055
+ @published_source = args[:published_source] if args.key?(:published_source)
5056
+ end
5057
+ end
5058
+
4500
5059
  # Request message for ConnectorsService.RefreshConnectionSchemaMetadata.
4501
5060
  class RefreshConnectionSchemaMetadataRequest
4502
5061
  include Google::Apis::Core::Hashable
@@ -4773,6 +5332,11 @@ module Google
4773
5332
  # @return [Array<Google::Apis::ConnectorsV1::InputParameter>]
4774
5333
  attr_accessor :input_parameters
4775
5334
 
5335
+ # Output only. Input schema as string.
5336
+ # Corresponds to the JSON property `inputSchemaAsString`
5337
+ # @return [String]
5338
+ attr_accessor :input_schema_as_string
5339
+
4776
5340
  # JsonSchema representation of schema metadata
4777
5341
  # Corresponds to the JSON property `resultJsonSchema`
4778
5342
  # @return [Google::Apis::ConnectorsV1::JsonSchema]
@@ -4783,6 +5347,11 @@ module Google
4783
5347
  # @return [Array<Google::Apis::ConnectorsV1::ResultMetadata>]
4784
5348
  attr_accessor :result_metadata
4785
5349
 
5350
+ # Output only. Result schema as string.
5351
+ # Corresponds to the JSON property `resultSchemaAsString`
5352
+ # @return [String]
5353
+ attr_accessor :result_schema_as_string
5354
+
4786
5355
  def initialize(**args)
4787
5356
  update!(**args)
4788
5357
  end
@@ -4794,8 +5363,10 @@ module Google
4794
5363
  @display_name = args[:display_name] if args.key?(:display_name)
4795
5364
  @input_json_schema = args[:input_json_schema] if args.key?(:input_json_schema)
4796
5365
  @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
5366
+ @input_schema_as_string = args[:input_schema_as_string] if args.key?(:input_schema_as_string)
4797
5367
  @result_json_schema = args[:result_json_schema] if args.key?(:result_json_schema)
4798
5368
  @result_metadata = args[:result_metadata] if args.key?(:result_metadata)
5369
+ @result_schema_as_string = args[:result_schema_as_string] if args.key?(:result_schema_as_string)
4799
5370
  end
4800
5371
  end
4801
5372
 
@@ -5398,6 +5969,44 @@ module Google
5398
5969
  end
5399
5970
  end
5400
5971
 
5972
+ # Standard action
5973
+ class StandardAction
5974
+ include Google::Apis::Core::Hashable
5975
+
5976
+ # Name of the standard action.
5977
+ # Corresponds to the JSON property `name`
5978
+ # @return [String]
5979
+ attr_accessor :name
5980
+
5981
+ def initialize(**args)
5982
+ update!(**args)
5983
+ end
5984
+
5985
+ # Update properties of this object
5986
+ def update!(**args)
5987
+ @name = args[:name] if args.key?(:name)
5988
+ end
5989
+ end
5990
+
5991
+ # Standard entity
5992
+ class StandardEntity
5993
+ include Google::Apis::Core::Hashable
5994
+
5995
+ # Name of the standard entity.
5996
+ # Corresponds to the JSON property `name`
5997
+ # @return [String]
5998
+ attr_accessor :name
5999
+
6000
+ def initialize(**args)
6001
+ update!(**args)
6002
+ end
6003
+
6004
+ # Update properties of this object
6005
+ def update!(**args)
6006
+ @name = args[:name] if args.key?(:name)
6007
+ end
6008
+ end
6009
+
5401
6010
  # The `Status` type defines a logical error model that is suitable for different
5402
6011
  # programming environments, including REST APIs and RPC APIs. It is used by [
5403
6012
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -5517,24 +6126,28 @@ module Google
5517
6126
  class TimeOfDay
5518
6127
  include Google::Apis::Core::Hashable
5519
6128
 
5520
- # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
5521
- # allow the value "24:00:00" for scenarios like business closing time.
6129
+ # Hours of a day in 24 hour format. Must be greater than or equal to 0 and
6130
+ # typically must be less than or equal to 23. An API may choose to allow the
6131
+ # value "24:00:00" for scenarios like business closing time.
5522
6132
  # Corresponds to the JSON property `hours`
5523
6133
  # @return [Fixnum]
5524
6134
  attr_accessor :hours
5525
6135
 
5526
- # Minutes of hour of day. Must be from 0 to 59.
6136
+ # Minutes of an hour. Must be greater than or equal to 0 and less than or equal
6137
+ # to 59.
5527
6138
  # Corresponds to the JSON property `minutes`
5528
6139
  # @return [Fixnum]
5529
6140
  attr_accessor :minutes
5530
6141
 
5531
- # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
6142
+ # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and
6143
+ # less than or equal to 999,999,999.
5532
6144
  # Corresponds to the JSON property `nanos`
5533
6145
  # @return [Fixnum]
5534
6146
  attr_accessor :nanos
5535
6147
 
5536
- # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
5537
- # allow the value 60 if it allows leap-seconds.
6148
+ # Seconds of a minute. Must be greater than or equal to 0 and typically must be
6149
+ # less than or equal to 59. An API may allow the value 60 if it allows leap-
6150
+ # seconds.
5538
6151
  # Corresponds to the JSON property `seconds`
5539
6152
  # @return [Fixnum]
5540
6153
  attr_accessor :seconds
@@ -5712,6 +6325,25 @@ module Google
5712
6325
  end
5713
6326
  end
5714
6327
 
6328
+ # WebhookSubscriptions has details of webhook subscriptions.
6329
+ class WebhookSubscriptions
6330
+ include Google::Apis::Core::Hashable
6331
+
6332
+ # Output only. Webhook data.
6333
+ # Corresponds to the JSON property `webhookData`
6334
+ # @return [Array<Google::Apis::ConnectorsV1::WebhookData>]
6335
+ attr_accessor :webhook_data
6336
+
6337
+ def initialize(**args)
6338
+ update!(**args)
6339
+ end
6340
+
6341
+ # Update properties of this object
6342
+ def update!(**args)
6343
+ @webhook_data = args[:webhook_data] if args.key?(:webhook_data)
6344
+ end
6345
+ end
6346
+
5715
6347
  # Time window specified for weekly operations.
5716
6348
  class WeeklyCycle
5717
6349
  include Google::Apis::Core::Hashable