google-apis-connectors_v1 0.31.0 → 0.33.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.
@@ -342,6 +342,11 @@ module Google
342
342
  attr_accessor :bool_value
343
343
  alias_method :bool_value?, :bool_value
344
344
 
345
+ # Encryption Key value.
346
+ # Corresponds to the JSON property `encryptionKeyValue`
347
+ # @return [Google::Apis::ConnectorsV1::EncryptionKey]
348
+ attr_accessor :encryption_key_value
349
+
345
350
  # Value is an integer
346
351
  # Corresponds to the JSON property `intValue`
347
352
  # @return [Fixnum]
@@ -352,11 +357,6 @@ module Google
352
357
  # @return [String]
353
358
  attr_accessor :key
354
359
 
355
- # Encryption Key value.
356
- # Corresponds to the JSON property `keyValue`
357
- # @return [Google::Apis::ConnectorsV1::EncryptionKey]
358
- attr_accessor :key_value
359
-
360
360
  # Secret provides a reference to entries in Secret Manager.
361
361
  # Corresponds to the JSON property `secretValue`
362
362
  # @return [Google::Apis::ConnectorsV1::Secret]
@@ -374,9 +374,9 @@ module Google
374
374
  # Update properties of this object
375
375
  def update!(**args)
376
376
  @bool_value = args[:bool_value] if args.key?(:bool_value)
377
+ @encryption_key_value = args[:encryption_key_value] if args.key?(:encryption_key_value)
377
378
  @int_value = args[:int_value] if args.key?(:int_value)
378
379
  @key = args[:key] if args.key?(:key)
379
- @key_value = args[:key_value] if args.key?(:key_value)
380
380
  @secret_value = args[:secret_value] if args.key?(:secret_value)
381
381
  @string_value = args[:string_value] if args.key?(:string_value)
382
382
  end
@@ -425,8 +425,13 @@ module Google
425
425
  attr_accessor :required
426
426
  alias_method :required?, :required
427
427
 
428
+ # Struct for representing boolean expressions.
429
+ # Corresponds to the JSON property `requiredCondition`
430
+ # @return [Google::Apis::ConnectorsV1::LogicalExpression]
431
+ attr_accessor :required_condition
432
+
428
433
  # This configuration defines all the Cloud IAM roles that needs to be granted to
429
- # a particular GCP resource for the selected prinicpal like service account.
434
+ # a particular GCP resource for the selected principal like service account.
430
435
  # These configurations will let UI display to customers what IAM roles need to
431
436
  # be granted by them. Or these configurations can be used by the UI to render a '
432
437
  # grant' button to do the same on behalf of the user.
@@ -464,6 +469,7 @@ module Google
464
469
  @is_advanced = args[:is_advanced] if args.key?(:is_advanced)
465
470
  @key = args[:key] if args.key?(:key)
466
471
  @required = args[:required] if args.key?(:required)
472
+ @required_condition = args[:required_condition] if args.key?(:required_condition)
467
473
  @role_grant = args[:role_grant] if args.key?(:role_grant)
468
474
  @state = args[:state] if args.key?(:state)
469
475
  @validation_regex = args[:validation_regex] if args.key?(:validation_regex)
@@ -498,6 +504,12 @@ module Google
498
504
  # @return [String]
499
505
  attr_accessor :connector_version
500
506
 
507
+ # This cofiguration provides infra configs like rate limit threshold which need
508
+ # to be configurable for every connector version
509
+ # Corresponds to the JSON property `connectorVersionInfraConfig`
510
+ # @return [Google::Apis::ConnectorsV1::ConnectorVersionInfraConfig]
511
+ attr_accessor :connector_version_infra_config
512
+
501
513
  # Output only. Flag to mark the version indicating the launch stage.
502
514
  # Corresponds to the JSON property `connectorVersionLaunchStage`
503
515
  # @return [String]
@@ -525,6 +537,22 @@ module Google
525
537
  # @return [String]
526
538
  attr_accessor :envoy_image_location
527
539
 
540
+ # Eventing Configuration of a connection
541
+ # Corresponds to the JSON property `eventingConfig`
542
+ # @return [Google::Apis::ConnectorsV1::EventingConfig]
543
+ attr_accessor :eventing_config
544
+
545
+ # Optional. Eventing enablement type. Will be nil if eventing is not enabled.
546
+ # Corresponds to the JSON property `eventingEnablementType`
547
+ # @return [String]
548
+ attr_accessor :eventing_enablement_type
549
+
550
+ # Eventing runtime data has the details related to eventing managed by the
551
+ # system.
552
+ # Corresponds to the JSON property `eventingRuntimeData`
553
+ # @return [Google::Apis::ConnectorsV1::EventingRuntimeData]
554
+ attr_accessor :eventing_runtime_data
555
+
528
556
  # Output only. GCR location where the runtime image is stored. formatted like:
529
557
  # gcr.io/`bucketName`/`imageName`
