@maxim_mazurok/gapi.client.eventarc-v1 0.0.20230908 → 0.0.20230922
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.
- package/index.d.ts +28 -1
- package/package.json +1 -1
- package/tests.ts +15 -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://eventarc.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230922
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -159,6 +159,12 @@ declare namespace gapi.client {
|
|
|
159
159
|
/** A GKE service capable of receiving events. The service should be running in the same project as the trigger. */
|
|
160
160
|
gke?:
|
|
161
161
|
GKE;
|
|
162
|
+
/** An HTTP endpoint destination described by an URI. */
|
|
163
|
+
httpEndpoint?:
|
|
164
|
+
HttpEndpoint;
|
|
165
|
+
/** Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type. */
|
|
166
|
+
networkConfig?:
|
|
167
|
+
NetworkConfig;
|
|
162
168
|
/**
|
|
163
169
|
* The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format:
|
|
164
170
|
* `projects/{project}/locations/{location}/workflows/{workflow}`
|
|
@@ -320,6 +326,22 @@ declare namespace gapi.client {
|
|
|
320
326
|
message?:
|
|
321
327
|
string;
|
|
322
328
|
}
|
|
329
|
+
interface HttpEndpoint {
|
|
330
|
+
/**
|
|
331
|
+
* Optional. Forwards DNS requests to the VPC specified by network config to resolve the HTTP endpoint. Default to false. If set to true, Eventarc will create a peering zone to the
|
|
332
|
+
* consumer VPC and forward DNS requests. See: https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones Enable this if the URI uses an internal DNS name or a private Cloud
|
|
333
|
+
* DNS zone.
|
|
334
|
+
*/
|
|
335
|
+
forwardDnsRequests?:
|
|
336
|
+
boolean;
|
|
337
|
+
/**
|
|
338
|
+
* Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS
|
|
339
|
+
* protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud
|
|
340
|
+
* DNS.
|
|
341
|
+
*/
|
|
342
|
+
uri?:
|
|
343
|
+
string;
|
|
344
|
+
}
|
|
323
345
|
interface ListChannelConnectionsResponse {
|
|
324
346
|
/** The requested channel connections, up to the number specified in `page_size`. */
|
|
325
347
|
channelConnections?:
|
|
@@ -389,6 +411,11 @@ declare namespace gapi.client {
|
|
|
389
411
|
name?:
|
|
390
412
|
string;
|
|
391
413
|
}
|
|
414
|
+
interface NetworkConfig {
|
|
415
|
+
/** Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}` */
|
|
416
|
+
networkAttachment?:
|
|
417
|
+
string;
|
|
418
|
+
}
|
|
392
419
|
interface OperationMetadata {
|
|
393
420
|
/** Output only. API version used to start the operation. */
|
|
394
421
|
apiVersion?:
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230922
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -301,6 +301,13 @@ gapi.load('client', async () => {
|
|
|
301
301
|
path: "Test string",
|
|
302
302
|
service: "Test string",
|
|
303
303
|
},
|
|
304
|
+
httpEndpoint: {
|
|
305
|
+
forwardDnsRequests: true,
|
|
306
|
+
uri: "Test string",
|
|
307
|
+
},
|
|
308
|
+
networkConfig: {
|
|
309
|
+
networkAttachment: "Test string",
|
|
310
|
+
},
|
|
304
311
|
workflow: "Test string",
|
|
305
312
|
},
|
|
306
313
|
etag: "Test string",
|
|
@@ -379,6 +386,13 @@ gapi.load('client', async () => {
|
|
|
379
386
|
path: "Test string",
|
|
380
387
|
service: "Test string",
|
|
381
388
|
},
|
|
389
|
+
httpEndpoint: {
|
|
390
|
+
forwardDnsRequests: true,
|
|
391
|
+
uri: "Test string",
|
|
392
|
+
},
|
|
393
|
+
networkConfig: {
|
|
394
|
+
networkAttachment: "Test string",
|
|
395
|
+
},
|
|
382
396
|
workflow: "Test string",
|
|
383
397
|
},
|
|
384
398
|
etag: "Test string",
|