@googleapis/servicenetworking 0.2.0 → 4.3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,126 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.3.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v4.2.1...servicenetworking-v4.3.0) (2022-01-17)
4
+
5
+
6
+ ### Features
7
+
8
+ * **servicenetworking:** update the API ([3c459ab](https://github.com/googleapis/google-api-nodejs-client/commit/3c459ab4ec2366551af9dd772ad91ac39a4ead3d))
9
+
10
+ ### [4.2.1](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v4.2.0...servicenetworking-v4.2.1) (2021-12-30)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **servicenetworking:** update the API ([8b05929](https://www.github.com/googleapis/google-api-nodejs-client/commit/8b05929341d526532504f2202c6c249dea102d14))
16
+
17
+ ## [4.2.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v4.1.0...servicenetworking-v4.2.0) (2021-10-18)
18
+
19
+
20
+ ### Features
21
+
22
+ * **servicenetworking:** update the API ([276ebcf](https://www.github.com/googleapis/google-api-nodejs-client/commit/276ebcf022fababe8502ac91900b8b45e565f812))
23
+
24
+ ## [4.1.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v4.0.0...servicenetworking-v4.1.0) (2021-09-28)
25
+
26
+
27
+ ### Features
28
+
29
+ * **servicenetworking:** update the API ([cc21e38](https://www.github.com/googleapis/google-api-nodejs-client/commit/cc21e38b2ced0ed5453a0a2c0b494d2c9335ed76))
30
+
31
+ ## [4.0.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v3.1.0...servicenetworking-v4.0.0) (2021-09-14)
32
+
33
+
34
+ ### ⚠ BREAKING CHANGES
35
+
36
+ * **servicenetworking:** This release has breaking changes.
37
+ * **servicenetworking:** This release has breaking changes.
38
+ * **servicenetworking:** This release has breaking changes.
39
+
40
+ ### Features
41
+
42
+ * **auth:** adds support workload identity federation ([#2517](https://www.github.com/googleapis/google-api-nodejs-client/issues/2517)) ([a10707c](https://www.github.com/googleapis/google-api-nodejs-client/commit/a10707c477759e7c9ef6360a2fe800856fb600c1))
43
+ * **servicenetworking:** update the API ([755cf59](https://www.github.com/googleapis/google-api-nodejs-client/commit/755cf5918d71aa9a56d07c49d3169e63cb4ef4fc))
44
+ * **servicenetworking:** update the API ([6ad61f1](https://www.github.com/googleapis/google-api-nodejs-client/commit/6ad61f1b4d236a2c8c30f0fb240f03667c0363ca))
45
+ * **servicenetworking:** update the API ([ce8fd37](https://www.github.com/googleapis/google-api-nodejs-client/commit/ce8fd3777ea090f453f88bbde160d615318a6e87))
46
+ * **servicenetworking:** update the API ([d678d59](https://www.github.com/googleapis/google-api-nodejs-client/commit/d678d599d2d17612438dcb91056de307b3b70f2f))
47
+ * **servicenetworking:** update the API ([14a1d35](https://www.github.com/googleapis/google-api-nodejs-client/commit/14a1d35dfa100efa59c94d74aa0248f85e70262f))
48
+ * **servicenetworking:** update the API ([7c39c04](https://www.github.com/googleapis/google-api-nodejs-client/commit/7c39c04314275c54ea5dad7fcf39e99d4d0658b4))
49
+ * **servicenetworking:** update the API ([63edb25](https://www.github.com/googleapis/google-api-nodejs-client/commit/63edb25b412460e696f4f95ef41c47c725a216d9))
50
+ * **servicenetworking:** update the API ([1e7807e](https://www.github.com/googleapis/google-api-nodejs-client/commit/1e7807ef3a7e536748d6005ede26d94278ab34c7))
51
+
52
+
53
+ ### Bug Fixes
54
+
55
+ * **deps:** update dependency googleapis-common to v5 ([#2497](https://www.github.com/googleapis/google-api-nodejs-client/issues/2497)) ([fec087a](https://www.github.com/googleapis/google-api-nodejs-client/commit/fec087abcf3d994dd41c3ffa0a0c12b1f9f09dae))
56
+ * **servicenetworking:** update the API ([c17e356](https://www.github.com/googleapis/google-api-nodejs-client/commit/c17e3569c6b30e8c3f053d5b3d66e2dd600fc120))
57
+ * **servicenetworking:** update the API ([e84feac](https://www.github.com/googleapis/google-api-nodejs-client/commit/e84feacb2e22662cad496fae7f91154430424051))
58
+ * **servicenetworking:** update the API ([fdbffee](https://www.github.com/googleapis/google-api-nodejs-client/commit/fdbffee5ee0af797eaae1bf0de53fcf2561e7f53))
59
+ * upgrade webpack from 4 to 5 ([#2524](https://www.github.com/googleapis/google-api-nodejs-client/issues/2524)) ([ecfd8bf](https://www.github.com/googleapis/google-api-nodejs-client/commit/ecfd8bfcd06e1beabff7ec9a8c4000222379eb8d))
60
+
61
+ ## [3.1.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v3.0.2...servicenetworking-v3.1.0) (2021-08-31)
62
+
63
+
64
+ ### Features
65
+
66
+ * **servicenetworking:** update the API ([755cf59](https://www.github.com/googleapis/google-api-nodejs-client/commit/755cf5918d71aa9a56d07c49d3169e63cb4ef4fc))
67
+
68
+ ### [3.0.2](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v3.0.1...servicenetworking-v3.0.2) (2021-08-06)
69
+
70
+
71
+ ### Bug Fixes
72
+
73
+ * **servicenetworking:** update the API ([e84feac](https://www.github.com/googleapis/google-api-nodejs-client/commit/e84feacb2e22662cad496fae7f91154430424051))
74
+
75
+ ### [3.0.1](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v3.0.0...servicenetworking-v3.0.1) (2021-07-08)
76
+
77
+
78
+ ### Bug Fixes
79
+
80
+ * **servicenetworking:** update the API ([fdbffee](https://www.github.com/googleapis/google-api-nodejs-client/commit/fdbffee5ee0af797eaae1bf0de53fcf2561e7f53))
81
+
82
+ ## [3.0.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v2.0.0...servicenetworking-v3.0.0) (2021-06-02)
83
+
84
+
85
+ ### ⚠ BREAKING CHANGES
86
+
87
+ * **servicenetworking:** This release has breaking changes.
88
+
89
+ ### Features
90
+
91
+ * **servicenetworking:** update the API ([6ad61f1](https://www.github.com/googleapis/google-api-nodejs-client/commit/6ad61f1b4d236a2c8c30f0fb240f03667c0363ca))
92
+
93
+ ## [2.0.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v1.0.0...servicenetworking-v2.0.0) (2021-05-23)
94
+
95
+
96
+ ### ⚠ BREAKING CHANGES
97
+
98
+ * **servicenetworking:** This release has breaking changes.
99
+
100
+ ### Features
101
+
102
+ * **servicenetworking:** update the API ([ce8fd37](https://www.github.com/googleapis/google-api-nodejs-client/commit/ce8fd3777ea090f453f88bbde160d615318a6e87))
103
+ * **servicenetworking:** update the API ([d678d59](https://www.github.com/googleapis/google-api-nodejs-client/commit/d678d599d2d17612438dcb91056de307b3b70f2f))
104
+ * **servicenetworking:** update the API ([14a1d35](https://www.github.com/googleapis/google-api-nodejs-client/commit/14a1d35dfa100efa59c94d74aa0248f85e70262f))
105
+
106
+ ## [1.0.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v0.3.0...servicenetworking-v1.0.0) (2021-04-21)
107
+
108
+
109
+ ### ⚠ BREAKING CHANGES
110
+
111
+ * **servicenetworking:** This release has breaking changes.
112
+
113
+ ### Features
114
+
115
+ * **servicenetworking:** update the API ([7c39c04](https://www.github.com/googleapis/google-api-nodejs-client/commit/7c39c04314275c54ea5dad7fcf39e99d4d0658b4))
116
+
117
+ ## [0.3.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v0.2.0...servicenetworking-v0.3.0) (2021-04-07)
118
+
119
+
120
+ ### Features
121
+
122
+ * **servicenetworking:** update the API ([63edb25](https://www.github.com/googleapis/google-api-nodejs-client/commit/63edb25b412460e696f4f95ef41c47c725a216d9))
123
+
3
124
  ## [0.2.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v0.1.0...servicenetworking-v0.2.0) (2021-03-18)
4
125
 
5
126
 
package/README.md CHANGED
@@ -7,37 +7,18 @@
7
7
  ## Installation
8
8
 
9
9
  ```sh
10
- $ npm install googleapis
10
+ $ npm install @googleapis/servicenetworking
11
11
  ```
12
12
 
13
13
  ## Usage
14
14
  All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client).
15
-
16
- ## Building a browser bundle
17
-
18
- This library can be used in a browser. To prepare a single file bundle, clone the
19
- [repository](https://github.com/googleapis/google-api-nodejs-client) and run
20
-
21
- ```sh
22
- $ cd src/apis/servicenetworking
23
- $ npm install
24
- $ npm run webpack
25
- ```
26
-
27
- The generated bundle will be written to `dist/servicenetworking.min.js`. Use it from your HTML file:
28
-
29
- ```html
30
- <script src="/path/to/servicenetworking.min.js"></script>
31
- <script>
32
- const { servicenetworking, auth } = Servicenetworking;
33
- </script>
34
- ```
15
+ Information on classes can be found in [Googleapis Documentation](https://googleapis.dev/nodejs/googleapis/latest/servicenetworking/classes/Servicenetworking.html).
35
16
 
36
17
  ## License
37
- This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/master/LICENSE).
18
+ This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/main/LICENSE).
38
19
 
39
20
  ## Contributing
40
- We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md).
21
+ We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/main/.github/CONTRIBUTING.md).
41
22
 
42
23
  ## Questions/problems?
43
24
  * Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client).
package/build/v1.d.ts CHANGED
@@ -176,6 +176,18 @@ export declare namespace servicenetworking_v1 {
176
176
  * Required. The prefix length of the subnet's IP address range. Use CIDR range notation, such as `30` to provision a subnet with an `x.x.x.x/30` CIDR range. The IP address range is drawn from a pool of available ranges in the service consumer's allocated range.
177
177
  */
178
178
  ipPrefixLength?: number | null;
179
+ /**
180
+ * Optional. Enable outside allocation using public IP addresses. Any public IP range may be specified. If this field is provided, we will not use customer reserved ranges for this primary IP range.
181
+ */
182
+ outsideAllocationPublicIpRange?: string | null;
183
+ /**
184
+ * Optional. The private IPv6 google access type for the VMs in this subnet. For information about the access types that can be set using this field, see [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.
185
+ */
186
+ privateIpv6GoogleAccess?: string | null;
187
+ /**
188
+ * Optional. Defines the purpose field of the subnet, e.g. 'PRIVATE_SERVICE_CONNECT'. For information about the purposes that can be set using this field, see [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.
189
+ */
190
+ purpose?: string | null;
179
191
  /**
180
192
  * Required. The name of a [region](/compute/docs/regions-zones) for the subnet, such `europe-west1`.
181
193
  */
@@ -235,7 +247,7 @@ export declare namespace servicenetworking_v1 {
235
247
  version?: string | null;
236
248
  }
237
249
  /**
238
- * `Authentication` defines the authentication configuration for an API. Example for an API targeted for external use: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth
250
+ * `Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read
239
251
  */
240
252
  export interface Schema$Authentication {
241
253
  /**
@@ -339,10 +351,6 @@ export declare namespace servicenetworking_v1 {
339
351
  * The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP "authorization" header, and sent to the backend.
340
352
  */
341
353
  jwtAudience?: string | null;
342
- /**
343
- * Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected.
344
- */
345
- minDeadline?: number | null;
346
354
  /**
347
355
  * The number of seconds to wait for the completion of a long running operation. The default is no deadline.
348
356
  */
@@ -503,11 +511,11 @@ export declare namespace servicenetworking_v1 {
503
511
  selector?: string | null;
504
512
  }
505
513
  /**
506
- * Selects and configures the service controller used by the service. The service controller handles features like abuse, quota, billing, logging, monitoring, etc.
514
+ * Selects and configures the service controller used by the service. The service controller handles two things: - **What is allowed:** for each API request, Chemist checks the project status, activation status, abuse status, billing status, service status, location restrictions, VPC Service Controls, SuperQuota, and other policies. - **What has happened:** for each API response, Chemist reports the telemetry data to analytics, auditing, billing, eventing, logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data not associated with API traffic, such as billing metrics. Example: control: environment: servicecontrol.googleapis.com
507
515
  */
508
516
  export interface Schema$Control {
509
517
  /**
510
- * The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled.
518
+ * The service controller environment to use. If empty, no control plane feature (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com
511
519
  */
512
520
  environment?: string | null;
513
521
  }
@@ -555,6 +563,15 @@ export declare namespace servicenetworking_v1 {
555
563
  */
556
564
  export interface Schema$DeleteConnectionMetadata {
557
565
  }
566
+ /**
567
+ * Request to delete a private service access connection. The call will fail if there are any managed service instances using this connection.
568
+ */
569
+ export interface Schema$DeleteConnectionRequest {
570
+ /**
571
+ * Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project\}/global/networks/{network\} {project\} is a project number, as in '12345' {network\} is a network name.
572
+ */
573
+ consumerNetwork?: string | null;
574
+ }
558
575
  /**
559
576
  * Metadata provided through GetOperation request for the LRO generated by DeletePeeredDnsDomain API.
560
577
  */
@@ -628,7 +645,7 @@ export declare namespace servicenetworking_v1 {
628
645
  */
629
646
  serviceRootUrl?: string | null;
630
647
  /**
631
- * A short summary of what the service does. Can only be provided by plain text.
648
+ * A short description of what the service does. The summary must be plain text. It becomes the overview of the service displayed in Google Cloud Console. NOTE: This field is equivalent to the standard field `description`.
632
649
  */
633
650
  summary?: string | null;
634
651
  }
@@ -641,11 +658,11 @@ export declare namespace servicenetworking_v1 {
641
658
  */
642
659
  deprecationDescription?: string | null;
643
660
  /**
644
- * Description of the selected API(s).
661
+ * Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.
645
662
  */
646
663
  description?: string | null;
647
664
  /**
648
- * The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern "*" is used.
665
+ * The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern "*" is used.
649
666
  */
650
667
  selector?: string | null;
651
668
  }
@@ -664,13 +681,9 @@ export declare namespace servicenetworking_v1 {
664
681
  consumerNetwork?: string | null;
665
682
  }
666
683
  /**
667
- * `Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true
684
+ * `Endpoint` describes a network address of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example: type: google.api.Service name: library-example.googleapis.com endpoints: # Declares network address `https://library-example.googleapis.com` # for service `library-example.googleapis.com`. The `https` scheme # is implicit for all service endpoints. Other schemes may be # supported in the future. - name: library-example.googleapis.com allow_cors: false - name: content-staging-library-example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API frontend, for it # to decide whether the subsequent cross-origin request is allowed # to proceed. allow_cors: true
668
685
  */
669
686
  export interface Schema$Endpoint {
670
- /**
671
- * DEPRECATED: This field is no longer supported. Instead of using aliases, please specify multiple google.api.Endpoint for each of the intended aliases. Additional names that this endpoint will be hosted on.
672
- */
673
- aliases?: string[] | null;
674
687
  /**
675
688
  * Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.
676
689
  */
@@ -1152,7 +1165,7 @@ export declare namespace servicenetworking_v1 {
1152
1165
  */
1153
1166
  name?: string | null;
1154
1167
  /**
1155
- * Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL.
1168
+ * Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL. For a list of types, see [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).
1156
1169
  */
1157
1170
  type?: string | null;
1158
1171
  }
@@ -1240,7 +1253,7 @@ export declare namespace servicenetworking_v1 {
1240
1253
  */
1241
1254
  export interface Schema$Page {
1242
1255
  /**
1243
- * The Markdown content of the page. You can use (== include {path\} ==) to include content from a Markdown file.
1256
+ * The Markdown content of the page. You can use (== include {path\} ==) to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page.
1244
1257
  */
1245
1258
  content?: string | null;
1246
1259
  /**
@@ -1252,12 +1265,17 @@ export declare namespace servicenetworking_v1 {
1252
1265
  */
1253
1266
  subpages?: Schema$Page[];
1254
1267
  }
1268
+ /**
1269
+ * Metadata provided through GetOperation request for the LRO generated by Partial Delete Connection API
1270
+ */
1271
+ export interface Schema$PartialDeleteConnectionMetadata {
1272
+ }
1255
1273
  /**
1256
1274
  * DNS domain suffix for which requests originating in the producer VPC network are resolved in the associated consumer VPC network.
1257
1275
  */
1258
1276
  export interface Schema$PeeredDnsDomain {
1259
1277
  /**
1260
- * The DNS domain name suffix e.g. `example.com.`.
1278
+ * The DNS domain name suffix e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot.
1261
1279
  */
1262
1280
  dnsSuffix?: string | null;
1263
1281
  /**
@@ -1476,6 +1494,10 @@ export declare namespace servicenetworking_v1 {
1476
1494
  * Required. The prefix length of the secondary IP range. Use CIDR range notation, such as `30` to provision a secondary IP range with an `x.x.x.x/30` CIDR range. The IP address range is drawn from a pool of available ranges in the service consumer's allocated range.
1477
1495
  */
1478
1496
  ipPrefixLength?: number | null;
1497
+ /**
1498
+ * Optional. Enable outside allocation using public IP addresses. Any public IP range may be specified. If this field is provided, we will not use customer reserved ranges for this secondary IP range.
1499
+ */
1500
+ outsideAllocationPublicIpRange?: string | null;
1479
1501
  /**
1480
1502
  * Required. A name for the secondary IP range. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
1481
1503
  */
@@ -1486,7 +1508,7 @@ export declare namespace servicenetworking_v1 {
1486
1508
  requestedAddress?: string | null;
1487
1509
  }
1488
1510
  /**
1489
- * `Service` is the root object of Google service configuration schema. It describes basic information about a service, such as the name and the title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. See each proto message definition for details. Example: type: google.api.Service name: calendar.googleapis.com title: Google Calendar API apis: - name: google.calendar.v3.Calendar authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth
1511
+ * `Service` is the root object of Google API service configuration (service config). It describes the basic information about a logical service, such as the service name and the user-facing title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. For more information, see each proto message definition. Example: type: google.api.Service name: calendar.googleapis.com title: Google Calendar API apis: - name: google.calendar.v3.Calendar visibility: rules: - selector: "google.calendar.v3.*" restriction: PREVIEW backend: rules: - selector: "google.calendar.v3.*" address: calendar.example.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth
1490
1512
  */
1491
1513
  export interface Schema$Service {
1492
1514
  /**
@@ -1506,7 +1528,7 @@ export declare namespace servicenetworking_v1 {
1506
1528
  */
1507
1529
  billing?: Schema$Billing;
1508
1530
  /**
1509
- * Deprecated. The service config compiler always sets this field to `3`.
1531
+ * Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`.
1510
1532
  */
1511
1533
  configVersion?: number | null;
1512
1534
  /**
@@ -1530,7 +1552,7 @@ export declare namespace servicenetworking_v1 {
1530
1552
  */
1531
1553
  endpoints?: Schema$Endpoint[];
1532
1554
  /**
1533
- * A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name. Example: enums: - name: google.someapi.v1.SomeEnum
1555
+ * A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum
1534
1556
  */
1535
1557
  enums?: Schema$Enum[];
1536
1558
  /**
@@ -1586,11 +1608,11 @@ export declare namespace servicenetworking_v1 {
1586
1608
  */
1587
1609
  systemTypes?: Schema$Type[];
1588
1610
  /**
1589
- * The product title for this service.
1611
+ * The product title for this service, it is the name displayed in Google Cloud Console.
1590
1612
  */
1591
1613
  title?: string | null;
1592
1614
  /**
1593
- * A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name. Example: types: - name: google.protobuf.Int32
1615
+ * A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32
1594
1616
  */
1595
1617
  types?: Schema$Type[];
1596
1618
  /**
@@ -1804,6 +1826,10 @@ export declare namespace servicenetworking_v1 {
1804
1826
  skipServiceControl?: boolean | null;
1805
1827
  }
1806
1828
  export interface Schema$ValidateConsumerConfigRequest {
1829
+ /**
1830
+ * Optional. The IAM permission check determines whether the consumer project has 'servicenetworking.services.use' permission or not.
1831
+ */
1832
+ checkServiceNetworkingUsePermission?: boolean | null;
1807
1833
  /**
1808
1834
  * Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project\}/global/networks/{network\} {project\} is a project number, as in '12345' {network\} is network name.
1809
1835
  */
@@ -2177,6 +2203,9 @@ export declare namespace servicenetworking_v1 {
2177
2203
  * // "consumerNetwork": "my_consumerNetwork",
2178
2204
  * // "description": "my_description",
2179
2205
  * // "ipPrefixLength": 0,
2206
+ * // "outsideAllocationPublicIpRange": "my_outsideAllocationPublicIpRange",
2207
+ * // "privateIpv6GoogleAccess": "my_privateIpv6GoogleAccess",
2208
+ * // "purpose": "my_purpose",
2180
2209
  * // "region": "my_region",
2181
2210
  * // "requestedAddress": "my_requestedAddress",
2182
2211
  * // "requestedRanges": [],
@@ -2467,6 +2496,7 @@ export declare namespace servicenetworking_v1 {
2467
2496
  * requestBody: {
2468
2497
  * // request body parameters
2469
2498
  * // {
2499
+ * // "checkServiceNetworkingUsePermission": false,
2470
2500
  * // "consumerNetwork": "my_consumerNetwork",
2471
2501
  * // "consumerProject": {},
2472
2502
  * // "rangeReservation": {},
@@ -2630,6 +2660,77 @@ export declare namespace servicenetworking_v1 {
2630
2660
  create(params: Params$Resource$Services$Connections$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2631
2661
  create(params: Params$Resource$Services$Connections$Create, callback: BodyResponseCallback<Schema$Operation>): void;
2632
2662
  create(callback: BodyResponseCallback<Schema$Operation>): void;
2663
+ /**
2664
+ * Deletes a private service access connection.
2665
+ * @example
2666
+ * ```js
2667
+ * // Before running the sample:
2668
+ * // - Enable the API at:
2669
+ * // https://console.developers.google.com/apis/api/servicenetworking.googleapis.com
2670
+ * // - Login into gcloud by running:
2671
+ * // `$ gcloud auth application-default login`
2672
+ * // - Install the npm module by running:
2673
+ * // `$ npm install googleapis`
2674
+ *
2675
+ * const {google} = require('googleapis');
2676
+ * const servicenetworking = google.servicenetworking('v1');
2677
+ *
2678
+ * async function main() {
2679
+ * const auth = new google.auth.GoogleAuth({
2680
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2681
+ * scopes: [
2682
+ * 'https://www.googleapis.com/auth/cloud-platform',
2683
+ * 'https://www.googleapis.com/auth/service.management',
2684
+ * ],
2685
+ * });
2686
+ *
2687
+ * // Acquire an auth client, and bind it to all future calls
2688
+ * const authClient = await auth.getClient();
2689
+ * google.options({auth: authClient});
2690
+ *
2691
+ * // Do the magic
2692
+ * const res = await servicenetworking.services.connections.deleteConnection({
2693
+ * // Required. The private service connection that connects to a service producer organization. The name includes both the private service name and the VPC network peering name in the format of `services/{peering_service_name\}/connections/{vpc_peering_name\}`. For Google services that support this functionality, this is `services/servicenetworking.googleapis.com/connections/servicenetworking-googleapis-com`.
2694
+ * name: 'services/my-service/connections/my-connection',
2695
+ *
2696
+ * // Request body metadata
2697
+ * requestBody: {
2698
+ * // request body parameters
2699
+ * // {
2700
+ * // "consumerNetwork": "my_consumerNetwork"
2701
+ * // }
2702
+ * },
2703
+ * });
2704
+ * console.log(res.data);
2705
+ *
2706
+ * // Example response
2707
+ * // {
2708
+ * // "done": false,
2709
+ * // "error": {},
2710
+ * // "metadata": {},
2711
+ * // "name": "my_name",
2712
+ * // "response": {}
2713
+ * // }
2714
+ * }
2715
+ *
2716
+ * main().catch(e => {
2717
+ * console.error(e);
2718
+ * throw e;
2719
+ * });
2720
+ *
2721
+ * ```
2722
+ *
2723
+ * @param params - Parameters for request
2724
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2725
+ * @param callback - Optional callback that handles the response.
2726
+ * @returns A promise if used with async/await, or void if used with a callback.
2727
+ */
2728
+ deleteConnection(params: Params$Resource$Services$Connections$Deleteconnection, options: StreamMethodOptions): GaxiosPromise<Readable>;
2729
+ deleteConnection(params?: Params$Resource$Services$Connections$Deleteconnection, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2730
+ deleteConnection(params: Params$Resource$Services$Connections$Deleteconnection, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2731
+ deleteConnection(params: Params$Resource$Services$Connections$Deleteconnection, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2732
+ deleteConnection(params: Params$Resource$Services$Connections$Deleteconnection, callback: BodyResponseCallback<Schema$Operation>): void;
2733
+ deleteConnection(callback: BodyResponseCallback<Schema$Operation>): void;
2633
2734
  /**
2634
2735
  * List the private connections that are configured in a service consumer's VPC network.
2635
2736
  * @example
@@ -2780,6 +2881,16 @@ export declare namespace servicenetworking_v1 {
2780
2881
  */
2781
2882
  requestBody?: Schema$Connection;
2782
2883
  }
2884
+ export interface Params$Resource$Services$Connections$Deleteconnection extends StandardParameters {
2885
+ /**
2886
+ * Required. The private service connection that connects to a service producer organization. The name includes both the private service name and the VPC network peering name in the format of `services/{peering_service_name\}/connections/{vpc_peering_name\}`. For Google services that support this functionality, this is `services/servicenetworking.googleapis.com/connections/servicenetworking-googleapis-com`.
2887
+ */
2888
+ name?: string;
2889
+ /**
2890
+ * Request body metadata
2891
+ */
2892
+ requestBody?: Schema$DeleteConnectionRequest;
2893
+ }
2783
2894
  export interface Params$Resource$Services$Connections$List extends StandardParameters {
2784
2895
  /**
2785
2896
  * The name of service consumer's VPC network that's connected with service producer network through a private connection. The network name must be in the following format: `projects/{project\}/global/networks/{network\}`. {project\} is a project number, such as in `12345` that includes the VPC service consumer's VPC network. {network\} is the name of the service consumer's VPC network.
@@ -3343,21 +3454,22 @@ export declare namespace servicenetworking_v1 {
3343
3454
  * google.options({auth: authClient});
3344
3455
  *
3345
3456
  * // Do the magic
3346
- * const res = await servicenetworking.services.projects.global.networks.updateConsumerConfig(
3347
- * {
3348
- * // Required. Parent resource identifying the connection for which the consumer config is being updated in the format: `services/{service\}/projects/{project\}/global/networks/{network\}` {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is the number of the project that contains the service consumer's VPC network e.g. `12345`. {network\} is the name of the service consumer's VPC network.
3349
- * parent:
3350
- * 'services/my-service/projects/my-project/global/networks/my-network',
3351
- *
3352
- * // Request body metadata
3353
- * requestBody: {
3354
- * // request body parameters
3355
- * // {
3356
- * // "consumerConfig": {}
3357
- * // }
3358
- * },
3359
- * }
3360
- * );
3457
+ * const res =
3458
+ * await servicenetworking.services.projects.global.networks.updateConsumerConfig(
3459
+ * {
3460
+ * // Required. Parent resource identifying the connection for which the consumer config is being updated in the format: `services/{service\}/projects/{project\}/global/networks/{network\}` {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is the number of the project that contains the service consumer's VPC network e.g. `12345`. {network\} is the name of the service consumer's VPC network.
3461
+ * parent:
3462
+ * 'services/my-service/projects/my-project/global/networks/my-network',
3463
+ *
3464
+ * // Request body metadata
3465
+ * requestBody: {
3466
+ * // request body parameters
3467
+ * // {
3468
+ * // "consumerConfig": {}
3469
+ * // }
3470
+ * },
3471
+ * }
3472
+ * );
3361
3473
  * console.log(res.data);
3362
3474
  *
3363
3475
  * // Example response
@@ -3437,22 +3549,23 @@ export declare namespace servicenetworking_v1 {
3437
3549
  * google.options({auth: authClient});
3438
3550
  *
3439
3551
  * // Do the magic
3440
- * const res = await servicenetworking.services.projects.global.networks.peeredDnsDomains.create(
3441
- * {
3442
- * // Required. Parent resource identifying the connection for which the peered DNS domain will be created in the format: `services/{service\}/projects/{project\}/global/networks/{network\}` {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is the number of the project that contains the service consumer's VPC network e.g. `12345`. {network\} is the name of the service consumer's VPC network.
3443
- * parent:
3444
- * 'services/my-service/projects/my-project/global/networks/my-network',
3445
- *
3446
- * // Request body metadata
3447
- * requestBody: {
3448
- * // request body parameters
3449
- * // {
3450
- * // "dnsSuffix": "my_dnsSuffix",
3451
- * // "name": "my_name"
3452
- * // }
3453
- * },
3454
- * }
3455
- * );
3552
+ * const res =
3553
+ * await servicenetworking.services.projects.global.networks.peeredDnsDomains.create(
3554
+ * {
3555
+ * // Required. Parent resource identifying the connection for which the peered DNS domain will be created in the format: `services/{service\}/projects/{project\}/global/networks/{network\}` {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is the number of the project that contains the service consumer's VPC network e.g. `12345`. {network\} is the name of the service consumer's VPC network.
3556
+ * parent:
3557
+ * 'services/my-service/projects/my-project/global/networks/my-network',
3558
+ *
3559
+ * // Request body metadata
3560
+ * requestBody: {
3561
+ * // request body parameters
3562
+ * // {
3563
+ * // "dnsSuffix": "my_dnsSuffix",
3564
+ * // "name": "my_name"
3565
+ * // }
3566
+ * },
3567
+ * }
3568
+ * );
3456
3569
  * console.log(res.data);
3457
3570
  *
3458
3571
  * // Example response
@@ -3512,13 +3625,13 @@ export declare namespace servicenetworking_v1 {
3512
3625
  * google.options({auth: authClient});
3513
3626
  *
3514
3627
  * // Do the magic
3515
- * const res = await servicenetworking.services.projects.global.networks.peeredDnsDomains.delete(
3516
- * {
3517
- * // Required. The name of the peered DNS domain to delete in the format: `services/{service\}/projects/{project\}/global/networks/{network\}/peeredDnsDomains/{name\}`. {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is the number of the project that contains the service consumer's VPC network e.g. `12345`. {network\} is the name of the service consumer's VPC network. {name\} is the name of the peered DNS domain.
3518
- * name:
3519
- * 'services/my-service/projects/my-project/global/networks/my-network/peeredDnsDomains/my-peeredDnsDomain',
3520
- * }
3521
- * );
3628
+ * const res =
3629
+ * await servicenetworking.services.projects.global.networks.peeredDnsDomains.delete(
3630
+ * {
3631
+ * // Required. The name of the peered DNS domain to delete in the format: `services/{service\}/projects/{project\}/global/networks/{network\}/peeredDnsDomains/{name\}`. {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is the number of the project that contains the service consumer's VPC network e.g. `12345`. {network\} is the name of the service consumer's VPC network. {name\} is the name of the peered DNS domain.
3632
+ * name: 'services/my-service/projects/my-project/global/networks/my-network/peeredDnsDomains/my-peeredDnsDomain',
3633
+ * }
3634
+ * );
3522
3635
  * console.log(res.data);
3523
3636
  *
3524
3637
  * // Example response
@@ -3578,13 +3691,14 @@ export declare namespace servicenetworking_v1 {
3578
3691
  * google.options({auth: authClient});
3579
3692
  *
3580
3693
  * // Do the magic
3581
- * const res = await servicenetworking.services.projects.global.networks.peeredDnsDomains.list(
3582
- * {
3583
- * // Required. Parent resource identifying the connection which owns this collection of peered DNS domains in the format: `services/{service\}/projects/{project\}/global/networks/{network\}`. {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is a project number e.g. `12345` that contains the service consumer's VPC network. {network\} is the name of the service consumer's VPC network.
3584
- * parent:
3585
- * 'services/my-service/projects/my-project/global/networks/my-network',
3586
- * }
3587
- * );
3694
+ * const res =
3695
+ * await servicenetworking.services.projects.global.networks.peeredDnsDomains.list(
3696
+ * {
3697
+ * // Required. Parent resource identifying the connection which owns this collection of peered DNS domains in the format: `services/{service\}/projects/{project\}/global/networks/{network\}`. {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is a project number e.g. `12345` that contains the service consumer's VPC network. {network\} is the name of the service consumer's VPC network.
3698
+ * parent:
3699
+ * 'services/my-service/projects/my-project/global/networks/my-network',
3700
+ * }
3701
+ * );
3588
3702
  * console.log(res.data);
3589
3703
  *
3590
3704
  * // Example response