@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/v1beta.ts
CHANGED
|
@@ -335,6 +335,10 @@ export namespace servicenetworking_v1beta {
|
|
|
335
335
|
* 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.
|
|
336
336
|
*/
|
|
337
337
|
jwtAudience?: string | null;
|
|
338
|
+
/**
|
|
339
|
+
* Deprecated, do not use.
|
|
340
|
+
*/
|
|
341
|
+
minDeadline?: number | null;
|
|
338
342
|
/**
|
|
339
343
|
* The number of seconds to wait for the completion of a long running operation. The default is no deadline.
|
|
340
344
|
*/
|
|
@@ -371,6 +375,85 @@ export namespace servicenetworking_v1beta {
|
|
|
371
375
|
*/
|
|
372
376
|
monitoredResource?: string | null;
|
|
373
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* Details about how and where to publish client libraries.
|
|
380
|
+
*/
|
|
381
|
+
export interface Schema$ClientLibrarySettings {
|
|
382
|
+
/**
|
|
383
|
+
* Settings for C++ client libraries.
|
|
384
|
+
*/
|
|
385
|
+
cppSettings?: Schema$CppSettings;
|
|
386
|
+
/**
|
|
387
|
+
* Settings for .NET client libraries.
|
|
388
|
+
*/
|
|
389
|
+
dotnetSettings?: Schema$DotnetSettings;
|
|
390
|
+
/**
|
|
391
|
+
* Settings for Go client libraries.
|
|
392
|
+
*/
|
|
393
|
+
goSettings?: Schema$GoSettings;
|
|
394
|
+
/**
|
|
395
|
+
* Settings for legacy Java features, supported in the Service YAML.
|
|
396
|
+
*/
|
|
397
|
+
javaSettings?: Schema$JavaSettings;
|
|
398
|
+
/**
|
|
399
|
+
* Launch stage of this version of the API.
|
|
400
|
+
*/
|
|
401
|
+
launchStage?: string | null;
|
|
402
|
+
/**
|
|
403
|
+
* Settings for Node client libraries.
|
|
404
|
+
*/
|
|
405
|
+
nodeSettings?: Schema$NodeSettings;
|
|
406
|
+
/**
|
|
407
|
+
* Settings for PHP client libraries.
|
|
408
|
+
*/
|
|
409
|
+
phpSettings?: Schema$PhpSettings;
|
|
410
|
+
/**
|
|
411
|
+
* Settings for Python client libraries.
|
|
412
|
+
*/
|
|
413
|
+
pythonSettings?: Schema$PythonSettings;
|
|
414
|
+
/**
|
|
415
|
+
* When using transport=rest, the client request will encode enums as numbers rather than strings.
|
|
416
|
+
*/
|
|
417
|
+
restNumericEnums?: boolean | null;
|
|
418
|
+
/**
|
|
419
|
+
* Settings for Ruby client libraries.
|
|
420
|
+
*/
|
|
421
|
+
rubySettings?: Schema$RubySettings;
|
|
422
|
+
/**
|
|
423
|
+
* Version of the API to apply these settings to.
|
|
424
|
+
*/
|
|
425
|
+
version?: string | null;
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* Cloud SQL configuration.
|
|
429
|
+
*/
|
|
430
|
+
export interface Schema$CloudSQLConfig {
|
|
431
|
+
/**
|
|
432
|
+
* Peering service used for peering with the Cloud SQL project.
|
|
433
|
+
*/
|
|
434
|
+
service?: string | null;
|
|
435
|
+
/**
|
|
436
|
+
* The name of the umbrella network in the Cloud SQL umbrella project.
|
|
437
|
+
*/
|
|
438
|
+
umbrellaNetwork?: string | null;
|
|
439
|
+
/**
|
|
440
|
+
* The project number of the Cloud SQL umbrella project.
|
|
441
|
+
*/
|
|
442
|
+
umbrellaProject?: string | null;
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* Required information for every language.
|
|
446
|
+
*/
|
|
447
|
+
export interface Schema$CommonLanguageSettings {
|
|
448
|
+
/**
|
|
449
|
+
* The destination where API teams want this client library to be published.
|
|
450
|
+
*/
|
|
451
|
+
destinations?: string[] | null;
|
|
452
|
+
/**
|
|
453
|
+
* Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
|
|
454
|
+
*/
|
|
455
|
+
referenceDocsUri?: string | null;
|
|
456
|
+
}
|
|
374
457
|
/**
|
|
375
458
|
* 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.
|
|
376
459
|
*/
|
|
@@ -396,6 +479,10 @@ export namespace servicenetworking_v1beta {
|
|
|
396
479
|
* Configuration information for a private service access connection.
|
|
397
480
|
*/
|
|
398
481
|
export interface Schema$ConsumerConfig {
|
|
482
|
+
/**
|
|
483
|
+
* Represents one or multiple Cloud SQL configurations.
|
|
484
|
+
*/
|
|
485
|
+
cloudsqlConfigs?: Schema$CloudSQLConfig[];
|
|
399
486
|
/**
|
|
400
487
|
* Export custom routes flag value for peering from consumer to producer.
|
|
401
488
|
*/
|
|
@@ -484,7 +571,7 @@ export namespace servicenetworking_v1beta {
|
|
|
484
571
|
selector?: string | null;
|
|
485
572
|
}
|
|
486
573
|
/**
|
|
487
|
-
* Selects and configures the service controller used by the service.
|
|
574
|
+
* Selects and configures the service controller used by the service. Example: control: environment: servicecontrol.googleapis.com
|
|
488
575
|
*/
|
|
489
576
|
export interface Schema$Control {
|
|
490
577
|
/**
|
|
@@ -492,6 +579,15 @@ export namespace servicenetworking_v1beta {
|
|
|
492
579
|
*/
|
|
493
580
|
environment?: string | null;
|
|
494
581
|
}
|
|
582
|
+
/**
|
|
583
|
+
* Settings for C++ client libraries.
|
|
584
|
+
*/
|
|
585
|
+
export interface Schema$CppSettings {
|
|
586
|
+
/**
|
|
587
|
+
* Some settings.
|
|
588
|
+
*/
|
|
589
|
+
common?: Schema$CommonLanguageSettings;
|
|
590
|
+
}
|
|
495
591
|
/**
|
|
496
592
|
* 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
|
|
497
593
|
*/
|
|
@@ -619,10 +715,23 @@ export namespace servicenetworking_v1beta {
|
|
|
619
715
|
*/
|
|
620
716
|
selector?: string | null;
|
|
621
717
|
}
|
|
718
|
+
/**
|
|
719
|
+
* Settings for Dotnet client libraries.
|
|
720
|
+
*/
|
|
721
|
+
export interface Schema$DotnetSettings {
|
|
722
|
+
/**
|
|
723
|
+
* Some settings.
|
|
724
|
+
*/
|
|
725
|
+
common?: Schema$CommonLanguageSettings;
|
|
726
|
+
}
|
|
622
727
|
/**
|
|
623
728
|
* `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
|
|
624
729
|
*/
|
|
625
730
|
export interface Schema$Endpoint {
|
|
731
|
+
/**
|
|
732
|
+
* 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.
|
|
733
|
+
*/
|
|
734
|
+
aliases?: string[] | null;
|
|
626
735
|
/**
|
|
627
736
|
* 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.
|
|
628
737
|
*/
|
|
@@ -782,6 +891,15 @@ export namespace servicenetworking_v1beta {
|
|
|
782
891
|
*/
|
|
783
892
|
name?: string | null;
|
|
784
893
|
}
|
|
894
|
+
/**
|
|
895
|
+
* Settings for Go client libraries.
|
|
896
|
+
*/
|
|
897
|
+
export interface Schema$GoSettings {
|
|
898
|
+
/**
|
|
899
|
+
* Some settings.
|
|
900
|
+
*/
|
|
901
|
+
common?: Schema$CommonLanguageSettings;
|
|
902
|
+
}
|
|
785
903
|
/**
|
|
786
904
|
* 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.
|
|
787
905
|
*/
|
|
@@ -840,6 +958,23 @@ export namespace servicenetworking_v1beta {
|
|
|
840
958
|
*/
|
|
841
959
|
selector?: string | null;
|
|
842
960
|
}
|
|
961
|
+
/**
|
|
962
|
+
* Settings for Java client libraries.
|
|
963
|
+
*/
|
|
964
|
+
export interface Schema$JavaSettings {
|
|
965
|
+
/**
|
|
966
|
+
* Some settings.
|
|
967
|
+
*/
|
|
968
|
+
common?: Schema$CommonLanguageSettings;
|
|
969
|
+
/**
|
|
970
|
+
* 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
|
|
971
|
+
*/
|
|
972
|
+
libraryPackage?: string | null;
|
|
973
|
+
/**
|
|
974
|
+
* 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
|
|
975
|
+
*/
|
|
976
|
+
serviceClassNames?: {[key: string]: string} | null;
|
|
977
|
+
}
|
|
843
978
|
/**
|
|
844
979
|
* Specifies a location to extract JWT from an API request.
|
|
845
980
|
*/
|
|
@@ -934,6 +1069,27 @@ export namespace servicenetworking_v1beta {
|
|
|
934
1069
|
*/
|
|
935
1070
|
monitoredResource?: string | null;
|
|
936
1071
|
}
|
|
1072
|
+
/**
|
|
1073
|
+
* 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)).
|
|
1074
|
+
*/
|
|
1075
|
+
export interface Schema$LongRunning {
|
|
1076
|
+
/**
|
|
1077
|
+
* Initial delay after which the first poll request will be made. Default value: 5 seconds.
|
|
1078
|
+
*/
|
|
1079
|
+
initialPollDelay?: string | null;
|
|
1080
|
+
/**
|
|
1081
|
+
* Maximum time between two subsequent poll requests. Default value: 45 seconds.
|
|
1082
|
+
*/
|
|
1083
|
+
maxPollDelay?: string | null;
|
|
1084
|
+
/**
|
|
1085
|
+
* Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.
|
|
1086
|
+
*/
|
|
1087
|
+
pollDelayMultiplier?: number | null;
|
|
1088
|
+
/**
|
|
1089
|
+
* Total polling timeout. Default value: 5 minutes.
|
|
1090
|
+
*/
|
|
1091
|
+
totalPollTimeout?: string | null;
|
|
1092
|
+
}
|
|
937
1093
|
/**
|
|
938
1094
|
* Method represents a method of an API interface.
|
|
939
1095
|
*/
|
|
@@ -967,6 +1123,19 @@ export namespace servicenetworking_v1beta {
|
|
|
967
1123
|
*/
|
|
968
1124
|
syntax?: string | null;
|
|
969
1125
|
}
|
|
1126
|
+
/**
|
|
1127
|
+
* Describes the generator configuration for a method.
|
|
1128
|
+
*/
|
|
1129
|
+
export interface Schema$MethodSettings {
|
|
1130
|
+
/**
|
|
1131
|
+
* 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
|
|
1132
|
+
*/
|
|
1133
|
+
longRunning?: Schema$LongRunning;
|
|
1134
|
+
/**
|
|
1135
|
+
* The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options.
|
|
1136
|
+
*/
|
|
1137
|
+
selector?: string | null;
|
|
1138
|
+
}
|
|
970
1139
|
/**
|
|
971
1140
|
* 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.
|
|
972
1141
|
*/
|
|
@@ -1114,6 +1283,15 @@ export namespace servicenetworking_v1beta {
|
|
|
1114
1283
|
*/
|
|
1115
1284
|
monitoredResource?: string | null;
|
|
1116
1285
|
}
|
|
1286
|
+
/**
|
|
1287
|
+
* Settings for Node client libraries.
|
|
1288
|
+
*/
|
|
1289
|
+
export interface Schema$NodeSettings {
|
|
1290
|
+
/**
|
|
1291
|
+
* Some settings.
|
|
1292
|
+
*/
|
|
1293
|
+
common?: Schema$CommonLanguageSettings;
|
|
1294
|
+
}
|
|
1117
1295
|
/**
|
|
1118
1296
|
* 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.
|
|
1119
1297
|
*/
|
|
@@ -1199,6 +1377,15 @@ export namespace servicenetworking_v1beta {
|
|
|
1199
1377
|
* Metadata provided through GetOperation request for the LRO generated by CreatePeeredDnsDomain API.
|
|
1200
1378
|
*/
|
|
1201
1379
|
export interface Schema$PeeredDnsDomainMetadata {}
|
|
1380
|
+
/**
|
|
1381
|
+
* Settings for Php client libraries.
|
|
1382
|
+
*/
|
|
1383
|
+
export interface Schema$PhpSettings {
|
|
1384
|
+
/**
|
|
1385
|
+
* Some settings.
|
|
1386
|
+
*/
|
|
1387
|
+
common?: Schema$CommonLanguageSettings;
|
|
1388
|
+
}
|
|
1202
1389
|
/**
|
|
1203
1390
|
* Grouping of IAM role and IAM member.
|
|
1204
1391
|
*/
|
|
@@ -1213,15 +1400,65 @@ export namespace servicenetworking_v1beta {
|
|
|
1213
1400
|
role?: string | null;
|
|
1214
1401
|
}
|
|
1215
1402
|
/**
|
|
1216
|
-
*
|
|
1403
|
+
* 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.
|
|
1404
|
+
*/
|
|
1405
|
+
export interface Schema$Publishing {
|
|
1406
|
+
/**
|
|
1407
|
+
* Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc. Example: "speech".
|
|
1408
|
+
*/
|
|
1409
|
+
apiShortName?: string | null;
|
|
1410
|
+
/**
|
|
1411
|
+
* GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API.
|
|
1412
|
+
*/
|
|
1413
|
+
codeownerGithubTeams?: string[] | null;
|
|
1414
|
+
/**
|
|
1415
|
+
* A prefix used in sample code when demarking regions to be included in documentation.
|
|
1416
|
+
*/
|
|
1417
|
+
docTagPrefix?: string | null;
|
|
1418
|
+
/**
|
|
1419
|
+
* Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview
|
|
1420
|
+
*/
|
|
1421
|
+
documentationUri?: string | null;
|
|
1422
|
+
/**
|
|
1423
|
+
* GitHub label to apply to issues and pull requests opened for this API.
|
|
1424
|
+
*/
|
|
1425
|
+
githubLabel?: string | null;
|
|
1426
|
+
/**
|
|
1427
|
+
* 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.
|
|
1428
|
+
*/
|
|
1429
|
+
librarySettings?: Schema$ClientLibrarySettings[];
|
|
1430
|
+
/**
|
|
1431
|
+
* A list of API method settings, e.g. the behavior for methods that use the long-running operation pattern.
|
|
1432
|
+
*/
|
|
1433
|
+
methodSettings?: Schema$MethodSettings[];
|
|
1434
|
+
/**
|
|
1435
|
+
* Link to a place that API users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
|
1436
|
+
*/
|
|
1437
|
+
newIssueUri?: string | null;
|
|
1438
|
+
/**
|
|
1439
|
+
* For whom the client library is being published.
|
|
1440
|
+
*/
|
|
1441
|
+
organization?: string | null;
|
|
1442
|
+
}
|
|
1443
|
+
/**
|
|
1444
|
+
* Settings for Python client libraries.
|
|
1445
|
+
*/
|
|
1446
|
+
export interface Schema$PythonSettings {
|
|
1447
|
+
/**
|
|
1448
|
+
* Some settings.
|
|
1449
|
+
*/
|
|
1450
|
+
common?: Schema$CommonLanguageSettings;
|
|
1451
|
+
}
|
|
1452
|
+
/**
|
|
1453
|
+
* 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
|
|
1217
1454
|
*/
|
|
1218
1455
|
export interface Schema$Quota {
|
|
1219
1456
|
/**
|
|
1220
|
-
* List of
|
|
1457
|
+
* List of QuotaLimit definitions for the service.
|
|
1221
1458
|
*/
|
|
1222
1459
|
limits?: Schema$QuotaLimit[];
|
|
1223
1460
|
/**
|
|
1224
|
-
* List of
|
|
1461
|
+
* List of MetricRule definitions, each one mapping a selected method to one or more metrics.
|
|
1225
1462
|
*/
|
|
1226
1463
|
metricRules?: Schema$MetricRule[];
|
|
1227
1464
|
}
|
|
@@ -1320,6 +1557,15 @@ export namespace servicenetworking_v1beta {
|
|
|
1320
1557
|
*/
|
|
1321
1558
|
nextHopGateway?: string | null;
|
|
1322
1559
|
}
|
|
1560
|
+
/**
|
|
1561
|
+
* Settings for Ruby client libraries.
|
|
1562
|
+
*/
|
|
1563
|
+
export interface Schema$RubySettings {
|
|
1564
|
+
/**
|
|
1565
|
+
* Some settings.
|
|
1566
|
+
*/
|
|
1567
|
+
common?: Schema$CommonLanguageSettings;
|
|
1568
|
+
}
|
|
1323
1569
|
/**
|
|
1324
1570
|
* Request to search for an unused range within allocated ranges.
|
|
1325
1571
|
*/
|
|
@@ -1427,6 +1673,10 @@ export namespace servicenetworking_v1beta {
|
|
|
1427
1673
|
* The Google project that owns this service.
|
|
1428
1674
|
*/
|
|
1429
1675
|
producerProjectId?: string | null;
|
|
1676
|
+
/**
|
|
1677
|
+
* Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers.
|
|
1678
|
+
*/
|
|
1679
|
+
publishing?: Schema$Publishing;
|
|
1430
1680
|
/**
|
|
1431
1681
|
* Quota configuration.
|
|
1432
1682
|
*/
|