@maxim_mazurok/gapi.client.connectors-v1 0.0.20230621 → 0.0.20230712

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.
Files changed (3) hide show
  1. package/index.d.ts +891 -8
  2. package/package.json +1 -1
  3. package/tests.ts +339 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://connectors.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230621
12
+ // Revision: 20230712
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -205,6 +205,9 @@ declare namespace gapi.client {
205
205
  */
206
206
  connectorVersion?:
207
207
  string;
208
+ /** Output only. Infra configs supported by Connector Version. */
209
+ connectorVersionInfraConfig?:
210
+ ConnectorVersionInfraConfig;
208
211
  /** Output only. Flag to mark the version indicating the launch stage. */
209
212
  connectorVersionLaunchStage?:
210
213
  string;
@@ -220,6 +223,15 @@ declare namespace gapi.client {
220
223
  /** Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName} */
221
224
  envoyImageLocation?:
222
225
  string;
226
+ /** Optional. Eventing config of a connection */
227
+ eventingConfig?:
228
+ EventingConfig;
229
+ /** Optional. Eventing enablement type. Will be nil if eventing is not enabled. */
230
+ eventingEnablementType?:
231
+ string;
232
+ /** Output only. Eventing Runtime Data. */
233
+ eventingRuntimeData?:
234
+ EventingRuntimeData;
223
235
  /** Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName} */
224
236
  imageLocation?:
225
237
  string;
@@ -307,6 +319,9 @@ declare namespace gapi.client {
307
319
  /** Output only. Link to documentation page. */
308
320
  documentationUri?:
309
321
  string;
322
+ /** Output only. Eventing details. Will be null if eventing is not supported. */
323
+ eventingDetails?:
324
+ EventingDetails;
310
325
  /** Output only. Link to external page. */
311
326
  externalUri?:
312
327
  string;
@@ -329,6 +344,11 @@ declare namespace gapi.client {
329
344
  webAssetsLocation?:
330
345
  string;
331
346
  }
347
+ interface ConnectorInfraConfig {
348
+ /** Max QPS supported by the connector version before throttling of requests. */
349
+ ratelimitThreshold?:
350
+ string;
351
+ }
332
352
  interface ConnectorsLogConfig {
333
353
  /** Enabled represents whether logging is enabled or not for a connection. */
334
354
  enabled?:
@@ -341,6 +361,9 @@ declare namespace gapi.client {
341
361
  /** Output only. List of config variables needed to create a connection. */
342
362
  configVariableTemplates?:
343
363
  ConfigVariableTemplate[];
364
+ /** Output only. Infra configs supported by Connector. */
365
+ connectorInfraConfig?:
366
+ ConnectorInfraConfig;
344
367
  /** Output only. Created time. */
345
368
  createTime?:
346
369
  string;
@@ -353,6 +376,9 @@ declare namespace gapi.client {
353
376
  /** Output only. Configuration for Egress Control. */
354
377
  egressControlConfig?:
355
378
  EgressControlConfig;
379
+ /** Output only. Eventing configuration supported by the Connector. */
380
+ eventingConfigTemplate?:
381
+ EventingConfigTemplate;
356
382
  /** Output only. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources */
357
383
  labels?:
358
384
  { [P in string]: string };
@@ -384,6 +410,11 @@ declare namespace gapi.client {
384
410
  updateTime?:
385
411
  string;
386
412
  }
413
+ interface ConnectorVersionInfraConfig {
414
+ /** Output only. Max QPS supported by the connector version before throttling of requests. */
415
+ ratelimitThreshold?:
416
+ string;
417
+ }
387
418
  interface Destination {
388
419
  /** For publicly routable host. */
389
420
  host?:
@@ -454,6 +485,14 @@ declare namespace gapi.client {
454
485
  type?:
455
486
  string;
456
487
  }
488
+ interface EndPoint {
489
+ /** The URI of the Endpoint. */
490
+ endpointUri?:
491
+ string;
492
+ /** List of Header to be added to the Endpoint. */
493
+ headers?:
494
+ Header[];
495
+ }
457
496
  interface EndpointAttachment {
458
497
  /** Output only. Created time. */
459
498
  createTime?:
@@ -485,6 +524,162 @@ declare namespace gapi.client {
485
524
  id?:
486
525
  string;
487
526
  }
527
+ interface EventingConfig {
528
+ /** Additional eventing related field values */
529
+ additionalVariables?:
530
+ ConfigVariable[];
531
+ /** Auth details for the webhook adapter. */
532
+ authConfig?:
533
+ AuthConfig;
534
+ /** Encryption key (can be either Google managed or CMEK). */
535
+ encryptionKey?:
536
+ ConfigVariable;
537
+ /** Enrichment Enabled. */
538
+ enrichmentEnabled?:
539
+ boolean;
540
+ /** Registration endpoint for auto regsitration. */
541
+ registrationDestinationConfig?:
542
+ DestinationConfig;
543
+ }
544
+ interface EventingConfigTemplate {
545
+ /** Additional fields that need to be rendered. */
546
+ additionalVariables?:
547
+ ConfigVariableTemplate[];
548
+ /** AuthConfigTemplates represents the auth values for the webhook adapter. */
549
+ authConfigTemplates?:
550
+ AuthConfigTemplate[];
551
+ /** Auto refresh to extend webhook life. */
552
+ autoRefresh?:
553
+ boolean;
554
+ /** Auto Registration supported. */
555
+ autoRegistrationSupported?:
556
+ boolean;
557
+ /** Encryption key (can be either Google managed or CMEK). */
558
+ encryptionKeyTemplate?:
559
+ ConfigVariableTemplate;
560
+ /** Enrichment Supported. */
561
+ enrichmentSupported?:
562
+ boolean;
563
+ /** Is Eventing Supported. */
564
+ isEventingSupported?:
565
+ boolean;
566
+ /** Registration host destination config template. */
567
+ registrationDestinationConfig?:
568
+ DestinationConfigTemplate;
569
+ }
570
+ interface EventingDetails {
571
+ /** Output only. Custom Event Types. */
572
+ customEventTypes?:
573
+ boolean;
574
+ /** Output only. Description. */
575
+ description?:
576
+ string;
577
+ /** Output only. Link to public documentation. */
578
+ documentationLink?:
579
+ string;
580
+ /** Output only. Cloud storage location of the icon. */
581
+ iconLocation?:
582
+ string;
583
+ /** Output only. Eventing Launch Stage. */
584
+ launchStage?:
585
+ string;
586
+ /** Output only. Name of the Eventing trigger. */
587
+ name?:
588
+ string;
589
+ /** Output only. Array of search keywords. */
590
+ searchTags?:
591
+ string[];
592
+ }
593
+ interface EventingRuntimeData {
594
+ /** Output only. Events listener endpoint. The value will populated after provisioning the events listener. */
595
+ eventsListenerEndpoint?:
596
+ string;
597
+ /** Output only. Current status of eventing. */
598
+ status?:
599
+ EventingStatus;
600
+ }
601
+ interface EventingStatus {
602
+ /** Output only. Description of error if State is set to "ERROR". */
603
+ description?:
604
+ string;
605
+ /** Output only. State. */
606
+ state?:
607
+ string;
608
+ }
609
+ interface EventSubscription {
610
+ /** Output only. Created time. */
611
+ createTime?:
612
+ string;
613
+ /** Optional. The destination to hit when we receive an event */
614
+ destinations?:
615
+ EventSubscriptionDestination;
616
+ /** Optional. Event type id of the event of current EventSubscription. */
617
+ eventTypeId?:
618
+ string;
619
+ /** Required. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription} */
620
+ name?:
621
+ string;
622
+ /** Optional. Status indicates the status of the event subscription resource */
623
+ status?:
624
+ EventSubscriptionStatus;
625
+ /** Optional. name of the Subscriber for the current EventSubscription. */
626
+ subscriber?:
627
+ string;
628
+ /** Optional. Link for Subscriber of the current EventSubscription. */
629
+ subscriberLink?:
630
+ string;
631
+ /** Output only. Updated time. */
632
+ updateTime?:
633
+ string;
634
+ }
635
+ interface EventSubscriptionDestination {
636
+ /** OPTION 1: Hit an endpoint when we receive an event. */
637
+ endpoint?:
638
+ EndPoint;
639
+ /** Service account needed for runtime plane to trigger IP workflow. */
640
+ serviceAccount?:
641
+ string;
642
+ /** type of the destination */
643
+ type?:
644
+ string;
645
+ }
646
+ interface EventSubscriptionStatus {
647
+ /** Output only. Description of the state. */
648
+ description?:
649
+ string;
650
+ /** Output only. State of Event Subscription resource. */
651
+ state?:
652
+ string;
653
+ }
654
+ interface EventType {
655
+ /** Output only. Created time. */
656
+ createTime?:
657
+ string;
658
+ /** Output only. Schema of the event payload after enriched. Will be null if read before send is not supported. */
659
+ enrichedEventPayloadSchema?:
660
+ string;
661
+ /** Output only. Runtime entity type name. Will be null if entity type map is not available. Used for read before send feature. */
662
+ entityType?:
663
+ string;
664
+ /** Output only. Schema of webhook event payload. */
665
+ eventPayloadSchema?:
666
+ string;
667
+ /** Output only. Event type id. Example: `ticket.created`. */
668
+ eventTypeId?:
669
+ string;
670
+ /** Output only. Id path denotes the path of id in webhook payload. */
671
+ idPath?:
672
+ string;
673
+ /**
674
+ * Output only. Resource name of the eventtype. Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}/eventtypes/{eventtype}
675
+ * Only global location is supported for Connector resource.
676
+ */
677
+ name?:
678
+ string;
679
+ /** Output only. Updated time. */
680
+ updateTime?:
681
+ string;
682
+ }
488
683
  interface Expr {
489
684
  /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
490
685
  description?:
@@ -555,6 +750,14 @@ declare namespace gapi.client {
555
750
  stringValue?:
556
751
  string;
557
752
  }
753
+ interface Header {
754
+ /** Key of Header. */
755
+ key?:
756
+ string;
757
+ /** Value of Header. */
758
+ value?:
759
+ string;
760
+ }
558
761
  interface InputParameter {
559
762
  /** The data type of the Parameter. */
560
763
  dataType?:
@@ -627,6 +830,25 @@ declare namespace gapi.client {
627
830
  unreachable?:
628
831
  string[];
629
832
  }
833
+ interface ListEventSubscriptionsResponse {
834
+ /** Subscriptions. */
835
+ eventSubscriptions?:
836
+ EventSubscription[];
837
+ /** Next page token. */
838
+ nextPageToken?:
839
+ string;
840
+ /** Locations that could not be reached. */
841
+ unreachable?:
842
+ string[];
843
+ }
844
+ interface ListEventTypesResponse {
845
+ /** A list of connector versions. */
846
+ eventTypes?:
847
+ EventType[];
848
+ /** Next page token. */
849
+ nextPageToken?:
850
+ string;
851
+ }
630
852
  interface ListLocationsResponse {
631
853
  /** A list of locations that matches the specified filter in the request. */
632
854
  locations?:
@@ -913,6 +1135,9 @@ declare namespace gapi.client {
913
1135
  // tslint:disable-next-line:no-empty-interface
914
1136
  interface RefreshConnectionSchemaMetadataRequest {
915
1137
  }
1138
+ // tslint:disable-next-line:no-empty-interface
1139
+ interface RepairEventingRequest {
1140
+ }
916
1141
  interface Resource {
917
1142
  /** Template to uniquely represent a GCP resource in a format IAM expects This is a template that can have references to other values provided in the config variable template. */
918
1143
  pathTemplate?:
@@ -932,6 +1157,9 @@ declare namespace gapi.client {
932
1157
  field?:
933
1158
  string;
934
1159
  }
1160
+ // tslint:disable-next-line:no-empty-interface
1161
+ interface RetryEventSubscriptionRequest {
1162
+ }
935
1163
  interface RoleGrant {
936
1164
  /** Template that UI can use to provide helper text to customers. */
937
1165
  helperTextTemplate?:
@@ -1168,7 +1396,399 @@ declare namespace gapi.client {
1168
1396
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1169
1397
  key?:
1170
1398
  string;
1171
- /** Required. Resource name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata */
1399
+ /** Required. Resource name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata */
1400
+ name:
1401
+ string;
1402
+ /** OAuth 2.0 token for the current user. */
1403
+ oauth_token?:
1404
+ string;
1405
+ /** Returns response with indentations and line breaks. */
1406
+ prettyPrint?:
1407
+ boolean;
1408
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1409
+ quotaUser?:
1410
+ string;
1411
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1412
+ upload_protocol?:
1413
+ string;
1414
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1415
+ uploadType?:
1416
+ string;
1417
+ /** Request body */
1418
+ resource:
1419
+ RefreshConnectionSchemaMetadataRequest;
1420
+ }): Request<Operation>;
1421
+ refresh(request: {
1422
+ /** V1 error format. */
1423
+ "$.xgafv"?:
1424
+ string;
1425
+ /** OAuth access token. */
1426
+ access_token?:
1427
+ string;
1428
+ /** Data format for response. */
1429
+ alt?:
1430
+ string;
1431
+ /** JSONP */
1432
+ callback?:
1433
+ string;
1434
+ /** Selector specifying which fields to include in a partial response. */
1435
+ fields?:
1436
+ string;
1437
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1438
+ key?:
1439
+ string;
1440
+ /** Required. Resource name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata */
1441
+ name:
1442
+ string;
1443
+ /** OAuth 2.0 token for the current user. */
1444
+ oauth_token?:
1445
+ string;
1446
+ /** Returns response with indentations and line breaks. */
1447
+ prettyPrint?:
1448
+ boolean;
1449
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1450
+ quotaUser?:
1451
+ string;
1452
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1453
+ upload_protocol?:
1454
+ string;
1455
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1456
+ uploadType?:
1457
+ string;
1458
+ },
1459
+ body: RefreshConnectionSchemaMetadataRequest): Request<Operation>;
1460
+ }
1461
+ interface EventSubscriptionsResource {
1462
+ /** Creates a new EventSubscription in a given project,location and connection. */
1463
+ create(request: {
1464
+ /** V1 error format. */
1465
+ "$.xgafv"?:
1466
+ string;
1467
+ /** OAuth access token. */
1468
+ access_token?:
1469
+ string;
1470
+ /** Data format for response. */
1471
+ alt?:
1472
+ string;
1473
+ /** JSONP */
1474
+ callback?:
1475
+ string;
1476
+ /** Required. Identifier to assign to the Event Subscription. Must be unique within scope of the parent resource. */
1477
+ eventSubscriptionId?:
1478
+ string;
1479
+ /** Selector specifying which fields to include in a partial response. */
1480
+ fields?:
1481
+ string;
1482
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1483
+ key?:
1484
+ string;
1485
+ /** OAuth 2.0 token for the current user. */
1486
+ oauth_token?:
1487
+ string;
1488
+ /** Required. Parent resource of the EventSubscription, of the form: `projects/*‍/locations/*‍/connections/*` */
1489
+ parent:
1490
+ string;
1491
+ /** Returns response with indentations and line breaks. */
1492
+ prettyPrint?:
1493
+ boolean;
1494
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1495
+ quotaUser?:
1496
+ string;
1497
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1498
+ upload_protocol?:
1499
+ string;
1500
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1501
+ uploadType?:
1502
+ string;
1503
+ /** Request body */
1504
+ resource:
1505
+ EventSubscription;
1506
+ }): Request<Operation>;
1507
+ create(request: {
1508
+ /** V1 error format. */
1509
+ "$.xgafv"?:
1510
+ string;
1511
+ /** OAuth access token. */
1512
+ access_token?:
1513
+ string;
1514
+ /** Data format for response. */
1515
+ alt?:
1516
+ string;
1517
+ /** JSONP */
1518
+ callback?:
1519
+ string;
1520
+ /** Required. Identifier to assign to the Event Subscription. Must be unique within scope of the parent resource. */
1521
+ eventSubscriptionId?:
1522
+ string;
1523
+ /** Selector specifying which fields to include in a partial response. */
1524
+ fields?:
1525
+ string;
1526
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1527
+ key?:
1528
+ string;
1529
+ /** OAuth 2.0 token for the current user. */
1530
+ oauth_token?:
1531
+ string;
1532
+ /** Required. Parent resource of the EventSubscription, of the form: `projects/*‍/locations/*‍/connections/*` */
1533
+ parent:
1534
+ string;
1535
+ /** Returns response with indentations and line breaks. */
1536
+ prettyPrint?:
1537
+ boolean;
1538
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1539
+ quotaUser?:
1540
+ string;
1541
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1542
+ upload_protocol?:
1543
+ string;
1544
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1545
+ uploadType?:
1546
+ string;
1547
+ },
1548
+ body: EventSubscription): Request<Operation>;
1549
+ /** Deletes a single EventSubscription. */
1550
+ delete(request?: {
1551
+ /** V1 error format. */
1552
+ "$.xgafv"?:
1553
+ string;
1554
+ /** OAuth access token. */
1555
+ access_token?:
1556
+ string;
1557
+ /** Data format for response. */
1558
+ alt?:
1559
+ string;
1560
+ /** JSONP */
1561
+ callback?:
1562
+ string;
1563
+ /** Selector specifying which fields to include in a partial response. */
1564
+ fields?:
1565
+ string;
1566
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1567
+ key?:
1568
+ string;
1569
+ /** Required. Resource name of the form: `projects/*‍/locations/*‍/connections/*‍/eventsubscriptions/*` */
1570
+ name:
1571
+ string;
1572
+ /** OAuth 2.0 token for the current user. */
1573
+ oauth_token?:
1574
+ string;
1575
+ /** Returns response with indentations and line breaks. */
1576
+ prettyPrint?:
1577
+ boolean;
1578
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1579
+ quotaUser?:
1580
+ string;
1581
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1582
+ upload_protocol?:
1583
+ string;
1584
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1585
+ uploadType?:
1586
+ string;
1587
+ }): Request<Operation>;
1588
+ /** Gets details of a single EventSubscription. */
1589
+ get(request?: {
1590
+ /** V1 error format. */
1591
+ "$.xgafv"?:
1592
+ string;
1593
+ /** OAuth access token. */
1594
+ access_token?:
1595
+ string;
1596
+ /** Data format for response. */
1597
+ alt?:
1598
+ string;
1599
+ /** JSONP */
1600
+ callback?:
1601
+ string;
1602
+ /** Selector specifying which fields to include in a partial response. */
1603
+ fields?:
1604
+ string;
1605
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1606
+ key?:
1607
+ string;
1608
+ /** Required. Resource name of the form: `projects/*‍/locations/*‍/connections/*‍/eventSubscriptions/*` */
1609
+ name:
1610
+ string;
1611
+ /** OAuth 2.0 token for the current user. */
1612
+ oauth_token?:
1613
+ string;
1614
+ /** Returns response with indentations and line breaks. */
1615
+ prettyPrint?:
1616
+ boolean;
1617
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1618
+ quotaUser?:
1619
+ string;
1620
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1621
+ upload_protocol?:
1622
+ string;
1623
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1624
+ uploadType?:
1625
+ string;
1626
+ }): Request<EventSubscription>;
1627
+ /** List EventSubscriptions in a given project,location and connection. */
1628
+ list(request?: {
1629
+ /** V1 error format. */
1630
+ "$.xgafv"?:
1631
+ string;
1632
+ /** OAuth access token. */
1633
+ access_token?:
1634
+ string;
1635
+ /** Data format for response. */
1636
+ alt?:
1637
+ string;
1638
+ /** JSONP */
1639
+ callback?:
1640
+ string;
1641
+ /** Selector specifying which fields to include in a partial response. */
1642
+ fields?:
1643
+ string;
1644
+ /** Filter. https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/list_filtering.md#filtering. */
1645
+ filter?:
1646
+ string;
1647
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1648
+ key?:
1649
+ string;
1650
+ /** OAuth 2.0 token for the current user. */
1651
+ oauth_token?:
1652
+ string;
1653
+ /** Order by parameters. */
1654
+ orderBy?:
1655
+ string;
1656
+ /** Page size. */
1657
+ pageSize?:
1658
+ number;
1659
+ /** Page token. */
1660
+ pageToken?:
1661
+ string;
1662
+ /** Required. Parent resource of the EventSubscription, of the form: `projects/*‍/locations/*‍/connections/*` */
1663
+ parent:
1664
+ string;
1665
+ /** Returns response with indentations and line breaks. */
1666
+ prettyPrint?:
1667
+ boolean;
1668
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1669
+ quotaUser?:
1670
+ string;
1671
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1672
+ upload_protocol?:
1673
+ string;
1674
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1675
+ uploadType?:
1676
+ string;
1677
+ }): Request<ListEventSubscriptionsResponse>;
1678
+ /** Updates the parameters of a single EventSubscription. */
1679
+ patch(request: {
1680
+ /** V1 error format. */
1681
+ "$.xgafv"?:
1682
+ string;
1683
+ /** OAuth access token. */
1684
+ access_token?:
1685
+ string;
1686
+ /** Data format for response. */
1687
+ alt?:
1688
+ string;
1689
+ /** JSONP */
1690
+ callback?:
1691
+ string;
1692
+ /** Selector specifying which fields to include in a partial response. */
1693
+ fields?:
1694
+ string;
1695
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1696
+ key?:
1697
+ string;
1698
+ /** Required. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription} */
1699
+ name:
1700
+ string;
1701
+ /** OAuth 2.0 token for the current user. */
1702
+ oauth_token?:
1703
+ string;
1704
+ /** Returns response with indentations and line breaks. */
1705
+ prettyPrint?:
1706
+ boolean;
1707
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1708
+ quotaUser?:
1709
+ string;
1710
+ /**
1711
+ * Required. The list of fields to update. Fields are specified relative to the Subscription. A field will be overwritten if it is in the mask. You can modify only the fields
1712
+ * listed below. To update the EventSubscription details: * `serviceAccount`
1713
+ */
1714
+ updateMask?:
1715
+ string;
1716
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1717
+ upload_protocol?:
1718
+ string;
1719
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1720
+ uploadType?:
1721
+ string;
1722
+ /** Request body */
1723
+ resource:
1724
+ EventSubscription;
1725
+ }): Request<Operation>;
1726
+ patch(request: {
1727
+ /** V1 error format. */
1728
+ "$.xgafv"?:
1729
+ string;
1730
+ /** OAuth access token. */
1731
+ access_token?:
1732
+ string;
1733
+ /** Data format for response. */
1734
+ alt?:
1735
+ string;
1736
+ /** JSONP */
1737
+ callback?:
1738
+ string;
1739
+ /** Selector specifying which fields to include in a partial response. */
1740
+ fields?:
1741
+ string;
1742
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1743
+ key?:
1744
+ string;
1745
+ /** Required. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription} */
1746
+ name:
1747
+ string;
1748
+ /** OAuth 2.0 token for the current user. */
1749
+ oauth_token?:
1750
+ string;
1751
+ /** Returns response with indentations and line breaks. */
1752
+ prettyPrint?:
1753
+ boolean;
1754
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1755
+ quotaUser?:
1756
+ string;
1757
+ /**
1758
+ * Required. The list of fields to update. Fields are specified relative to the Subscription. A field will be overwritten if it is in the mask. You can modify only the fields
1759
+ * listed below. To update the EventSubscription details: * `serviceAccount`
1760
+ */
1761
+ updateMask?:
1762
+ string;
1763
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1764
+ upload_protocol?:
1765
+ string;
1766
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1767
+ uploadType?:
1768
+ string;
1769
+ },
1770
+ body: EventSubscription): Request<Operation>;
1771
+ /** RetryEventSubscription retries the registration of Subscription. */
1772
+ retry(request: {
1773
+ /** V1 error format. */
1774
+ "$.xgafv"?:
1775
+ string;
1776
+ /** OAuth access token. */
1777
+ access_token?:
1778
+ string;
1779
+ /** Data format for response. */
1780
+ alt?:
1781
+ string;
1782
+ /** JSONP */
1783
+ callback?:
1784
+ string;
1785
+ /** Selector specifying which fields to include in a partial response. */
1786
+ fields?:
1787
+ string;
1788
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1789
+ key?:
1790
+ string;
1791
+ /** Required. Resource name of the form: `projects/*‍/locations/*‍/connections/*‍/eventSubscriptions/*` */
1172
1792
  name:
1173
1793
  string;
1174
1794
  /** OAuth 2.0 token for the current user. */
@@ -1188,9 +1808,9 @@ declare namespace gapi.client {
1188
1808
  string;
1189
1809
  /** Request body */
1190
1810
  resource:
1191
- RefreshConnectionSchemaMetadataRequest;
1811
+ RetryEventSubscriptionRequest;
1192
1812
  }): Request<Operation>;
1193
- refresh(request: {
1813
+ retry(request: {
1194
1814
  /** V1 error format. */
1195
1815
  "$.xgafv"?:
1196
1816
  string;
@@ -1209,7 +1829,7 @@ declare namespace gapi.client {
1209
1829
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1210
1830
  key?:
1211
1831
  string;
1212
- /** Required. Resource name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata */
1832
+ /** Required. Resource name of the form: `projects/*‍/locations/*‍/connections/*‍/eventSubscriptions/*` */
1213
1833
  name:
1214
1834
  string;
1215
1835
  /** OAuth 2.0 token for the current user. */
@@ -1228,7 +1848,7 @@ declare namespace gapi.client {
1228
1848
  uploadType?:
1229
1849
  string;
1230
1850
  },
1231
- body: RefreshConnectionSchemaMetadataRequest): Request<Operation>;
1851
+ body: RetryEventSubscriptionRequest): Request<Operation>;
1232
1852
  }
1233
1853
  interface RuntimeActionSchemasResource {
1234
1854
  /** List schema of a runtime actions filtered by action name. */
@@ -1683,7 +2303,8 @@ declare namespace gapi.client {
1683
2303
  string;
1684
2304
  /**
1685
2305
  * Required. You can modify only the fields listed below. To lock/unlock a connection: * `lock_config` To suspend/resume a connection: * `suspended` To update the connection
1686
- * details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config`
2306
+ * details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config` * `log_config` * `ssl_config` *
2307
+ * `eventing_enablement_type` * `eventing_config`
1687
2308
  */
1688
2309
  updateMask?:
1689
2310
  string;
@@ -1730,7 +2351,8 @@ declare namespace gapi.client {
1730
2351
  string;
1731
2352
  /**
1732
2353
  * Required. You can modify only the fields listed below. To lock/unlock a connection: * `lock_config` To suspend/resume a connection: * `suspended` To update the connection
1733
- * details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config`
2354
+ * details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config` * `log_config` * `ssl_config` *
2355
+ * `eventing_enablement_type` * `eventing_config`
1734
2356
  */
1735
2357
  updateMask?:
1736
2358
  string;
@@ -1742,6 +2364,87 @@ declare namespace gapi.client {
1742
2364
  string;
1743
2365
  },
1744
2366
  body: Connection): Request<Operation>;
2367
+ /** RepaiEventing tries to repair eventing related event subscriptions. */
2368
+ repairEventing(request: {
2369
+ /** V1 error format. */
2370
+ "$.xgafv"?:
2371
+ string;
2372
+ /** OAuth access token. */
2373
+ access_token?:
2374
+ string;
2375
+ /** Data format for response. */
2376
+ alt?:
2377
+ string;
2378
+ /** JSONP */
2379
+ callback?:
2380
+ string;
2381
+ /** Selector specifying which fields to include in a partial response. */
2382
+ fields?:
2383
+ string;
2384
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2385
+ key?:
2386
+ string;
2387
+ /** Required. Resource name of the form: `projects/*‍/locations/*‍/connections/*` */
2388
+ name:
2389
+ string;
2390
+ /** OAuth 2.0 token for the current user. */
2391
+ oauth_token?:
2392
+ string;
2393
+ /** Returns response with indentations and line breaks. */
2394
+ prettyPrint?:
2395
+ boolean;
2396
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2397
+ quotaUser?:
2398
+ string;
2399
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2400
+ upload_protocol?:
2401
+ string;
2402
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2403
+ uploadType?:
2404
+ string;
2405
+ /** Request body */
2406
+ resource:
2407
+ RepairEventingRequest;
2408
+ }): Request<Operation>;
2409
+ repairEventing(request: {
2410
+ /** V1 error format. */
2411
+ "$.xgafv"?:
2412
+ string;
2413
+ /** OAuth access token. */
2414
+ access_token?:
2415
+ string;
2416
+ /** Data format for response. */
2417
+ alt?:
2418
+ string;
2419
+ /** JSONP */
2420
+ callback?:
2421
+ string;
2422
+ /** Selector specifying which fields to include in a partial response. */
2423
+ fields?:
2424
+ string;
2425
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2426
+ key?:
2427
+ string;
2428
+ /** Required. Resource name of the form: `projects/*‍/locations/*‍/connections/*` */
2429
+ name:
2430
+ string;
2431
+ /** OAuth 2.0 token for the current user. */
2432
+ oauth_token?:
2433
+ string;
2434
+ /** Returns response with indentations and line breaks. */
2435
+ prettyPrint?:
2436
+ boolean;
2437
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2438
+ quotaUser?:
2439
+ string;
2440
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2441
+ upload_protocol?:
2442
+ string;
2443
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2444
+ uploadType?:
2445
+ string;
2446
+ },
2447
+ body: RepairEventingRequest): Request<Operation>;
1745
2448
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1746
2449
  setIamPolicy(request: {
1747
2450
  /** V1 error format. */
@@ -1833,6 +2536,8 @@ declare namespace gapi.client {
1833
2536
  body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
1834
2537
  connectionSchemaMetadata:
1835
2538
  ConnectionSchemaMetadataResource;
2539
+ eventSubscriptions:
2540
+ EventSubscriptionsResource;
1836
2541
  runtimeActionSchemas:
1837
2542
  RuntimeActionSchemasResource;
1838
2543
  runtimeEntitySchemas:
@@ -2500,6 +3205,93 @@ declare namespace gapi.client {
2500
3205
  uploadType?:
2501
3206
  string;
2502
3207
  }): Request<Settings>;
3208
+ /** Update the global settings of a project. */
3209
+ updateSettings(request: {
3210
+ /** V1 error format. */
3211
+ "$.xgafv"?:
3212
+ string;
3213
+ /** OAuth access token. */
3214
+ access_token?:
3215
+ string;
3216
+ /** Data format for response. */
3217
+ alt?:
3218
+ string;
3219
+ /** JSONP */
3220
+ callback?:
3221
+ string;
3222
+ /** Selector specifying which fields to include in a partial response. */
3223
+ fields?:
3224
+ string;
3225
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3226
+ key?:
3227
+ string;
3228
+ /** Output only. Resource name of the Connection. Format: projects/{project}/locations/global/settings} */
3229
+ name:
3230
+ string;
3231
+ /** OAuth 2.0 token for the current user. */
3232
+ oauth_token?:
3233
+ string;
3234
+ /** Returns response with indentations and line breaks. */
3235
+ prettyPrint?:
3236
+ boolean;
3237
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3238
+ quotaUser?:
3239
+ string;
3240
+ /** Required. The list of fields to update. */
3241
+ updateMask?:
3242
+ string;
3243
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3244
+ upload_protocol?:
3245
+ string;
3246
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3247
+ uploadType?:
3248
+ string;
3249
+ /** Request body */
3250
+ resource:
3251
+ Settings;
3252
+ }): Request<Operation>;
3253
+ updateSettings(request: {
3254
+ /** V1 error format. */
3255
+ "$.xgafv"?:
3256
+ string;
3257
+ /** OAuth access token. */
3258
+ access_token?:
3259
+ string;
3260
+ /** Data format for response. */
3261
+ alt?:
3262
+ string;
3263
+ /** JSONP */
3264
+ callback?:
3265
+ string;
3266
+ /** Selector specifying which fields to include in a partial response. */
3267
+ fields?:
3268
+ string;
3269
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3270
+ key?:
3271
+ string;
3272
+ /** Output only. Resource name of the Connection. Format: projects/{project}/locations/global/settings} */
3273
+ name:
3274
+ string;
3275
+ /** OAuth 2.0 token for the current user. */
3276
+ oauth_token?:
3277
+ string;
3278
+ /** Returns response with indentations and line breaks. */
3279
+ prettyPrint?:
3280
+ boolean;
3281
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3282
+ quotaUser?:
3283
+ string;
3284
+ /** Required. The list of fields to update. */
3285
+ updateMask?:
3286
+ string;
3287
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3288
+ upload_protocol?:
3289
+ string;
3290
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3291
+ uploadType?:
3292
+ string;
3293
+ },
3294
+ body: Settings): Request<Operation>;
2503
3295
  managedZones:
2504
3296
  ManagedZonesResource;
2505
3297
  }
@@ -2720,6 +3512,95 @@ declare namespace gapi.client {
2720
3512
  string;
2721
3513
  }): Request<ListOperationsResponse>;
2722
3514
  }
3515
+ interface EventtypesResource {
3516
+ /** Gets details of a single event type. */
3517
+ get(request?: {
3518
+ /** V1 error format. */
3519
+ "$.xgafv"?:
3520
+ string;
3521
+ /** OAuth access token. */
3522
+ access_token?:
3523
+ string;
3524
+ /** Data format for response. */
3525
+ alt?:
3526
+ string;
3527
+ /** JSONP */
3528
+ callback?:
3529
+ string;
3530
+ /** Selector specifying which fields to include in a partial response. */
3531
+ fields?:
3532
+ string;
3533
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3534
+ key?:
3535
+ string;
3536
+ /** Required. Resource name of the form: `projects/*‍/locations/*‍/providers/*‍/connectors/*‍/versions/*‍/eventtypes/*` Only global location is supported for EventType resource. */
3537
+ name:
3538
+ string;
3539
+ /** OAuth 2.0 token for the current user. */
3540
+ oauth_token?:
3541
+ string;
3542
+ /** Returns response with indentations and line breaks. */
3543
+ prettyPrint?:
3544
+ boolean;
3545
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3546
+ quotaUser?:
3547
+ string;
3548
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3549
+ upload_protocol?:
3550
+ string;
3551
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3552
+ uploadType?:
3553
+ string;
3554
+ }): Request<EventType>;
3555
+ /** Lists Event Types in a given Connector Version. */
3556
+ list(request?: {
3557
+ /** V1 error format. */
3558
+ "$.xgafv"?:
3559
+ string;
3560
+ /** OAuth access token. */
3561
+ access_token?:
3562
+ string;
3563
+ /** Data format for response. */
3564
+ alt?:
3565
+ string;
3566
+ /** JSONP */
3567
+ callback?:
3568
+ string;
3569
+ /** Selector specifying which fields to include in a partial response. */
3570
+ fields?:
3571
+ string;
3572
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3573
+ key?:
3574
+ string;
3575
+ /** OAuth 2.0 token for the current user. */
3576
+ oauth_token?:
3577
+ string;
3578
+ /** Page size. */
3579
+ pageSize?:
3580
+ number;
3581
+ /** Page token. */
3582
+ pageToken?:
3583
+ string;
3584
+ /**
3585
+ * Required. Parent resource of the connectors, of the form: `projects/*‍/locations/*‍/providers/*‍/connectors/*‍/versions/*` Only global location is supported for EventType
3586
+ * resource.
3587
+ */
3588
+ parent:
3589
+ string;
3590
+ /** Returns response with indentations and line breaks. */
3591
+ prettyPrint?:
3592
+ boolean;
3593
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3594
+ quotaUser?:
3595
+ string;
3596
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3597
+ upload_protocol?:
3598
+ string;
3599
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3600
+ uploadType?:
3601
+ string;
3602
+ }): Request<ListEventTypesResponse>;
3603
+ }
2723
3604
  interface VersionsResource {
2724
3605
  /** Gets details of a single connector version. */
2725
3606
  get(request?: {
@@ -2811,6 +3692,8 @@ declare namespace gapi.client {
2811
3692
  view?:
2812
3693
  string;
2813
3694
  }): Request<ListConnectorVersionsResponse>;
3695
+ eventtypes:
3696
+ EventtypesResource;
2814
3697
  }
2815
3698
  interface ConnectorsResource {
2816
3699
  /** Gets details of a single Connector. */