@googleapis/servicenetworking 6.0.0 → 8.1.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 +36 -0
- package/build/index.js +5 -4
- package/build/index.js.map +1 -1
- package/build/v1.d.ts +265 -7
- package/build/v1.js +49 -48
- package/build/v1.js.map +1 -1
- package/build/v1beta.d.ts +256 -4
- package/build/v1beta.js +13 -12
- package/build/v1beta.js.map +1 -1
- package/package.json +6 -6
- package/v1.ts +263 -7
- package/v1beta.ts +254 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [8.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v8.0.0...servicenetworking-v8.1.0) (2022-12-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **servicenetworking:** update the API ([dd8d2fd](https://github.com/googleapis/google-api-nodejs-client/commit/dd8d2fdbd82f58103e6c8dc3536450f0091dbb7f))
|
|
9
|
+
|
|
10
|
+
## [8.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v7.0.0...servicenetworking-v8.0.0) (2022-10-28)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ⚠ BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* **build:** This release has breaking changes.
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **build:** run the generator (submodules now require Node 12) ([#3073](https://github.com/googleapis/google-api-nodejs-client/issues/3073)) ([eda0707](https://github.com/googleapis/google-api-nodejs-client/commit/eda07079dadab46a80b6f9ede618f4f43030169e))
|
|
20
|
+
|
|
21
|
+
## [7.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v6.1.0...servicenetworking-v7.0.0) (2022-09-21)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### ⚠ BREAKING CHANGES
|
|
25
|
+
|
|
26
|
+
* **servicenetworking:** This release has breaking changes.
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **servicenetworking:** update the API ([541cc3a](https://github.com/googleapis/google-api-nodejs-client/commit/541cc3a7f65368541a3f578aabb55b19be14c555))
|
|
31
|
+
|
|
32
|
+
## [6.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v6.0.0...servicenetworking-v6.1.0) (2022-08-19)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Features
|
|
36
|
+
|
|
37
|
+
* **servicenetworking:** update the API ([2ed5dec](https://github.com/googleapis/google-api-nodejs-client/commit/2ed5dec137f06d242c8a8b41a717434816eab248))
|
|
38
|
+
|
|
3
39
|
## [6.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicenetworking-v5.0.0...servicenetworking-v6.0.0) (2022-06-21)
|
|
4
40
|
|
|
5
41
|
|
package/build/index.js
CHANGED
|
@@ -12,22 +12,23 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AuthPlus = exports.servicenetworking_v1beta = exports.servicenetworking_v1 = exports.auth = exports.servicenetworking = exports.VERSIONS = void 0;
|
|
15
16
|
/*! THIS FILE IS AUTO-GENERATED */
|
|
16
17
|
const googleapis_common_1 = require("googleapis-common");
|
|
17
18
|
const v1_1 = require("./v1");
|
|
18
|
-
exports
|
|
19
|
+
Object.defineProperty(exports, "servicenetworking_v1", { enumerable: true, get: function () { return v1_1.servicenetworking_v1; } });
|
|
19
20
|
const v1beta_1 = require("./v1beta");
|
|
20
|
-
exports
|
|
21
|
+
Object.defineProperty(exports, "servicenetworking_v1beta", { enumerable: true, get: function () { return v1beta_1.servicenetworking_v1beta; } });
|
|
21
22
|
exports.VERSIONS = {
|
|
22
23
|
v1: v1_1.servicenetworking_v1.Servicenetworking,
|
|
23
24
|
v1beta: v1beta_1.servicenetworking_v1beta.Servicenetworking,
|
|
24
25
|
};
|
|
25
26
|
function servicenetworking(versionOrOptions) {
|
|
26
|
-
return googleapis_common_1.getAPI('servicenetworking', versionOrOptions, exports.VERSIONS, this);
|
|
27
|
+
return (0, googleapis_common_1.getAPI)('servicenetworking', versionOrOptions, exports.VERSIONS, this);
|
|
27
28
|
}
|
|
28
29
|
exports.servicenetworking = servicenetworking;
|
|
29
30
|
const auth = new googleapis_common_1.AuthPlus();
|
|
30
31
|
exports.auth = auth;
|
|
31
32
|
var googleapis_common_2 = require("googleapis-common");
|
|
32
|
-
exports
|
|
33
|
+
Object.defineProperty(exports, "AuthPlus", { enumerable: true, get: function () { return googleapis_common_2.AuthPlus; } });
|
|
33
34
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,6BAA0C;AAqClC,qGArCA,yBAAoB,OAqCA;AApC5B,qCAAkD;AAqC1C,yGArCA,iCAAwB,OAqCA;AAnCnB,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,yBAAoB,CAAC,iBAAiB;IAC1C,MAAM,EAAE,iCAAwB,CAAC,iBAAiB;CACnD,CAAC;AAcF,SAAgB,iBAAiB,CAM/B,gBAIoC;IAEpC,OAAO,IAAA,0BAAM,EAAI,mBAAmB,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AAC1E,CAAC;AAbD,8CAaC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAGZ,uDAS2B;AARzB,6GAAA,QAAQ,OAAA"}
|
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. Defines the allowSubnetCidrRoutesOverlap field of the subnet, e.g. Available in alpha and beta according to [Compute API documentation](https://cloud.google.com/compute/docs/reference/rest/beta/subnetworks/insert)
|
|
165
|
+
*/
|
|
166
|
+
allowSubnetCidrRoutesOverlap?: boolean | null;
|
|
163
167
|
/**
|
|
164
168
|
* Optional. The IAM permission check determines whether the consumer project has 'servicenetworking.services.use' permission or not.
|
|
165
169
|
*/
|
|
@@ -181,7 +185,7 @@ export declare namespace servicenetworking_v1 {
|
|
|
181
185
|
*/
|
|
182
186
|
description?: string | null;
|
|
183
187
|
/**
|
|
184
|
-
* Required. The prefix length of the subnet's IP address range. Use CIDR range notation, such as `
|
|
188
|
+
* Required. The prefix length of the subnet's IP address range. Use CIDR range notation, such as `29` to provision a subnet with an `x.x.x.x/29` CIDR range. The IP address range is drawn from a pool of available ranges in the service consumer's allocated range. GCE disallows subnets with prefix_length \> 29
|
|
185
189
|
*/
|
|
186
190
|
ipPrefixLength?: number | null;
|
|
187
191
|
/**
|
|
@@ -363,6 +367,10 @@ export declare namespace servicenetworking_v1 {
|
|
|
363
367
|
* 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.
|
|
364
368
|
*/
|
|
365
369
|
jwtAudience?: string | null;
|
|
370
|
+
/**
|
|
371
|
+
* Deprecated, do not use.
|
|
372
|
+
*/
|
|
373
|
+
minDeadline?: number | null;
|
|
366
374
|
/**
|
|
367
375
|
* The number of seconds to wait for the completion of a long running operation. The default is no deadline.
|
|
368
376
|
*/
|
|
@@ -404,6 +412,85 @@ export declare namespace servicenetworking_v1 {
|
|
|
404
412
|
*/
|
|
405
413
|
export interface Schema$CancelOperationRequest {
|
|
406
414
|
}
|
|
415
|
+
/**
|
|
416
|
+
* Details about how and where to publish client libraries.
|
|
417
|
+
*/
|
|
418
|
+
export interface Schema$ClientLibrarySettings {
|
|
419
|
+
/**
|
|
420
|
+
* Settings for C++ client libraries.
|
|
421
|
+
*/
|
|
422
|
+
cppSettings?: Schema$CppSettings;
|
|
423
|
+
/**
|
|
424
|
+
* Settings for .NET client libraries.
|
|
425
|
+
*/
|
|
426
|
+
dotnetSettings?: Schema$DotnetSettings;
|
|
427
|
+
/**
|
|
428
|
+
* Settings for Go client libraries.
|
|
429
|
+
*/
|
|
430
|
+
goSettings?: Schema$GoSettings;
|
|
431
|
+
/**
|
|
432
|
+
* Settings for legacy Java features, supported in the Service YAML.
|
|
433
|
+
*/
|
|
434
|
+
javaSettings?: Schema$JavaSettings;
|
|
435
|
+
/**
|
|
436
|
+
* Launch stage of this version of the API.
|
|
437
|
+
*/
|
|
438
|
+
launchStage?: string | null;
|
|
439
|
+
/**
|
|
440
|
+
* Settings for Node client libraries.
|
|
441
|
+
*/
|
|
442
|
+
nodeSettings?: Schema$NodeSettings;
|
|
443
|
+
/**
|
|
444
|
+
* Settings for PHP client libraries.
|
|
445
|
+
*/
|
|
446
|
+
phpSettings?: Schema$PhpSettings;
|
|
447
|
+
/**
|
|
448
|
+
* Settings for Python client libraries.
|
|
449
|
+
*/
|
|
450
|
+
pythonSettings?: Schema$PythonSettings;
|
|
451
|
+
/**
|
|
452
|
+
* When using transport=rest, the client request will encode enums as numbers rather than strings.
|
|
453
|
+
*/
|
|
454
|
+
restNumericEnums?: boolean | null;
|
|
455
|
+
/**
|
|
456
|
+
* Settings for Ruby client libraries.
|
|
457
|
+
*/
|
|
458
|
+
rubySettings?: Schema$RubySettings;
|
|
459
|
+
/**
|
|
460
|
+
* Version of the API to apply these settings to.
|
|
461
|
+
*/
|
|
462
|
+
version?: string | null;
|
|
463
|
+
}
|
|
464
|
+
/**
|
|
465
|
+
* Cloud SQL configuration.
|
|
466
|
+
*/
|
|
467
|
+
export interface Schema$CloudSQLConfig {
|
|
468
|
+
/**
|
|
469
|
+
* Peering service used for peering with the Cloud SQL project.
|
|
470
|
+
*/
|
|
471
|
+
service?: string | null;
|
|
472
|
+
/**
|
|
473
|
+
* The name of the umbrella network in the Cloud SQL umbrella project.
|
|
474
|
+
*/
|
|
475
|
+
umbrellaNetwork?: string | null;
|
|
476
|
+
/**
|
|
477
|
+
* The project number of the Cloud SQL umbrella project.
|
|
478
|
+
*/
|
|
479
|
+
umbrellaProject?: string | null;
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* Required information for every language.
|
|
483
|
+
*/
|
|
484
|
+
export interface Schema$CommonLanguageSettings {
|
|
485
|
+
/**
|
|
486
|
+
* The destination where API teams want this client library to be published.
|
|
487
|
+
*/
|
|
488
|
+
destinations?: string[] | null;
|
|
489
|
+
/**
|
|
490
|
+
* Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
|
|
491
|
+
*/
|
|
492
|
+
referenceDocsUri?: string | null;
|
|
493
|
+
}
|
|
407
494
|
/**
|
|
408
495
|
* Represents a private connection resource. A private connection is implemented as a VPC Network Peering connection between a service producer's VPC network and a service consumer's VPC network.
|
|
409
496
|
*/
|
|
@@ -429,6 +516,10 @@ export declare namespace servicenetworking_v1 {
|
|
|
429
516
|
* Configuration information for a private service access connection.
|
|
430
517
|
*/
|
|
431
518
|
export interface Schema$ConsumerConfig {
|
|
519
|
+
/**
|
|
520
|
+
* Represents one or multiple Cloud SQL configurations.
|
|
521
|
+
*/
|
|
522
|
+
cloudsqlConfigs?: Schema$CloudSQLConfig[];
|
|
432
523
|
/**
|
|
433
524
|
* Export custom routes flag value for peering from consumer to producer.
|
|
434
525
|
*/
|
|
@@ -527,7 +618,7 @@ export declare namespace servicenetworking_v1 {
|
|
|
527
618
|
selector?: string | null;
|
|
528
619
|
}
|
|
529
620
|
/**
|
|
530
|
-
* Selects and configures the service controller used by the service.
|
|
621
|
+
* Selects and configures the service controller used by the service. Example: control: environment: servicecontrol.googleapis.com
|
|
531
622
|
*/
|
|
532
623
|
export interface Schema$Control {
|
|
533
624
|
/**
|
|
@@ -535,6 +626,15 @@ export declare namespace servicenetworking_v1 {
|
|
|
535
626
|
*/
|
|
536
627
|
environment?: string | null;
|
|
537
628
|
}
|
|
629
|
+
/**
|
|
630
|
+
* Settings for C++ client libraries.
|
|
631
|
+
*/
|
|
632
|
+
export interface Schema$CppSettings {
|
|
633
|
+
/**
|
|
634
|
+
* Some settings.
|
|
635
|
+
*/
|
|
636
|
+
common?: Schema$CommonLanguageSettings;
|
|
637
|
+
}
|
|
538
638
|
/**
|
|
539
639
|
* Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError
|
|
540
640
|
*/
|
|
@@ -682,6 +782,15 @@ export declare namespace servicenetworking_v1 {
|
|
|
682
782
|
*/
|
|
683
783
|
selector?: string | null;
|
|
684
784
|
}
|
|
785
|
+
/**
|
|
786
|
+
* Settings for Dotnet client libraries.
|
|
787
|
+
*/
|
|
788
|
+
export interface Schema$DotnetSettings {
|
|
789
|
+
/**
|
|
790
|
+
* Some settings.
|
|
791
|
+
*/
|
|
792
|
+
common?: Schema$CommonLanguageSettings;
|
|
793
|
+
}
|
|
685
794
|
/**
|
|
686
795
|
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
|
|
687
796
|
*/
|
|
@@ -700,6 +809,10 @@ export declare namespace servicenetworking_v1 {
|
|
|
700
809
|
* `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
|
|
701
810
|
*/
|
|
702
811
|
export interface Schema$Endpoint {
|
|
812
|
+
/**
|
|
813
|
+
* Unimplemented. Dot not use. 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.
|
|
814
|
+
*/
|
|
815
|
+
aliases?: string[] | null;
|
|
703
816
|
/**
|
|
704
817
|
* 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.
|
|
705
818
|
*/
|
|
@@ -859,6 +972,15 @@ export declare namespace servicenetworking_v1 {
|
|
|
859
972
|
*/
|
|
860
973
|
name?: string | null;
|
|
861
974
|
}
|
|
975
|
+
/**
|
|
976
|
+
* Settings for Go client libraries.
|
|
977
|
+
*/
|
|
978
|
+
export interface Schema$GoSettings {
|
|
979
|
+
/**
|
|
980
|
+
* Some settings.
|
|
981
|
+
*/
|
|
982
|
+
common?: Schema$CommonLanguageSettings;
|
|
983
|
+
}
|
|
862
984
|
/**
|
|
863
985
|
* Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.
|
|
864
986
|
*/
|
|
@@ -917,6 +1039,25 @@ export declare namespace servicenetworking_v1 {
|
|
|
917
1039
|
*/
|
|
918
1040
|
selector?: string | null;
|
|
919
1041
|
}
|
|
1042
|
+
/**
|
|
1043
|
+
* Settings for Java client libraries.
|
|
1044
|
+
*/
|
|
1045
|
+
export interface Schema$JavaSettings {
|
|
1046
|
+
/**
|
|
1047
|
+
* Some settings.
|
|
1048
|
+
*/
|
|
1049
|
+
common?: Schema$CommonLanguageSettings;
|
|
1050
|
+
/**
|
|
1051
|
+
* The package name to use in Java. Clobbers the java_package option set in the protobuf. This should be used **only** by APIs who have already set the language_settings.java.package_name" field in gapic.yaml. API teams should use the protobuf java_package option where possible. Example of a YAML configuration:: publishing: java_settings: library_package: com.google.cloud.pubsub.v1
|
|
1052
|
+
*/
|
|
1053
|
+
libraryPackage?: string | null;
|
|
1054
|
+
/**
|
|
1055
|
+
* Configure the Java class name to use instead of the service's for its corresponding generated GAPIC client. Keys are fully-qualified service names as they appear in the protobuf (including the full the language_settings.java.interface_names" field in gapic.yaml. API teams should otherwise use the service name as it appears in the protobuf. Example of a YAML configuration:: publishing: java_settings: service_class_names: - google.pubsub.v1.Publisher: TopicAdmin - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
|
1056
|
+
*/
|
|
1057
|
+
serviceClassNames?: {
|
|
1058
|
+
[key: string]: string;
|
|
1059
|
+
} | null;
|
|
1060
|
+
}
|
|
920
1061
|
/**
|
|
921
1062
|
* Specifies a location to extract JWT from an API request.
|
|
922
1063
|
*/
|
|
@@ -1033,6 +1174,27 @@ export declare namespace servicenetworking_v1 {
|
|
|
1033
1174
|
*/
|
|
1034
1175
|
monitoredResource?: string | null;
|
|
1035
1176
|
}
|
|
1177
|
+
/**
|
|
1178
|
+
* Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
|
|
1179
|
+
*/
|
|
1180
|
+
export interface Schema$LongRunning {
|
|
1181
|
+
/**
|
|
1182
|
+
* Initial delay after which the first poll request will be made. Default value: 5 seconds.
|
|
1183
|
+
*/
|
|
1184
|
+
initialPollDelay?: string | null;
|
|
1185
|
+
/**
|
|
1186
|
+
* Maximum time between two subsequent poll requests. Default value: 45 seconds.
|
|
1187
|
+
*/
|
|
1188
|
+
maxPollDelay?: string | null;
|
|
1189
|
+
/**
|
|
1190
|
+
* Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.
|
|
1191
|
+
*/
|
|
1192
|
+
pollDelayMultiplier?: number | null;
|
|
1193
|
+
/**
|
|
1194
|
+
* Total polling timeout. Default value: 5 minutes.
|
|
1195
|
+
*/
|
|
1196
|
+
totalPollTimeout?: string | null;
|
|
1197
|
+
}
|
|
1036
1198
|
/**
|
|
1037
1199
|
* Method represents a method of an API interface.
|
|
1038
1200
|
*/
|
|
@@ -1066,6 +1228,19 @@ export declare namespace servicenetworking_v1 {
|
|
|
1066
1228
|
*/
|
|
1067
1229
|
syntax?: string | null;
|
|
1068
1230
|
}
|
|
1231
|
+
/**
|
|
1232
|
+
* Describes the generator configuration for a method.
|
|
1233
|
+
*/
|
|
1234
|
+
export interface Schema$MethodSettings {
|
|
1235
|
+
/**
|
|
1236
|
+
* Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_behavior: - selector: CreateAdDomain long_running: initial_poll_delay: seconds: 60 # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: seconds: 360 # 6 minutes total_poll_timeout: seconds: 54000 # 90 minutes
|
|
1237
|
+
*/
|
|
1238
|
+
longRunning?: Schema$LongRunning;
|
|
1239
|
+
/**
|
|
1240
|
+
* The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options.
|
|
1241
|
+
*/
|
|
1242
|
+
selector?: string | null;
|
|
1243
|
+
}
|
|
1069
1244
|
/**
|
|
1070
1245
|
* Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.
|
|
1071
1246
|
*/
|
|
@@ -1215,6 +1390,15 @@ export declare namespace servicenetworking_v1 {
|
|
|
1215
1390
|
*/
|
|
1216
1391
|
monitoredResource?: string | null;
|
|
1217
1392
|
}
|
|
1393
|
+
/**
|
|
1394
|
+
* Settings for Node client libraries.
|
|
1395
|
+
*/
|
|
1396
|
+
export interface Schema$NodeSettings {
|
|
1397
|
+
/**
|
|
1398
|
+
* Some settings.
|
|
1399
|
+
*/
|
|
1400
|
+
common?: Schema$CommonLanguageSettings;
|
|
1401
|
+
}
|
|
1218
1402
|
/**
|
|
1219
1403
|
* OAuth scopes are a way to define data and permissions on data. For example, there are scopes defined for "Read-only access to Google Calendar" and "Access to Cloud Platform". Users can consent to a scope for an application, giving it permission to access that data on their behalf. OAuth scope specifications should be fairly coarse grained; a user will need to see and understand the text description of what your scope means. In most cases: use one or at most two OAuth scopes for an entire family of products. If your product has multiple APIs, you should probably be sharing the OAuth scope across all of those APIs. When you need finer grained OAuth consent screens: talk with your product management about how developers will use them in practice. Please note that even though each of the canonical scopes is enough for a request to be accepted and passed to the backend, a request can still fail due to the backend requiring additional scopes or permissions.
|
|
1220
1404
|
*/
|
|
@@ -1308,6 +1492,15 @@ export declare namespace servicenetworking_v1 {
|
|
|
1308
1492
|
*/
|
|
1309
1493
|
export interface Schema$PeeredDnsDomainMetadata {
|
|
1310
1494
|
}
|
|
1495
|
+
/**
|
|
1496
|
+
* Settings for Php client libraries.
|
|
1497
|
+
*/
|
|
1498
|
+
export interface Schema$PhpSettings {
|
|
1499
|
+
/**
|
|
1500
|
+
* Some settings.
|
|
1501
|
+
*/
|
|
1502
|
+
common?: Schema$CommonLanguageSettings;
|
|
1503
|
+
}
|
|
1311
1504
|
/**
|
|
1312
1505
|
* Grouping of IAM role and IAM member.
|
|
1313
1506
|
*/
|
|
@@ -1322,15 +1515,65 @@ export declare namespace servicenetworking_v1 {
|
|
|
1322
1515
|
role?: string | null;
|
|
1323
1516
|
}
|
|
1324
1517
|
/**
|
|
1325
|
-
*
|
|
1518
|
+
* This message configures the settings for publishing [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from the service config.
|
|
1519
|
+
*/
|
|
1520
|
+
export interface Schema$Publishing {
|
|
1521
|
+
/**
|
|
1522
|
+
* Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc. Example: "speech".
|
|
1523
|
+
*/
|
|
1524
|
+
apiShortName?: string | null;
|
|
1525
|
+
/**
|
|
1526
|
+
* GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API.
|
|
1527
|
+
*/
|
|
1528
|
+
codeownerGithubTeams?: string[] | null;
|
|
1529
|
+
/**
|
|
1530
|
+
* A prefix used in sample code when demarking regions to be included in documentation.
|
|
1531
|
+
*/
|
|
1532
|
+
docTagPrefix?: string | null;
|
|
1533
|
+
/**
|
|
1534
|
+
* Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview
|
|
1535
|
+
*/
|
|
1536
|
+
documentationUri?: string | null;
|
|
1537
|
+
/**
|
|
1538
|
+
* GitHub label to apply to issues and pull requests opened for this API.
|
|
1539
|
+
*/
|
|
1540
|
+
githubLabel?: string | null;
|
|
1541
|
+
/**
|
|
1542
|
+
* Client library settings. If the same version string appears multiple times in this list, then the last one wins. Settings from earlier settings with the same version string are discarded.
|
|
1543
|
+
*/
|
|
1544
|
+
librarySettings?: Schema$ClientLibrarySettings[];
|
|
1545
|
+
/**
|
|
1546
|
+
* A list of API method settings, e.g. the behavior for methods that use the long-running operation pattern.
|
|
1547
|
+
*/
|
|
1548
|
+
methodSettings?: Schema$MethodSettings[];
|
|
1549
|
+
/**
|
|
1550
|
+
* Link to a place that API users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
|
1551
|
+
*/
|
|
1552
|
+
newIssueUri?: string | null;
|
|
1553
|
+
/**
|
|
1554
|
+
* For whom the client library is being published.
|
|
1555
|
+
*/
|
|
1556
|
+
organization?: string | null;
|
|
1557
|
+
}
|
|
1558
|
+
/**
|
|
1559
|
+
* Settings for Python client libraries.
|
|
1560
|
+
*/
|
|
1561
|
+
export interface Schema$PythonSettings {
|
|
1562
|
+
/**
|
|
1563
|
+
* Some settings.
|
|
1564
|
+
*/
|
|
1565
|
+
common?: Schema$CommonLanguageSettings;
|
|
1566
|
+
}
|
|
1567
|
+
/**
|
|
1568
|
+
* Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/{project\}" # rate limit for consumer projects values: STANDARD: 10000 (The metric rules bind all methods to the read_calls metric, except for the UpdateBook and DeleteBook methods. These two methods are mapped to the write_calls metric, with the UpdateBook method consuming at twice rate as the DeleteBook method.) metric_rules: - selector: "*" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
|
|
1326
1569
|
*/
|
|
1327
1570
|
export interface Schema$Quota {
|
|
1328
1571
|
/**
|
|
1329
|
-
* List of
|
|
1572
|
+
* List of QuotaLimit definitions for the service.
|
|
1330
1573
|
*/
|
|
1331
1574
|
limits?: Schema$QuotaLimit[];
|
|
1332
1575
|
/**
|
|
1333
|
-
* List of
|
|
1576
|
+
* List of MetricRule definitions, each one mapping a selected method to one or more metrics.
|
|
1334
1577
|
*/
|
|
1335
1578
|
metricRules?: Schema$MetricRule[];
|
|
1336
1579
|
}
|
|
@@ -1399,7 +1642,7 @@ export declare namespace servicenetworking_v1 {
|
|
|
1399
1642
|
*/
|
|
1400
1643
|
export interface Schema$RangeReservation {
|
|
1401
1644
|
/**
|
|
1402
|
-
* Required. The size of the desired subnet. Use usual CIDR range notation. For example, '
|
|
1645
|
+
* Required. The size of the desired subnet. Use usual CIDR range notation. For example, '29' to find unused x.x.x.x/29 CIDR range. The goal is to determine if one of the allocated ranges has enough free space for a subnet of the requested size. GCE disallows subnets with prefix_length \> 29
|
|
1403
1646
|
*/
|
|
1404
1647
|
ipPrefixLength?: number | null;
|
|
1405
1648
|
/**
|
|
@@ -1407,7 +1650,7 @@ export declare namespace servicenetworking_v1 {
|
|
|
1407
1650
|
*/
|
|
1408
1651
|
requestedRanges?: string[] | null;
|
|
1409
1652
|
/**
|
|
1410
|
-
* Optional. The size of the desired secondary ranges for the subnet. Use usual CIDR range notation. For example, '
|
|
1653
|
+
* Optional. The size of the desired secondary ranges for the subnet. Use usual CIDR range notation. For example, '29' to find unused x.x.x.x/29 CIDR range. The goal is to determine that the allocated ranges have enough free space for all the requested secondary ranges. GCE disallows subnets with prefix_length \> 29
|
|
1411
1654
|
*/
|
|
1412
1655
|
secondaryRangeIpPrefixLengths?: number[] | null;
|
|
1413
1656
|
/**
|
|
@@ -1486,6 +1729,15 @@ export declare namespace servicenetworking_v1 {
|
|
|
1486
1729
|
*/
|
|
1487
1730
|
nextHopGateway?: string | null;
|
|
1488
1731
|
}
|
|
1732
|
+
/**
|
|
1733
|
+
* Settings for Ruby client libraries.
|
|
1734
|
+
*/
|
|
1735
|
+
export interface Schema$RubySettings {
|
|
1736
|
+
/**
|
|
1737
|
+
* Some settings.
|
|
1738
|
+
*/
|
|
1739
|
+
common?: Schema$CommonLanguageSettings;
|
|
1740
|
+
}
|
|
1489
1741
|
/**
|
|
1490
1742
|
* Request to search for an unused range within allocated ranges.
|
|
1491
1743
|
*/
|
|
@@ -1611,6 +1863,10 @@ export declare namespace servicenetworking_v1 {
|
|
|
1611
1863
|
* The Google project that owns this service.
|
|
1612
1864
|
*/
|
|
1613
1865
|
producerProjectId?: string | null;
|
|
1866
|
+
/**
|
|
1867
|
+
* Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers.
|
|
1868
|
+
*/
|
|
1869
|
+
publishing?: Schema$Publishing;
|
|
1614
1870
|
/**
|
|
1615
1871
|
* Quota configuration.
|
|
1616
1872
|
*/
|
|
@@ -2219,6 +2475,7 @@ export declare namespace servicenetworking_v1 {
|
|
|
2219
2475
|
* requestBody: {
|
|
2220
2476
|
* // request body parameters
|
|
2221
2477
|
* // {
|
|
2478
|
+
* // "allowSubnetCidrRoutesOverlap": false,
|
|
2222
2479
|
* // "checkServiceNetworkingUsePermission": false,
|
|
2223
2480
|
* // "computeIdempotencyWindow": "my_computeIdempotencyWindow",
|
|
2224
2481
|
* // "consumer": "my_consumer",
|
|
@@ -3418,6 +3675,7 @@ export declare namespace servicenetworking_v1 {
|
|
|
3418
3675
|
*
|
|
3419
3676
|
* // Example response
|
|
3420
3677
|
* // {
|
|
3678
|
+
* // "cloudsqlConfigs": [],
|
|
3421
3679
|
* // "consumerExportCustomRoutes": false,
|
|
3422
3680
|
* // "consumerExportSubnetRoutesWithPublicIp": false,
|
|
3423
3681
|
* // "consumerImportCustomRoutes": false,
|