530
558
  # Corresponds to the JSON property `imageLocation`
@@ -610,11 +638,15 @@ module Google
610
638
  @config_variables = args[:config_variables] if args.key?(:config_variables)
611
639
  @connection_revision = args[:connection_revision] if args.key?(:connection_revision)
612
640
  @connector_version = args[:connector_version] if args.key?(:connector_version)
641
+ @connector_version_infra_config = args[:connector_version_infra_config] if args.key?(:connector_version_infra_config)
613
642
  @connector_version_launch_stage = args[:connector_version_launch_stage] if args.key?(:connector_version_launch_stage)
614
643
  @create_time = args[:create_time] if args.key?(:create_time)
615
644
  @description = args[:description] if args.key?(:description)
616
645
  @destination_configs = args[:destination_configs] if args.key?(:destination_configs)
617
646
  @envoy_image_location = args[:envoy_image_location] if args.key?(:envoy_image_location)
647
+ @eventing_config = args[:eventing_config] if args.key?(:eventing_config)
648
+ @eventing_enablement_type = args[:eventing_enablement_type] if args.key?(:eventing_enablement_type)
649
+ @eventing_runtime_data = args[:eventing_runtime_data] if args.key?(:eventing_runtime_data)
618
650
  @image_location = args[:image_location] if args.key?(:image_location)
619
651
  @labels = args[:labels] if args.key?(:labels)
620
652
  @lock_config = args[:lock_config] if args.key?(:lock_config)
@@ -739,6 +771,11 @@ module Google
739
771
  # @return [String]
740
772
  attr_accessor :documentation_uri
741
773
 
774
+ # Eventing Details message.
775
+ # Corresponds to the JSON property `eventingDetails`
776
+ # @return [Google::Apis::ConnectorsV1::EventingDetails]
777
+ attr_accessor :eventing_details
778
+
742
779
  # Output only. Link to external page.
743
780
  # Corresponds to the JSON property `externalUri`
744
781
  # @return [String]
@@ -783,6 +820,7 @@ module Google
783
820
  @description = args[:description] if args.key?(:description)
784
821
  @display_name = args[:display_name] if args.key?(:display_name)
785
822
  @documentation_uri = args[:documentation_uri] if args.key?(:documentation_uri)
823
+ @eventing_details = args[:eventing_details] if args.key?(:eventing_details)
786
824
  @external_uri = args[:external_uri] if args.key?(:external_uri)
787
825
  @labels = args[:labels] if args.key?(:labels)
788
826
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
@@ -792,6 +830,26 @@ module Google
792
830
  end
793
831
  end
794
832
 
833
+ # This cofiguration provides infra configs like rate limit threshold which need
834
+ # to be configurable for every connector version
835
+ class ConnectorInfraConfig
836
+ include Google::Apis::Core::Hashable
837
+
838
+ # Max QPS supported by the connector version before throttling of requests.
839
+ # Corresponds to the JSON property `ratelimitThreshold`
840
+ # @return [Fixnum]
841
+ attr_accessor :ratelimit_threshold
842
+
843
+ def initialize(**args)
844
+ update!(**args)
845
+ end
846
+
847
+ # Update properties of this object
848
+ def update!(**args)
849
+ @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold)
850
+ end
851
+ end
852
+
795
853
  # ConnectorVersion indicates a specific version of a connector.
796
854
  class ConnectorVersion
797
855
  include Google::Apis::Core::Hashable
@@ -806,6 +864,12 @@ module Google
806
864
  # @return [Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>]
807
865
  attr_accessor :config_variable_templates
808
866
 
867
+ # This cofiguration provides infra configs like rate limit threshold which need
868
+ # to be configurable for every connector version
869
+ # Corresponds to the JSON property `connectorInfraConfig`
870
+ # @return [Google::Apis::ConnectorsV1::ConnectorInfraConfig]
871
+ attr_accessor :connector_infra_config
872
+
809
873
  # Output only. Created time.
810
874
  # Corresponds to the JSON property `createTime`
811
875
  # @return [String]
@@ -829,6 +893,11 @@ module Google
829
893
  # @return [Google::Apis::ConnectorsV1::EgressControlConfig]
830
894
  attr_accessor :egress_control_config
831
895
 
896
+ # Eventing Config details of a connector version.
897
+ # Corresponds to the JSON property `eventingConfigTemplate`
898
+ # @return [Google::Apis::ConnectorsV1::EventingConfigTemplate]
899
+ attr_accessor :eventing_config_template
900
+
832
901
  # Output only. Resource labels to represent user-provided metadata. Refer to
833
902
  # cloud documentation on labels for more details. https://cloud.google.com/
834
903
  # compute/docs/labeling-resources
@@ -854,7 +923,7 @@ module Google
854
923
  attr_accessor :release_version
855
924
 
856
925
  # This configuration defines all the Cloud IAM roles that needs to be granted to
