@googleapis/servicenetworking 0.3.0 → 4.4.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 +121 -0
- package/README.md +2 -2
- package/build/v1.d.ts +96 -67
- package/build/v1.js +10 -5
- package/build/v1.js.map +1 -1
- package/build/v1beta.d.ts +19 -22
- package/build/v1beta.js.map +1 -1
- package/package.json +2 -2
- package/v1.ts +107 -74
- package/v1beta.ts +18 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,126 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.4.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v4.3.0...servicenetworking-v4.4.0) (2022-02-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **servicenetworking:** update the API ([68116d5](https://github.com/googleapis/google-api-nodejs-client/commit/68116d5fe4df963cc688b909681779715e88650a))
|
|
9
|
+
|
|
10
|
+
## [4.3.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v4.2.1...servicenetworking-v4.3.0) (2022-01-17)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **servicenetworking:** update the API ([3c459ab](https://github.com/googleapis/google-api-nodejs-client/commit/3c459ab4ec2366551af9dd772ad91ac39a4ead3d))
|
|
16
|
+
|
|
17
|
+
### [4.2.1](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v4.2.0...servicenetworking-v4.2.1) (2021-12-30)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **servicenetworking:** update the API ([8b05929](https://www.github.com/googleapis/google-api-nodejs-client/commit/8b05929341d526532504f2202c6c249dea102d14))
|
|
23
|
+
|
|
24
|
+
## [4.2.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v4.1.0...servicenetworking-v4.2.0) (2021-10-18)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
* **servicenetworking:** update the API ([276ebcf](https://www.github.com/googleapis/google-api-nodejs-client/commit/276ebcf022fababe8502ac91900b8b45e565f812))
|
|
30
|
+
|
|
31
|
+
## [4.1.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v4.0.0...servicenetworking-v4.1.0) (2021-09-28)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
* **servicenetworking:** update the API ([cc21e38](https://www.github.com/googleapis/google-api-nodejs-client/commit/cc21e38b2ced0ed5453a0a2c0b494d2c9335ed76))
|
|
37
|
+
|
|
38
|
+
## [4.0.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v3.1.0...servicenetworking-v4.0.0) (2021-09-14)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### ⚠ BREAKING CHANGES
|
|
42
|
+
|
|
43
|
+
* **servicenetworking:** This release has breaking changes.
|
|
44
|
+
* **servicenetworking:** This release has breaking changes.
|
|
45
|
+
* **servicenetworking:** This release has breaking changes.
|
|
46
|
+
|
|
47
|
+
### Features
|
|
48
|
+
|
|
49
|
+
* **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))
|
|
50
|
+
* **servicenetworking:** update the API ([755cf59](https://www.github.com/googleapis/google-api-nodejs-client/commit/755cf5918d71aa9a56d07c49d3169e63cb4ef4fc))
|
|
51
|
+
* **servicenetworking:** update the API ([6ad61f1](https://www.github.com/googleapis/google-api-nodejs-client/commit/6ad61f1b4d236a2c8c30f0fb240f03667c0363ca))
|
|
52
|
+
* **servicenetworking:** update the API ([ce8fd37](https://www.github.com/googleapis/google-api-nodejs-client/commit/ce8fd3777ea090f453f88bbde160d615318a6e87))
|
|
53
|
+
* **servicenetworking:** update the API ([d678d59](https://www.github.com/googleapis/google-api-nodejs-client/commit/d678d599d2d17612438dcb91056de307b3b70f2f))
|
|
54
|
+
* **servicenetworking:** update the API ([14a1d35](https://www.github.com/googleapis/google-api-nodejs-client/commit/14a1d35dfa100efa59c94d74aa0248f85e70262f))
|
|
55
|
+
* **servicenetworking:** update the API ([7c39c04](https://www.github.com/googleapis/google-api-nodejs-client/commit/7c39c04314275c54ea5dad7fcf39e99d4d0658b4))
|
|
56
|
+
* **servicenetworking:** update the API ([63edb25](https://www.github.com/googleapis/google-api-nodejs-client/commit/63edb25b412460e696f4f95ef41c47c725a216d9))
|
|
57
|
+
* **servicenetworking:** update the API ([1e7807e](https://www.github.com/googleapis/google-api-nodejs-client/commit/1e7807ef3a7e536748d6005ede26d94278ab34c7))
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### Bug Fixes
|
|
61
|
+
|
|
62
|
+
* **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))
|
|
63
|
+
* **servicenetworking:** update the API ([c17e356](https://www.github.com/googleapis/google-api-nodejs-client/commit/c17e3569c6b30e8c3f053d5b3d66e2dd600fc120))
|
|
64
|
+
* **servicenetworking:** update the API ([e84feac](https://www.github.com/googleapis/google-api-nodejs-client/commit/e84feacb2e22662cad496fae7f91154430424051))
|
|
65
|
+
* **servicenetworking:** update the API ([fdbffee](https://www.github.com/googleapis/google-api-nodejs-client/commit/fdbffee5ee0af797eaae1bf0de53fcf2561e7f53))
|
|
66
|
+
* 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))
|
|
67
|
+
|
|
68
|
+
## [3.1.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v3.0.2...servicenetworking-v3.1.0) (2021-08-31)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
### Features
|
|
72
|
+
|
|
73
|
+
* **servicenetworking:** update the API ([755cf59](https://www.github.com/googleapis/google-api-nodejs-client/commit/755cf5918d71aa9a56d07c49d3169e63cb4ef4fc))
|
|
74
|
+
|
|
75
|
+
### [3.0.2](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v3.0.1...servicenetworking-v3.0.2) (2021-08-06)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### Bug Fixes
|
|
79
|
+
|
|
80
|
+
* **servicenetworking:** update the API ([e84feac](https://www.github.com/googleapis/google-api-nodejs-client/commit/e84feacb2e22662cad496fae7f91154430424051))
|
|
81
|
+
|
|
82
|
+
### [3.0.1](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v3.0.0...servicenetworking-v3.0.1) (2021-07-08)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
### Bug Fixes
|
|
86
|
+
|
|
87
|
+
* **servicenetworking:** update the API ([fdbffee](https://www.github.com/googleapis/google-api-nodejs-client/commit/fdbffee5ee0af797eaae1bf0de53fcf2561e7f53))
|
|
88
|
+
|
|
89
|
+
## [3.0.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v2.0.0...servicenetworking-v3.0.0) (2021-06-02)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### ⚠ BREAKING CHANGES
|
|
93
|
+
|
|
94
|
+
* **servicenetworking:** This release has breaking changes.
|
|
95
|
+
|
|
96
|
+
### Features
|
|
97
|
+
|
|
98
|
+
* **servicenetworking:** update the API ([6ad61f1](https://www.github.com/googleapis/google-api-nodejs-client/commit/6ad61f1b4d236a2c8c30f0fb240f03667c0363ca))
|
|
99
|
+
|
|
100
|
+
## [2.0.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v1.0.0...servicenetworking-v2.0.0) (2021-05-23)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
### ⚠ BREAKING CHANGES
|
|
104
|
+
|
|
105
|
+
* **servicenetworking:** This release has breaking changes.
|
|
106
|
+
|
|
107
|
+
### Features
|
|
108
|
+
|
|
109
|
+
* **servicenetworking:** update the API ([ce8fd37](https://www.github.com/googleapis/google-api-nodejs-client/commit/ce8fd3777ea090f453f88bbde160d615318a6e87))
|
|
110
|
+
* **servicenetworking:** update the API ([d678d59](https://www.github.com/googleapis/google-api-nodejs-client/commit/d678d599d2d17612438dcb91056de307b3b70f2f))
|
|
111
|
+
* **servicenetworking:** update the API ([14a1d35](https://www.github.com/googleapis/google-api-nodejs-client/commit/14a1d35dfa100efa59c94d74aa0248f85e70262f))
|
|
112
|
+
|
|
113
|
+
## [1.0.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v0.3.0...servicenetworking-v1.0.0) (2021-04-21)
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
### ⚠ BREAKING CHANGES
|
|
117
|
+
|
|
118
|
+
* **servicenetworking:** This release has breaking changes.
|
|
119
|
+
|
|
120
|
+
### Features
|
|
121
|
+
|
|
122
|
+
* **servicenetworking:** update the API ([7c39c04](https://www.github.com/googleapis/google-api-nodejs-client/commit/7c39c04314275c54ea5dad7fcf39e99d4d0658b4))
|
|
123
|
+
|
|
3
124
|
## [0.3.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v0.2.0...servicenetworking-v0.3.0) (2021-04-07)
|
|
4
125
|
|
|
5
126
|
|
package/README.md
CHANGED
|
@@ -15,10 +15,10 @@ All documentation and usage information can be found on [GitHub](https://github.
|
|
|
15
15
|
Information on classes can be found in [Googleapis Documentation](https://googleapis.dev/nodejs/googleapis/latest/servicenetworking/classes/Servicenetworking.html).
|
|
16
16
|
|
|
17
17
|
## 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/
|
|
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).
|
|
19
19
|
|
|
20
20
|
## Contributing
|
|
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/
|
|
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).
|
|
22
22
|
|
|
23
23
|
## Questions/problems?
|
|
24
24
|
* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client).
|
package/build/v1.d.ts
CHANGED
|
@@ -160,6 +160,10 @@ export declare namespace servicenetworking_v1 {
|
|
|
160
160
|
* Request to create a subnetwork in a previously peered service network.
|
|
161
161
|
*/
|
|
162
162
|
export interface Schema$AddSubnetworkRequest {
|
|
163
|
+
/**
|
|
164
|
+
* Optional. The IAM permission check determines whether the consumer project has 'servicenetworking.services.use' permission or not.
|
|
165
|
+
*/
|
|
166
|
+
checkServiceNetworkingUsePermission?: boolean | null;
|
|
163
167
|
/**
|
|
164
168
|
* Required. A resource that represents the service consumer, such as `projects/123456`. The project number can be different from the value in the consumer network parameter. For example, the network might be part of a Shared VPC network. In those cases, Service Networking validates that this resource belongs to that Shared VPC.
|
|
165
169
|
*/
|
|
@@ -176,6 +180,18 @@ export declare namespace servicenetworking_v1 {
|
|
|
176
180
|
* 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
181
|
*/
|
|
178
182
|
ipPrefixLength?: number | null;
|
|
183
|
+
/**
|
|
184
|
+
* 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.
|
|
185
|
+
*/
|
|
186
|
+
outsideAllocationPublicIpRange?: string | null;
|
|
187
|
+
/**
|
|
188
|
+
* 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.
|
|
189
|
+
*/
|
|
190
|
+
privateIpv6GoogleAccess?: string | null;
|
|
191
|
+
/**
|
|
192
|
+
* 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.
|
|
193
|
+
*/
|
|
194
|
+
purpose?: string | null;
|
|
179
195
|
/**
|
|
180
196
|
* Required. The name of a [region](/compute/docs/regions-zones) for the subnet, such `europe-west1`.
|
|
181
197
|
*/
|
|
@@ -235,7 +251,7 @@ export declare namespace servicenetworking_v1 {
|
|
|
235
251
|
version?: string | null;
|
|
236
252
|
}
|
|
237
253
|
/**
|
|
238
|
-
* `Authentication` defines the authentication configuration for
|
|
254
|
+
* `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
255
|
*/
|
|
240
256
|
export interface Schema$Authentication {
|
|
241
257
|
/**
|
|
@@ -339,10 +355,6 @@ export declare namespace servicenetworking_v1 {
|
|
|
339
355
|
* 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
356
|
*/
|
|
341
357
|
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
358
|
/**
|
|
347
359
|
* The number of seconds to wait for the completion of a long running operation. The default is no deadline.
|
|
348
360
|
*/
|
|
@@ -503,11 +515,11 @@ export declare namespace servicenetworking_v1 {
|
|
|
503
515
|
selector?: string | null;
|
|
504
516
|
}
|
|
505
517
|
/**
|
|
506
|
-
* Selects and configures the service controller used by the service. The service controller handles
|
|
518
|
+
* 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
519
|
*/
|
|
508
520
|
export interface Schema$Control {
|
|
509
521
|
/**
|
|
510
|
-
* The service
|
|
522
|
+
* 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
523
|
*/
|
|
512
524
|
environment?: string | null;
|
|
513
525
|
}
|
|
@@ -637,7 +649,7 @@ export declare namespace servicenetworking_v1 {
|
|
|
637
649
|
*/
|
|
638
650
|
serviceRootUrl?: string | null;
|
|
639
651
|
/**
|
|
640
|
-
* A short
|
|
652
|
+
* 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`.
|
|
641
653
|
*/
|
|
642
654
|
summary?: string | null;
|
|
643
655
|
}
|
|
@@ -650,11 +662,11 @@ export declare namespace servicenetworking_v1 {
|
|
|
650
662
|
*/
|
|
651
663
|
deprecationDescription?: string | null;
|
|
652
664
|
/**
|
|
653
|
-
* Description of the selected
|
|
665
|
+
* 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.
|
|
654
666
|
*/
|
|
655
667
|
description?: string | null;
|
|
656
668
|
/**
|
|
657
|
-
* 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.
|
|
669
|
+
* 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.
|
|
658
670
|
*/
|
|
659
671
|
selector?: string | null;
|
|
660
672
|
}
|
|
@@ -673,13 +685,9 @@ export declare namespace servicenetworking_v1 {
|
|
|
673
685
|
consumerNetwork?: string | null;
|
|
674
686
|
}
|
|
675
687
|
/**
|
|
676
|
-
* `Endpoint` describes a network
|
|
688
|
+
* `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
|
|
677
689
|
*/
|
|
678
690
|
export interface Schema$Endpoint {
|
|
679
|
-
/**
|
|
680
|
-
* 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.
|
|
681
|
-
*/
|
|
682
|
-
aliases?: string[] | null;
|
|
683
691
|
/**
|
|
684
692
|
* 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.
|
|
685
693
|
*/
|
|
@@ -1161,7 +1169,7 @@ export declare namespace servicenetworking_v1 {
|
|
|
1161
1169
|
*/
|
|
1162
1170
|
name?: string | null;
|
|
1163
1171
|
/**
|
|
1164
|
-
* Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL.
|
|
1172
|
+
* 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).
|
|
1165
1173
|
*/
|
|
1166
1174
|
type?: string | null;
|
|
1167
1175
|
}
|
|
@@ -1249,7 +1257,7 @@ export declare namespace servicenetworking_v1 {
|
|
|
1249
1257
|
*/
|
|
1250
1258
|
export interface Schema$Page {
|
|
1251
1259
|
/**
|
|
1252
|
-
* The Markdown content of the page. You can use (== include {path\} ==) to include content from a Markdown file.
|
|
1260
|
+
* 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.
|
|
1253
1261
|
*/
|
|
1254
1262
|
content?: string | null;
|
|
1255
1263
|
/**
|
|
@@ -1261,12 +1269,17 @@ export declare namespace servicenetworking_v1 {
|
|
|
1261
1269
|
*/
|
|
1262
1270
|
subpages?: Schema$Page[];
|
|
1263
1271
|
}
|
|
1272
|
+
/**
|
|
1273
|
+
* Metadata provided through GetOperation request for the LRO generated by Partial Delete Connection API
|
|
1274
|
+
*/
|
|
1275
|
+
export interface Schema$PartialDeleteConnectionMetadata {
|
|
1276
|
+
}
|
|
1264
1277
|
/**
|
|
1265
1278
|
* DNS domain suffix for which requests originating in the producer VPC network are resolved in the associated consumer VPC network.
|
|
1266
1279
|
*/
|
|
1267
1280
|
export interface Schema$PeeredDnsDomain {
|
|
1268
1281
|
/**
|
|
1269
|
-
* The DNS domain name suffix e.g. `example.com.`.
|
|
1282
|
+
* The DNS domain name suffix e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot.
|
|
1270
1283
|
*/
|
|
1271
1284
|
dnsSuffix?: string | null;
|
|
1272
1285
|
/**
|
|
@@ -1485,6 +1498,10 @@ export declare namespace servicenetworking_v1 {
|
|
|
1485
1498
|
* 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.
|
|
1486
1499
|
*/
|
|
1487
1500
|
ipPrefixLength?: number | null;
|
|
1501
|
+
/**
|
|
1502
|
+
* 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.
|
|
1503
|
+
*/
|
|
1504
|
+
outsideAllocationPublicIpRange?: string | null;
|
|
1488
1505
|
/**
|
|
1489
1506
|
* 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.
|
|
1490
1507
|
*/
|
|
@@ -1495,7 +1512,7 @@ export declare namespace servicenetworking_v1 {
|
|
|
1495
1512
|
requestedAddress?: string | null;
|
|
1496
1513
|
}
|
|
1497
1514
|
/**
|
|
1498
|
-
* `Service` is the root object of Google service configuration
|
|
1515
|
+
* `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
|
|
1499
1516
|
*/
|
|
1500
1517
|
export interface Schema$Service {
|
|
1501
1518
|
/**
|
|
@@ -1539,7 +1556,7 @@ export declare namespace servicenetworking_v1 {
|
|
|
1539
1556
|
*/
|
|
1540
1557
|
endpoints?: Schema$Endpoint[];
|
|
1541
1558
|
/**
|
|
1542
|
-
* 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
|
|
1559
|
+
* 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
|
|
1543
1560
|
*/
|
|
1544
1561
|
enums?: Schema$Enum[];
|
|
1545
1562
|
/**
|
|
@@ -1595,11 +1612,11 @@ export declare namespace servicenetworking_v1 {
|
|
|
1595
1612
|
*/
|
|
1596
1613
|
systemTypes?: Schema$Type[];
|
|
1597
1614
|
/**
|
|
1598
|
-
* The product title for this service.
|
|
1615
|
+
* The product title for this service, it is the name displayed in Google Cloud Console.
|
|
1599
1616
|
*/
|
|
1600
1617
|
title?: string | null;
|
|
1601
1618
|
/**
|
|
1602
|
-
* 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
|
|
1619
|
+
* 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
|
|
1603
1620
|
*/
|
|
1604
1621
|
types?: Schema$Type[];
|
|
1605
1622
|
/**
|
|
@@ -1813,6 +1830,10 @@ export declare namespace servicenetworking_v1 {
|
|
|
1813
1830
|
skipServiceControl?: boolean | null;
|
|
1814
1831
|
}
|
|
1815
1832
|
export interface Schema$ValidateConsumerConfigRequest {
|
|
1833
|
+
/**
|
|
1834
|
+
* Optional. The IAM permission check determines whether the consumer project has 'servicenetworking.services.use' permission or not.
|
|
1835
|
+
*/
|
|
1836
|
+
checkServiceNetworkingUsePermission?: boolean | null;
|
|
1816
1837
|
/**
|
|
1817
1838
|
* 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.
|
|
1818
1839
|
*/
|
|
@@ -2182,10 +2203,14 @@ export declare namespace servicenetworking_v1 {
|
|
|
2182
2203
|
* requestBody: {
|
|
2183
2204
|
* // request body parameters
|
|
2184
2205
|
* // {
|
|
2206
|
+
* // "checkServiceNetworkingUsePermission": false,
|
|
2185
2207
|
* // "consumer": "my_consumer",
|
|
2186
2208
|
* // "consumerNetwork": "my_consumerNetwork",
|
|
2187
2209
|
* // "description": "my_description",
|
|
2188
2210
|
* // "ipPrefixLength": 0,
|
|
2211
|
+
* // "outsideAllocationPublicIpRange": "my_outsideAllocationPublicIpRange",
|
|
2212
|
+
* // "privateIpv6GoogleAccess": "my_privateIpv6GoogleAccess",
|
|
2213
|
+
* // "purpose": "my_purpose",
|
|
2189
2214
|
* // "region": "my_region",
|
|
2190
2215
|
* // "requestedAddress": "my_requestedAddress",
|
|
2191
2216
|
* // "requestedRanges": [],
|
|
@@ -2476,6 +2501,7 @@ export declare namespace servicenetworking_v1 {
|
|
|
2476
2501
|
* requestBody: {
|
|
2477
2502
|
* // request body parameters
|
|
2478
2503
|
* // {
|
|
2504
|
+
* // "checkServiceNetworkingUsePermission": false,
|
|
2479
2505
|
* // "consumerNetwork": "my_consumerNetwork",
|
|
2480
2506
|
* // "consumerProject": {},
|
|
2481
2507
|
* // "rangeReservation": {},
|
|
@@ -3433,21 +3459,22 @@ export declare namespace servicenetworking_v1 {
|
|
|
3433
3459
|
* google.options({auth: authClient});
|
|
3434
3460
|
*
|
|
3435
3461
|
* // Do the magic
|
|
3436
|
-
* const res =
|
|
3437
|
-
*
|
|
3438
|
-
*
|
|
3439
|
-
*
|
|
3440
|
-
*
|
|
3441
|
-
*
|
|
3442
|
-
*
|
|
3443
|
-
*
|
|
3444
|
-
*
|
|
3445
|
-
*
|
|
3446
|
-
*
|
|
3447
|
-
*
|
|
3448
|
-
*
|
|
3449
|
-
*
|
|
3450
|
-
*
|
|
3462
|
+
* const res =
|
|
3463
|
+
* await servicenetworking.services.projects.global.networks.updateConsumerConfig(
|
|
3464
|
+
* {
|
|
3465
|
+
* // 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.
|
|
3466
|
+
* parent:
|
|
3467
|
+
* 'services/my-service/projects/my-project/global/networks/my-network',
|
|
3468
|
+
*
|
|
3469
|
+
* // Request body metadata
|
|
3470
|
+
* requestBody: {
|
|
3471
|
+
* // request body parameters
|
|
3472
|
+
* // {
|
|
3473
|
+
* // "consumerConfig": {}
|
|
3474
|
+
* // }
|
|
3475
|
+
* },
|
|
3476
|
+
* }
|
|
3477
|
+
* );
|
|
3451
3478
|
* console.log(res.data);
|
|
3452
3479
|
*
|
|
3453
3480
|
* // Example response
|
|
@@ -3527,22 +3554,23 @@ export declare namespace servicenetworking_v1 {
|
|
|
3527
3554
|
* google.options({auth: authClient});
|
|
3528
3555
|
*
|
|
3529
3556
|
* // Do the magic
|
|
3530
|
-
* const res =
|
|
3531
|
-
*
|
|
3532
|
-
*
|
|
3533
|
-
*
|
|
3534
|
-
*
|
|
3535
|
-
*
|
|
3536
|
-
*
|
|
3537
|
-
*
|
|
3538
|
-
*
|
|
3539
|
-
*
|
|
3540
|
-
*
|
|
3541
|
-
*
|
|
3542
|
-
*
|
|
3543
|
-
*
|
|
3544
|
-
*
|
|
3545
|
-
*
|
|
3557
|
+
* const res =
|
|
3558
|
+
* await servicenetworking.services.projects.global.networks.peeredDnsDomains.create(
|
|
3559
|
+
* {
|
|
3560
|
+
* // 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.
|
|
3561
|
+
* parent:
|
|
3562
|
+
* 'services/my-service/projects/my-project/global/networks/my-network',
|
|
3563
|
+
*
|
|
3564
|
+
* // Request body metadata
|
|
3565
|
+
* requestBody: {
|
|
3566
|
+
* // request body parameters
|
|
3567
|
+
* // {
|
|
3568
|
+
* // "dnsSuffix": "my_dnsSuffix",
|
|
3569
|
+
* // "name": "my_name"
|
|
3570
|
+
* // }
|
|
3571
|
+
* },
|
|
3572
|
+
* }
|
|
3573
|
+
* );
|
|
3546
3574
|
* console.log(res.data);
|
|
3547
3575
|
*
|
|
3548
3576
|
* // Example response
|
|
@@ -3602,13 +3630,13 @@ export declare namespace servicenetworking_v1 {
|
|
|
3602
3630
|
* google.options({auth: authClient});
|
|
3603
3631
|
*
|
|
3604
3632
|
* // Do the magic
|
|
3605
|
-
* const res =
|
|
3606
|
-
*
|
|
3607
|
-
*
|
|
3608
|
-
*
|
|
3609
|
-
* 'services/my-service/projects/my-project/global/networks/my-network/peeredDnsDomains/my-peeredDnsDomain',
|
|
3610
|
-
*
|
|
3611
|
-
*
|
|
3633
|
+
* const res =
|
|
3634
|
+
* await servicenetworking.services.projects.global.networks.peeredDnsDomains.delete(
|
|
3635
|
+
* {
|
|
3636
|
+
* // 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.
|
|
3637
|
+
* name: 'services/my-service/projects/my-project/global/networks/my-network/peeredDnsDomains/my-peeredDnsDomain',
|
|
3638
|
+
* }
|
|
3639
|
+
* );
|
|
3612
3640
|
* console.log(res.data);
|
|
3613
3641
|
*
|
|
3614
3642
|
* // Example response
|
|
@@ -3668,13 +3696,14 @@ export declare namespace servicenetworking_v1 {
|
|
|
3668
3696
|
* google.options({auth: authClient});
|
|
3669
3697
|
*
|
|
3670
3698
|
* // Do the magic
|
|
3671
|
-
* const res =
|
|
3672
|
-
*
|
|
3673
|
-
*
|
|
3674
|
-
*
|
|
3675
|
-
*
|
|
3676
|
-
*
|
|
3677
|
-
*
|
|
3699
|
+
* const res =
|
|
3700
|
+
* await servicenetworking.services.projects.global.networks.peeredDnsDomains.list(
|
|
3701
|
+
* {
|
|
3702
|
+
* // 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.
|
|
3703
|
+
* parent:
|
|
3704
|
+
* 'services/my-service/projects/my-project/global/networks/my-network',
|
|
3705
|
+
* }
|
|
3706
|
+
* );
|
|
3678
3707
|
* console.log(res.data);
|
|
3679
3708
|
*
|
|
3680
3709
|
* // Example response
|
package/build/v1.js
CHANGED
|
@@ -651,7 +651,8 @@ var servicenetworking_v1;
|
|
|
651
651
|
class Resource$Services$Projects$Global$Networks {
|
|
652
652
|
constructor(context) {
|
|
653
653
|
this.context = context;
|
|
654
|
-
this.peeredDnsDomains =
|
|
654
|
+
this.peeredDnsDomains =
|
|
655
|
+
new Resource$Services$Projects$Global$Networks$Peereddnsdomains(this.context);
|
|
655
656
|
}
|
|
656
657
|
get(paramsOrCallback, optionsOrCallback, callback) {
|
|
657
658
|
let params = (paramsOrCallback ||
|
|
@@ -690,7 +691,8 @@ var servicenetworking_v1;
|
|
|
690
691
|
let options = (optionsOrCallback || {});
|
|
691
692
|
if (typeof paramsOrCallback === 'function') {
|
|
692
693
|
callback = paramsOrCallback;
|
|
693
|
-
params =
|
|
694
|
+
params =
|
|
695
|
+
{};
|
|
694
696
|
options = {};
|
|
695
697
|
}
|
|
696
698
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -727,7 +729,8 @@ var servicenetworking_v1;
|
|
|
727
729
|
let options = (optionsOrCallback || {});
|
|
728
730
|
if (typeof paramsOrCallback === 'function') {
|
|
729
731
|
callback = paramsOrCallback;
|
|
730
|
-
params =
|
|
732
|
+
params =
|
|
733
|
+
{};
|
|
731
734
|
options = {};
|
|
732
735
|
}
|
|
733
736
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -758,7 +761,8 @@ var servicenetworking_v1;
|
|
|
758
761
|
let options = (optionsOrCallback || {});
|
|
759
762
|
if (typeof paramsOrCallback === 'function') {
|
|
760
763
|
callback = paramsOrCallback;
|
|
761
|
-
params =
|
|
764
|
+
params =
|
|
765
|
+
{};
|
|
762
766
|
options = {};
|
|
763
767
|
}
|
|
764
768
|
if (typeof optionsOrCallback === 'function') {
|
|
@@ -789,7 +793,8 @@ var servicenetworking_v1;
|
|
|
789
793
|
let options = (optionsOrCallback || {});
|
|
790
794
|
if (typeof paramsOrCallback === 'function') {
|
|
791
795
|
callback = paramsOrCallback;
|
|
792
|
-
params =
|
|
796
|
+
params =
|
|
797
|
+
{};
|
|
793
798
|
options = {};
|
|
794
799
|
}
|
|
795
800
|
if (typeof optionsOrCallback === 'function') {
|