@maxim_mazurok/gapi.client.eventarc-v1 0.0.20230519 → 0.0.20230602

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 +20 -1
  2. package/package.json +1 -1
  3. package/tests.ts +9 -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: 20230519
12
+ // Revision: 20230602
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -159,6 +159,9 @@ 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;
162
165
  /**
163
166
  * 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
167
  * `projects/{project}/locations/{location}/workflows/{workflow}`
@@ -320,6 +323,22 @@ declare namespace gapi.client {
320
323
  message?:
321
324
  string;
322
325
  }
326
+ interface HttpEndpoint {
327
+ /**
328
+ * 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
329
+ * 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
330
+ * DNS zone.
331
+ */
332
+ forwardDnsRequests?:
333
+ boolean;
334
+ /**
335
+ * 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
336
+ * 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
337
+ * DNS.
338
+ */
339
+ uri?:
340
+ string;
341
+ }
323
342
  interface ListChannelConnectionsResponse {
324
343
  /** The requested channel connections, up to the number specified in `page_size`. */
325
344
  channelConnections?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.eventarc-v1",
3
- "version": "0.0.20230519",
3
+ "version": "0.0.20230602",
4
4
  "description": "TypeScript typings for Eventarc API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230519
6
+ // Revision: 20230602
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -301,6 +301,10 @@ 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
+ },
304
308
  workflow: "Test string",
305
309
  },
306
310
  etag: "Test string",
@@ -379,6 +383,10 @@ gapi.load('client', async () => {
379
383
  path: "Test string",
380
384
  service: "Test string",
381
385
  },
386
+ httpEndpoint: {
387
+ forwardDnsRequests: true,
388
+ uri: "Test string",
389
+ },
382
390
  workflow: "Test string",
383
391
  },
384
392
  etag: "Test string",