857
- # a particular GCP resource for the selected prinicpal like service account.
926
+ # a particular GCP resource for the selected principal like service account.
858
927
  # These configurations will let UI display to customers what IAM roles need to
859
928
  # be granted by them. Or these configurations can be used by the UI to render a '
860
929
  # grant' button to do the same on behalf of the user.
@@ -893,10 +962,12 @@ module Google
893
962
  def update!(**args)
894
963
  @auth_config_templates = args[:auth_config_templates] if args.key?(:auth_config_templates)
895
964
  @config_variable_templates = args[:config_variable_templates] if args.key?(:config_variable_templates)
965
+ @connector_infra_config = args[:connector_infra_config] if args.key?(:connector_infra_config)
896
966
  @create_time = args[:create_time] if args.key?(:create_time)
897
967
  @destination_config_templates = args[:destination_config_templates] if args.key?(:destination_config_templates)
898
968
  @display_name = args[:display_name] if args.key?(:display_name)
899
969
  @egress_control_config = args[:egress_control_config] if args.key?(:egress_control_config)
970
+ @eventing_config_template = args[:eventing_config_template] if args.key?(:eventing_config_template)
900
971
  @labels = args[:labels] if args.key?(:labels)
901
972
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
902
973
  @name = args[:name] if args.key?(:name)
@@ -909,6 +980,27 @@ module Google
909
980
  end
910
981
  end
911
982
 
983
+ # This cofiguration provides infra configs like rate limit threshold which need
984
+ # to be configurable for every connector version
985
+ class ConnectorVersionInfraConfig
986
+ include Google::Apis::Core::Hashable
987
+
988
+ # Output only. Max QPS supported by the connector version before throttling of
989
+ # requests.
990
+ # Corresponds to the JSON property `ratelimitThreshold`
991
+ # @return [Fixnum]
992
+ attr_accessor :ratelimit_threshold
993
+
994
+ def initialize(**args)
995
+ update!(**args)
996
+ end
997
+
998
+ # Update properties of this object
999
+ def update!(**args)
1000
+ @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold)
1001
+ end
1002
+ end
1003
+
912
1004
  # Log configuration for the connection.
913
1005
  class ConnectorsLogConfig
914
1006
  include Google::Apis::Core::Hashable
@@ -1128,6 +1220,31 @@ module Google
1128
1220
  end
1129
1221
  end
1130
1222
 
1223
+ # Endpoint message includes details of the Destination endpoint.
1224
+ class EndPoint
1225
+ include Google::Apis::Core::Hashable
1226
+
1227
+ # The URI of the Endpoint.
1228
+ # Corresponds to the JSON property `endpointUri`
1229
+ # @return [String]
1230
+ attr_accessor :endpoint_uri
1231
+
1232
+ # List of Header to be added to the Endpoint.
1233
+ # Corresponds to the JSON property `headers`
1234
+ # @return [Array<Google::Apis::ConnectorsV1::Header>]
1235
+ attr_accessor :headers
1236
+
1237
+ def initialize(**args)
1238
+ update!(**args)
1239
+ end
1240
+
1241
+ # Update properties of this object
1242
+ def update!(**args)
1243
+ @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
1244
+ @headers = args[:headers] if args.key?(:headers)
1245
+ end
1246
+ end
1247
+
1131
1248
  # represents the Connector's Endpoint Attachment resource
1132
1249
  class EndpointAttachment
1133
1250
  include Google::Apis::Core::Hashable
@@ -1211,6 +1328,411 @@ module Google
1211
1328
  end
1212
1329
  end
1213
1330
 
