google-apis-connectors_v1 0.32.0 → 0.34.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.
@@ -504,6 +504,12 @@ module Google
|
|
504
504
|
# @return [String]
|
505
505
|
attr_accessor :connector_version
|
506
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
|
+
|
507
513
|
# Output only. Flag to mark the version indicating the launch stage.
|
508
514
|
# Corresponds to the JSON property `connectorVersionLaunchStage`
|
509
515
|
# @return [String]
|
@@ -531,6 +537,22 @@ module Google
|
|
531
537
|
# @return [String]
|
532
538
|
attr_accessor :envoy_image_location
|
533
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
|
+
|
534
556
|
# Output only. GCR location where the runtime image is stored. formatted like:
|
535
557
|
# gcr.io/`bucketName`/`imageName`
|
536
558
|
# Corresponds to the JSON property `imageLocation`
|
@@ -616,11 +638,15 @@ module Google
|
|
616
638
|
@config_variables = args[:config_variables] if args.key?(:config_variables)
|
617
639
|
@connection_revision = args[:connection_revision] if args.key?(:connection_revision)
|
618
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)
|
619
642
|
@connector_version_launch_stage = args[:connector_version_launch_stage] if args.key?(:connector_version_launch_stage)
|
620
643
|
@create_time = args[:create_time] if args.key?(:create_time)
|
621
644
|
@description = args[:description] if args.key?(:description)
|
622
645
|
@destination_configs = args[:destination_configs] if args.key?(:destination_configs)
|
623
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)
|
624
650
|
@image_location = args[:image_location] if args.key?(:image_location)
|
625
651
|
@labels = args[:labels] if args.key?(:labels)
|
626
652
|
@lock_config = args[:lock_config] if args.key?(:lock_config)
|
@@ -745,6 +771,11 @@ module Google
|
|
745
771
|
# @return [String]
|
746
772
|
attr_accessor :documentation_uri
|
747
773
|
|
774
|
+
# Eventing Details message.
|
775
|
+
# Corresponds to the JSON property `eventingDetails`
|
776
|
+
# @return [Google::Apis::ConnectorsV1::EventingDetails]
|
777
|
+
attr_accessor :eventing_details
|
778
|
+
|
748
779
|
# Output only. Link to external page.
|
749
780
|
# Corresponds to the JSON property `externalUri`
|
750
781
|
# @return [String]
|
@@ -789,6 +820,7 @@ module Google
|
|
789
820
|
@description = args[:description] if args.key?(:description)
|
790
821
|
@display_name = args[:display_name] if args.key?(:display_name)
|
791
822
|
@documentation_uri = args[:documentation_uri] if args.key?(:documentation_uri)
|
823
|
+
@eventing_details = args[:eventing_details] if args.key?(:eventing_details)
|
792
824
|
@external_uri = args[:external_uri] if args.key?(:external_uri)
|
793
825
|
@labels = args[:labels] if args.key?(:labels)
|
794
826
|
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
|
@@ -798,6 +830,26 @@ module Google
|
|
798
830
|
end
|
799
831
|
end
|
800
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
|
+
|
801
853
|
# ConnectorVersion indicates a specific version of a connector.
|
802
854
|
class ConnectorVersion
|
803
855
|
include Google::Apis::Core::Hashable
|
@@ -812,6 +864,12 @@ module Google
|
|
812
864
|
# @return [Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>]
|
813
865
|
attr_accessor :config_variable_templates
|
814
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
|
+
|
815
873
|
# Output only. Created time.
|
816
874
|
# Corresponds to the JSON property `createTime`
|
817
875
|
# @return [String]
|
@@ -835,6 +893,11 @@ module Google
|
|
835
893
|
# @return [Google::Apis::ConnectorsV1::EgressControlConfig]
|
836
894
|
attr_accessor :egress_control_config
|
837
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
|
+
|
838
901
|
# Output only. Resource labels to represent user-provided metadata. Refer to
|
839
902
|
# cloud documentation on labels for more details. https://cloud.google.com/
|
840
903
|
# compute/docs/labeling-resources
|
@@ -899,10 +962,12 @@ module Google
|
|
899
962
|
def update!(**args)
|
900
963
|
@auth_config_templates = args[:auth_config_templates] if args.key?(:auth_config_templates)
|
901
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)
|
902
966
|
@create_time = args[:create_time] if args.key?(:create_time)
|
903
967
|
@destination_config_templates = args[:destination_config_templates] if args.key?(:destination_config_templates)
|
904
968
|
@display_name = args[:display_name] if args.key?(:display_name)
|
905
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)
|
906
971
|
@labels = args[:labels] if args.key?(:labels)
|
907
972
|
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
|
908
973
|
@name = args[:name] if args.key?(:name)
|
@@ -915,6 +980,27 @@ module Google
|
|
915
980
|
end
|
916
981
|
end
|
917
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
|
+
|
918
1004
|
# Log configuration for the connection.
|
919
1005
|
class ConnectorsLogConfig
|
920
1006
|
include Google::Apis::Core::Hashable
|
@@ -1134,6 +1220,31 @@ module Google
|
|
1134
1220
|
end
|
1135
1221
|
end
|
1136
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
|
+
|
1137
1248
|
# represents the Connector's Endpoint Attachment resource
|
1138
1249
|
class EndpointAttachment
|
1139
1250
|
include Google::Apis::Core::Hashable
|
@@ -1217,6 +1328,411 @@ module Google
|
|
1217
1328
|
end
|
1218
1329
|
end
|
1219
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
|
+
|
1220
1736
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
1221
1737
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
1222
1738
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
@@ -1428,6 +1944,31 @@ module Google
|
|
1428
1944
|
end
|
1429
1945
|
end
|
1430
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
|
+
|
1431
1972
|
# Metadata of an input parameter.
|
1432
1973
|
class InputParameter
|
1433
1974
|
include Google::Apis::Core::Hashable
|
@@ -1628,6 +2169,62 @@ module Google
|
|
1628
2169
|
end
|
1629
2170
|
end
|
1630
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
|
+
|
1631
2228
|
# The response message for Locations.ListLocations.
|
1632
2229
|
class ListLocationsResponse
|
1633
2230
|
include Google::Apis::Core::Hashable
|
@@ -2400,6 +2997,19 @@ module Google
|
|
2400
2997
|
end
|
2401
2998
|
end
|
2402
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
|
+
|
2403
3013
|
# Resource definition
|
2404
3014
|
class Resource
|
2405
3015
|
include Google::Apis::Core::Hashable
|
@@ -2458,6 +3068,19 @@ module Google
|
|
2458
3068
|
end
|
2459
3069
|
end
|
2460
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
|
+
|
2461
3084
|
# This configuration defines all the Cloud IAM roles that needs to be granted to
|
2462
3085
|
# a particular GCP resource for the selected principal like service account.
|
2463
3086
|
# These configurations will let UI display to customers what IAM roles need to
|