1331
+ # represents the Connector's EventSubscription resource
1332
+ class EventSubscription
1333
+ include Google::Apis::Core::Hashable
1334
+
1335
+ # Output only. Created time.
1336
+ # Corresponds to the JSON property `createTime`
1337
+ # @return [String]
1338
+ attr_accessor :create_time
1339
+
1340
+ # Message for EventSubscription Destination to act on receiving an event
1341
+ # Corresponds to the JSON property `destinations`
1342
+ # @return [Google::Apis::ConnectorsV1::EventSubscriptionDestination]
1343
+ attr_accessor :destinations
1344
+
1345
+ # Optional. Event type id of the event of current EventSubscription.
1346
+ # Corresponds to the JSON property `eventTypeId`
1347
+ # @return [String]
1348
+ attr_accessor :event_type_id
1349
+
1350
+ # Required. Resource name of the EventSubscription. Format: projects/`project`/
1351
+ # locations/`location`/connections/`connection`/eventSubscriptions/`
1352
+ # event_subscription`
1353
+ # Corresponds to the JSON property `name`
1354
+ # @return [String]
1355
+ attr_accessor :name
1356
+
1357
+ # EventSubscription Status denotes the status of the EventSubscription resource.
1358
+ # Corresponds to the JSON property `status`
1359
+ # @return [Google::Apis::ConnectorsV1::EventSubscriptionStatus]
1360
+ attr_accessor :status
1361
+
1362
+ # Optional. name of the Subscriber for the current EventSubscription.
1363
+ # Corresponds to the JSON property `subscriber`
1364
+ # @return [String]
1365
+ attr_accessor :subscriber
1366
+
1367
+ # Optional. Link for Subscriber of the current EventSubscription.
1368
+ # Corresponds to the JSON property `subscriberLink`
1369
+ # @return [String]
1370
+ attr_accessor :subscriber_link
1371
+
1372
+ # Output only. Updated time.
1373
+ # Corresponds to the JSON property `updateTime`
1374
+ # @return [String]
1375
+ attr_accessor :update_time
1376
+
1377
+ def initialize(**args)
1378
+ update!(**args)
1379
+ end
1380
+
1381
+ # Update properties of this object
1382
+ def update!(**args)
1383
+ @create_time = args[:create_time] if args.key?(:create_time)
1384
+ @destinations = args[:destinations] if args.key?(:destinations)
1385
+ @event_type_id = args[:event_type_id] if args.key?(:event_type_id)
1386
+ @name = args[:name] if args.key?(:name)
1387
+ @status = args[:status] if args.key?(:status)
1388
+ @subscriber = args[:subscriber] if args.key?(:subscriber)
1389
+ @subscriber_link = args[:subscriber_link] if args.key?(:subscriber_link)
1390
+ @update_time = args[:update_time] if args.key?(:update_time)
1391
+ end
1392
+ end
1393
+
1394
+ # Message for EventSubscription Destination to act on receiving an event
1395
+ class EventSubscriptionDestination
1396
+ include Google::Apis::Core::Hashable
1397
+
1398
+ # Endpoint message includes details of the Destination endpoint.
1399
+ # Corresponds to the JSON property `endpoint`
1400
+ # @return [Google::Apis::ConnectorsV1::EndPoint]
1401
+ attr_accessor :endpoint
1402
+
1403
+ # Service account needed for runtime plane to trigger IP workflow.
1404
+ # Corresponds to the JSON property `serviceAccount`
1405
+ # @return [String]
1406
+ attr_accessor :service_account
1407
+
1408
+ # type of the destination
1409
+ # Corresponds to the JSON property `type`
1410
+ # @return [String]
1411
+ attr_accessor :type
1412
+
1413
+ def initialize(**args)
1414
+ update!(**args)
1415
+ end
1416
+
1417
+ # Update properties of this object
1418
+ def update!(**args)
1419
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
1420
+ @service_account = args[:service_account] if args.key?(:service_account)
1421
+ @type = args[:type] if args.key?(:type)
1422
+ end
1423
+ end
1424
+
1425
+ # EventSubscription Status denotes the status of the EventSubscription resource.
1426
+ class EventSubscriptionStatus
1427
+ include Google::Apis::Core::Hashable
1428
+
1429
+ # Output only. Description of the state.
1430
+ # Corresponds to the JSON property `description`
1431
+ # @return [String]
1432
+ attr_accessor :description
1433
+
1434
+ # Output only. State of Event Subscription resource.
1435
+ # Corresponds to the JSON property `state`
1436
+ # @return [String]
1437
+ attr_accessor :state
1438
+
1439
+ def initialize(**args)
1440
+ update!(**args)
1441
+ end
1442
+
1443
+ # Update properties of this object
1444
+ def update!(**args)
1445
+ @description = args[:description] if args.key?(:description)
1446
+ @state = args[:state] if args.key?(:state)
1447
+ end
1448
+ end
1449
+
1450
+ # EventType includes fields.
1451
+ class EventType
1452
+ include Google::Apis::Core::Hashable
1453
+
1454
+ # Output only. Created time.
1455
+ # Corresponds to the JSON property `createTime`
1456
+ # @return [String]
1457
+ attr_accessor :create_time
1458
+
1459
+ # Output only. Schema of the event payload after enriched. Will be null if read
1460
+ # before send is not supported.
1461
+ # Corresponds to the JSON property `enrichedEventPayloadSchema`
1462
+ # @return [String]
1463
+ attr_accessor :enriched_event_payload_schema
1464
+
1465
+ # Output only. Runtime entity type name. Will be null if entity type map is not
1466
+ # available. Used for read before send feature.
1467
+ # Corresponds to the JSON property `entityType`
1468
+ # @return [String]
1469
+ attr_accessor :entity_type
1470
+
1471
+ # Output only. Schema of webhook event payload.
1472
+ # Corresponds to the JSON property `eventPayloadSchema`
1473
+ # @return [String]
1474
+ attr_accessor :event_payload_schema
1475
+
1476
+ # Output only. Event type id. Example: `ticket.created`.
1477
+ # Corresponds to the JSON property `eventTypeId`
1478
+ # @return [String]
1479
+ attr_accessor :event_type_id
1480
+
1481
+ # Output only. Id path denotes the path of id in webhook payload.
1482
+ # Corresponds to the JSON property `idPath`
1483
+ # @return [String]
1484
+ attr_accessor :id_path
1485
+
1486
+ # Output only. Resource name of the eventtype. Format: projects/`project`/
1487
+ # locations/`location`/providers/`provider`/connectors/`connector`/versions/`
1488
+ # version`/eventtypes/`eventtype` Only global location is supported for
1489
+ # Connector resource.
1490
+ # Corresponds to the JSON property `name`
1491
+ # @return [String]
1492
+ attr_accessor :name
1493
+
1494
+ # Output only. Updated time.
1495
+ # Corresponds to the JSON property `updateTime`
1496
+ # @return [String]
1497
+ attr_accessor :update_time
1498
+
1499
+ def initialize(**args)
1500
+ update!(**args)
1501
+ end
1502
+
1503
+ # Update properties of this object
1504
+ def update!(**args)
1505
+ @create_time = args[:create_time] if args.key?(:create_time)
1506
+ @enriched_event_payload_schema = args[:enriched_event_payload_schema] if args.key?(:enriched_event_payload_schema)
1507
+ @entity_type = args[:entity_type] if args.key?(:entity_type)
1508
+ @event_payload_schema = args[:event_payload_schema] if args.key?(:event_payload_schema)
1509
+ @event_type_id = args[:event_type_id] if args.key?(:event_type_id)
1510
+ @id_path = args[:id_path] if args.key?(:id_path)
1511
+ @name = args[:name] if args.key?(:name)
1512
+ @update_time = args[:update_time] if args.key?(:update_time)
1513
+ end
1514
+ end
1515
+
1516
+ # Eventing Configuration of a connection
1517
+ class EventingConfig
1518
+ include Google::Apis::Core::Hashable
1519
+
1520
+ # Additional eventing related field values
1521
+ # Corresponds to the JSON property `additionalVariables`
1522
+ # @return [Array<Google::Apis::ConnectorsV1::ConfigVariable>]
1523
+ attr_accessor :additional_variables
1524
+
1525
+ # AuthConfig defines details of a authentication type.
1526
+ # Corresponds to the JSON property `authConfig`
1527
+ # @return [Google::Apis::ConnectorsV1::AuthConfig]
1528
+ attr_accessor :auth_config
1529
+
1530
+ # ConfigVariable represents a configuration variable present in a Connection. or
1531
+ # AuthConfig.
1532
+ # Corresponds to the JSON property `encryptionKey`
1533
+ # @return [Google::Apis::ConnectorsV1::ConfigVariable]
1534
+ attr_accessor :encryption_key
1535
+
1536
+ # Enrichment Enabled.
1537
+ # Corresponds to the JSON property `enrichmentEnabled`
1538
+ # @return [Boolean]
1539
+ attr_accessor :enrichment_enabled
1540
+ alias_method :enrichment_enabled?, :enrichment_enabled
1541
+
1542
+ # Define the Connectors target endpoint.
1543
+ # Corresponds to the JSON property `registrationDestinationConfig`
1544
+ # @return [Google::Apis::ConnectorsV1::DestinationConfig]
1545
+ attr_accessor :registration_destination_config
1546
+
1547
+ def initialize(**args)
1548
+ update!(**args)
1549
+ end
1550
+
1551
+ # Update properties of this object
1552
+ def update!(**args)
1553
+ @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
1554
+ @auth_config = args[:auth_config] if args.key?(:auth_config)
1555
+ @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
1556
+ @enrichment_enabled = args[:enrichment_enabled] if args.key?(:enrichment_enabled)
1557
+ @registration_destination_config = args[:registration_destination_config] if args.key?(:registration_destination_config)
1558
+ end
1559
+ end
1560
+
1561
+ # Eventing Config details of a connector version.
1562
+ class EventingConfigTemplate
1563
+ include Google::Apis::Core::Hashable
1564
+
1565
+ # Additional fields that need to be rendered.
1566
+ # Corresponds to the JSON property `additionalVariables`
1567
+ # @return [Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>]
1568
+ attr_accessor :additional_variables
1569
+
1570
+ # AuthConfigTemplates represents the auth values for the webhook adapter.
1571
+ # Corresponds to the JSON property `authConfigTemplates`
1572
+ # @return [Array<Google::Apis::ConnectorsV1::AuthConfigTemplate>]
1573
+ attr_accessor :auth_config_templates
1574
+
1575
+ # Auto refresh to extend webhook life.
1576
+ # Corresponds to the JSON property `autoRefresh`
1577
+ # @return [Boolean]
1578
+ attr_accessor :auto_refresh
1579
+ alias_method :auto_refresh?, :auto_refresh
1580
+
1581
+ # Auto Registration supported.
1582
+ # Corresponds to the JSON property `autoRegistrationSupported`
1583
+ # @return [Boolean]
1584
+ attr_accessor :auto_registration_supported
1585
+ alias_method :auto_registration_supported?, :auto_registration_supported
1586
+
1587
+ # ConfigVariableTemplate provides metadata about a `ConfigVariable` that is used
1588
+ # in a Connection.
1589
+ # Corresponds to the JSON property `encryptionKeyTemplate`
1590
+ # @return [Google::Apis::ConnectorsV1::ConfigVariableTemplate]
1591
+ attr_accessor :encryption_key_template
1592
+
1593
+ # Enrichment Supported.
1594
+ # Corresponds to the JSON property `enrichmentSupported`
1595
+ # @return [Boolean]
1596
+ attr_accessor :enrichment_supported
1597
+ alias_method :enrichment_supported?, :enrichment_supported
1598
+
1599
+ # Is Eventing Supported.
1600
+ # Corresponds to the JSON property `isEventingSupported`
1601
+ # @return [Boolean]
1602
+ attr_accessor :is_eventing_supported
1603
+ alias_method :is_eventing_supported?, :is_eventing_supported
1604
+
1605
+ # DestinationConfigTemplate defines required destinations supported by the
1606
+ # Connector.
1607
+ # Corresponds to the JSON property `registrationDestinationConfig`
1608
+ # @return [Google::Apis::ConnectorsV1::DestinationConfigTemplate]
1609
+ attr_accessor :registration_destination_config
1610
+
1611
+ def initialize(**args)
1612
+ update!(**args)
1613
+ end
1614
+
1615
+ # Update properties of this object
1616
+ def update!(**args)
1617
+ @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
1618
+ @auth_config_templates = args[:auth_config_templates] if args.key?(:auth_config_templates)
1619
+ @auto_refresh = args[:auto_refresh] if args.key?(:auto_refresh)
1620
+ @auto_registration_supported = args[:auto_registration_supported] if args.key?(:auto_registration_supported)
1621
+ @encryption_key_template = args[:encryption_key_template] if args.key?(:encryption_key_template)
1622
+ @enrichment_supported = args[:enrichment_supported] if args.key?(:enrichment_supported)
1623
+ @is_eventing_supported = args[:is_eventing_supported] if args.key?(:is_eventing_supported)
1624
+ @registration_destination_config = args[:registration_destination_config] if args.key?(:registration_destination_config)
1625
+ end
1626
+ end
1627
+
1628
+ # Eventing Details message.
1629
+ class EventingDetails
1630
+ include Google::Apis::Core::Hashable
1631
+
1632
+ # Output only. Custom Event Types.
1633
+ # Corresponds to the JSON property `customEventTypes`
1634
+ # @return [Boolean]
1635
+ attr_accessor :custom_event_types
1636
+ alias_method :custom_event_types?, :custom_event_types
1637
+
1638
+ # Output only. Description.
1639
+ # Corresponds to the JSON property `description`
1640
+ # @return [String]
1641
+ attr_accessor :description
1642
+
1643
+ # Output only. Link to public documentation.
1644
+ # Corresponds to the JSON property `documentationLink`
1645
+ # @return [String]
1646
+ attr_accessor :documentation_link
1647
+
1648
+ # Output only. Cloud storage location of the icon.
1649
+ # Corresponds to the JSON property `iconLocation`
1650
+ # @return [String]
1651
+ attr_accessor :icon_location
1652
+
1653
+ # Output only. Eventing Launch Stage.
1654
+ # Corresponds to the JSON property `launchStage`
1655
+ # @return [String]
1656
+ attr_accessor :launch_stage
1657
+
1658
+ # Output only. Name of the Eventing trigger.
1659
+ # Corresponds to the JSON property `name`
1660
+ # @return [String]
1661
+ attr_accessor :name
1662
+
1663
+ # Output only. Array of search keywords.
1664
+ # Corresponds to the JSON property `searchTags`
1665
+ # @return [Array<String>]
1666
+ attr_accessor :search_tags
1667
+
1668
+ def initialize(**args)
1669
+ update!(**args)
1670
+ end
1671
+
1672
+ # Update properties of this object
1673
+ def update!(**args)
1674
+ @custom_event_types = args[:custom_event_types] if args.key?(:custom_event_types)
1675
+ @description = args[:description] if args.key?(:description)
1676
+ @documentation_link = args[:documentation_link] if args.key?(:documentation_link)
1677
+ @icon_location = args[:icon_location] if args.key?(:icon_location)
1678
+ @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
1679
+ @name = args[:name] if args.key?(:name)
1680
+ @search_tags = args[:search_tags] if args.key?(:search_tags)
1681
+ end
1682
+ end
1683
+
1684
+ # Eventing runtime data has the details related to eventing managed by the
1685
+ # system.
1686
+ class EventingRuntimeData
1687
+ include Google::Apis::Core::Hashable
1688
+
1689
+ # Output only. Events listener endpoint. The value will populated after
1690
+ # provisioning the events listener.
1691
+ # Corresponds to the JSON property `eventsListenerEndpoint`
1692
+ # @return [String]
1693
+ attr_accessor :events_listener_endpoint
1694
+
1695
+ # EventingStatus indicates the state of eventing.
1696
+ # Corresponds to the JSON property `status`
1697
+ # @return [Google::Apis::ConnectorsV1::EventingStatus]
1698
+ attr_accessor :status
1699
+
1700
+ def initialize(**args)
1701
+ update!(**args)
1702
+ end
1703
+
1704
+ # Update properties of this object
1705
+ def update!(**args)
1706
+ @events_listener_endpoint = args[:events_listener_endpoint] if args.key?(:events_listener_endpoint)
1707
+ @status = args[:status] if args.key?(:status)
1708
+ end
1709
+ end
1710
+
1711
+ # EventingStatus indicates the state of eventing.
1712
+ class EventingStatus
1713
+ include Google::Apis::Core::Hashable
1714
+
1715
+ # Output only. Description of error if State is set to "ERROR".
1716
+ # Corresponds to the JSON property `description`
1717
+ # @return [String]
1718
+ attr_accessor :description
1719
+
1720
+ # Output only. State.
1721
+ # Corresponds to the JSON property `state`
1722
+ # @return [String]
1723
+ attr_accessor :state
1724
+
1725
+ def initialize(**args)
1726
+ update!(**args)
1727
+ end
1728
+
1729
+ # Update properties of this object
1730
+ def update!(**args)
1731
+ @description = args[:description] if args.key?(:description)
1732
+ @state = args[:state] if args.key?(:state)
1733
+ end
1734
+ end
1735
+
1214
1736
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
1215
1737
  # CEL is a C-like expression language. The syntax and semantics of CEL are
1216
1738
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -1378,6 +1900,75 @@ module Google
1378
1900
  end
1379
1901
  end
1380
1902
 
1903
+ # Field that needs to be compared.
1904
+ class FieldComparison
1905
+ include Google::Apis::Core::Hashable
1906
+
1907
+ # Boolean value
1908
+ # Corresponds to the JSON property `boolValue`
1909
+ # @return [Boolean]
1910
+ attr_accessor :bool_value
1911
+ alias_method :bool_value?, :bool_value
1912
+
1913
+ # Comparator to use for comparing the field value.
1914
+ # Corresponds to the JSON property `comparator`
1915
+ # @return [String]
1916
+ attr_accessor :comparator
1917
+
1918
+ # Integer value
1919
+ # Corresponds to the JSON property `intValue`
1920
+ # @return [Fixnum]
1921
+ attr_accessor :int_value
1922
+
1923
+ # Key of the field.
1924
+ # Corresponds to the JSON property `key`
1925
+ # @return [String]
1926
+ attr_accessor :key
1927
+
1928
+ # String value
1929
+ # Corresponds to the JSON property `stringValue`
1930
+ # @return [String]
1931
+ attr_accessor :string_value
1932
+
1933
+ def initialize(**args)
1934
+ update!(**args)
1935
+ end
1936
+
1937
+ # Update properties of this object
1938
+ def update!(**args)
1939
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
1940
+ @comparator = args[:comparator] if args.key?(:comparator)
1941
+ @int_value = args[:int_value] if args.key?(:int_value)
1942
+ @key = args[:key] if args.key?(:key)
1943
+ @string_value = args[:string_value] if args.key?(:string_value)
1944
+ end
1945
+ end
1946
+
1947
+ # Header details for a given header to be added to Endpoint.
1948
+ class Header
1949
+ include Google::Apis::Core::Hashable
1950
+
1951
+ # Key of Header.
1952
+ # Corresponds to the JSON property `key`
1953
+ # @return [String]
1954
+ attr_accessor :key
1955
+
1956
+ # Value of Header.
1957
+ # Corresponds to the JSON property `value`
1958
+ # @return [String]
1959
+ attr_accessor :value
1960
+
1961
+ def initialize(**args)
1962
+ update!(**args)
1963
+ end
1964
+
1965
+ # Update properties of this object
1966
+ def update!(**args)
1967
+ @key = args[:key] if args.key?(:key)
1968
+ @value = args[:value] if args.key?(:value)
1969
+ end
1970
+ end
1971
+
1381
1972
  # Metadata of an input parameter.
1382
1973
  class InputParameter
1383
1974
  include Google::Apis::Core::Hashable
@@ -1578,6 +2169,62 @@ module Google
1578
2169
  end
1579
2170
  end
1580
2171
 
2172
+ # Response message for ConnectorsService.ListEventSubscriptions
2173
+ class ListEventSubscriptionsResponse
2174
+ include Google::Apis::Core::Hashable
2175
+
2176
+ # Subscriptions.
2177
+ # Corresponds to the JSON property `eventSubscriptions`
2178
+ # @return [Array<Google::Apis::ConnectorsV1::EventSubscription>]
2179
+ attr_accessor :event_subscriptions
2180
+
2181
+ # Next page token.
2182
+ # Corresponds to the JSON property `nextPageToken`
2183
+ # @return [String]
2184
+ attr_accessor :next_page_token
2185
+
2186
+ # Locations that could not be reached.
2187
+ # Corresponds to the JSON property `unreachable`
2188
+ # @return [Array<String>]
2189
+ attr_accessor :unreachable
2190
+
2191
+ def initialize(**args)
2192
+ update!(**args)
2193
+ end
2194
+
2195
+ # Update properties of this object
2196
+ def update!(**args)
2197
+ @event_subscriptions = args[:event_subscriptions] if args.key?(:event_subscriptions)
2198
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2199
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2200
+ end
2201
+ end
2202
+
2203
+ # Response message for Connectors.ListEventTypes.
2204
+ class ListEventTypesResponse
2205
+ include Google::Apis::Core::Hashable
2206
+
2207
+ # A list of connector versions.
2208
+ # Corresponds to the JSON property `eventTypes`
2209
+ # @return [Array<Google::Apis::ConnectorsV1::EventType>]
2210
+ attr_accessor :event_types
2211
+
2212
+ # Next page token.
2213
+ # Corresponds to the JSON property `nextPageToken`
2214
+ # @return [String]
2215
+ attr_accessor :next_page_token
2216
+
2217
+ def initialize(**args)
2218
+ update!(**args)
2219
+ end
2220
+
2221
+ # Update properties of this object
2222
+ def update!(**args)
2223
+ @event_types = args[:event_types] if args.key?(:event_types)
2224
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2225
+ end
2226
+ end
2227
+
1581
2228
  # The response message for Locations.ListLocations.
1582
2229
  class ListLocationsResponse
1583
2230
  include Google::Apis::Core::Hashable
@@ -1808,6 +2455,37 @@ module Google
1808
2455
  end
1809
2456
  end
1810
2457
 
2458
+ # Struct for representing boolean expressions.
2459
+ class LogicalExpression
2460
+ include Google::Apis::Core::Hashable
2461
+
2462
+ # A list of fields to be compared.
2463
+ # Corresponds to the JSON property `fieldComparisons`
2464
+ # @return [Array<Google::Apis::ConnectorsV1::FieldComparison>]
2465
+ attr_accessor :field_comparisons
2466
+
2467
+ # A list of nested conditions to be compared.
2468
+ # Corresponds to the JSON property `logicalExpressions`
2469
+ # @return [Array<Google::Apis::ConnectorsV1::LogicalExpression>]
2470
+ attr_accessor :logical_expressions
2471
+
2472
+ # The logical operator to use between the fields and conditions.
2473
+ # Corresponds to the JSON property `logicalOperator`
2474
+ # @return [String]
2475
+ attr_accessor :logical_operator
2476
+
2477
+ def initialize(**args)
2478
+ update!(**args)
2479
+ end
2480
+
2481
+ # Update properties of this object
2482
+ def update!(**args)
2483
+ @field_comparisons = args[:field_comparisons] if args.key?(:field_comparisons)
2484
+ @logical_expressions = args[:logical_expressions] if args.key?(:logical_expressions)
2485
+ @logical_operator = args[:logical_operator] if args.key?(:logical_operator)
2486
+ end
2487
+ end
2488
+
1811
2489
  # represents the Connector's Managed Zone resource
1812
2490
  class ManagedZone
1813
2491
  include Google::Apis::Core::Hashable
@@ -2319,6 +2997,19 @@ module Google
2319
2997
  end
2320
2998
  end
2321
2999
 
3000
+ # Request message for ConnectorsService.RepairEventing
3001
+ class RepairEventingRequest
3002
+ include Google::Apis::Core::Hashable
3003
+
3004
+ def initialize(**args)
3005
+ update!(**args)
3006
+ end
3007
+
3008
+ # Update properties of this object
3009
+ def update!(**args)
3010
+ end
3011
+ end
3012
+
2322
3013
  # Resource definition
2323
3014
  class Resource
2324
3015
  include Google::Apis::Core::Hashable
@@ -2377,8 +3068,21 @@ module Google
2377
3068
  end
2378
3069
  end
2379
3070
 
3071
+ # Request message for ConnectorsService.RefreshEventSubscription
3072
+ class RetryEventSubscriptionRequest
3073
+ include Google::Apis::Core::Hashable
3074
+
3075
+ def initialize(**args)
3076
+ update!(**args)
3077
+ end
3078
+
3079
+ # Update properties of this object
3080
+ def update!(**args)
3081
+ end
3082
+ end
3083
+
2380
3084
  # This configuration defines all the Cloud IAM roles that needs to be granted to
2381
- # a particular GCP resource for the selected prinicpal like service account.
3085
+ # a particular GCP resource for the selected principal like service account.
2382
3086
  # These configurations will let UI display to customers what IAM roles need to
2383
3087
  # be granted by them. Or these configurations can be used by the UI to render a '
2384
3088
  # grant' button to do the same on behalf of the user.