@maxim_mazurok/gapi.client.serviceusage-v1beta1 0.0.20221114 → 0.0.20221117
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/index.d.ts +127 -1
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://serviceusage.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20221117
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -149,6 +149,8 @@ declare namespace gapi.client {
|
|
|
149
149
|
disableAuth?: boolean;
|
|
150
150
|
/** 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. */
|
|
151
151
|
jwtAudience?: string;
|
|
152
|
+
/** Deprecated, do not use. */
|
|
153
|
+
minDeadline?: number;
|
|
152
154
|
/** The number of seconds to wait for the completion of a long running operation. The default is no deadline. */
|
|
153
155
|
operationDeadline?: number;
|
|
154
156
|
pathTranslation?: string;
|
|
@@ -197,6 +199,36 @@ declare namespace gapi.client {
|
|
|
197
199
|
/** The monitored resource type. The type must be defined in Service.monitored_resources section. */
|
|
198
200
|
monitoredResource?: string;
|
|
199
201
|
}
|
|
202
|
+
interface ClientLibrarySettings {
|
|
203
|
+
/** Settings for C++ client libraries. */
|
|
204
|
+
cppSettings?: CppSettings;
|
|
205
|
+
/** Settings for .NET client libraries. */
|
|
206
|
+
dotnetSettings?: DotnetSettings;
|
|
207
|
+
/** Settings for Go client libraries. */
|
|
208
|
+
goSettings?: GoSettings;
|
|
209
|
+
/** Settings for legacy Java features, supported in the Service YAML. */
|
|
210
|
+
javaSettings?: JavaSettings;
|
|
211
|
+
/** Launch stage of this version of the API. */
|
|
212
|
+
launchStage?: string;
|
|
213
|
+
/** Settings for Node client libraries. */
|
|
214
|
+
nodeSettings?: NodeSettings;
|
|
215
|
+
/** Settings for PHP client libraries. */
|
|
216
|
+
phpSettings?: PhpSettings;
|
|
217
|
+
/** Settings for Python client libraries. */
|
|
218
|
+
pythonSettings?: PythonSettings;
|
|
219
|
+
/** When using transport=rest, the client request will encode enums as numbers rather than strings. */
|
|
220
|
+
restNumericEnums?: boolean;
|
|
221
|
+
/** Settings for Ruby client libraries. */
|
|
222
|
+
rubySettings?: RubySettings;
|
|
223
|
+
/** Version of the API to apply these settings to. */
|
|
224
|
+
version?: string;
|
|
225
|
+
}
|
|
226
|
+
interface CommonLanguageSettings {
|
|
227
|
+
/** The destination where API teams want this client library to be published. */
|
|
228
|
+
destinations?: string[];
|
|
229
|
+
/** Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest */
|
|
230
|
+
referenceDocsUri?: string;
|
|
231
|
+
}
|
|
200
232
|
interface ConsumerQuotaLimit {
|
|
201
233
|
/** Whether admin overrides are allowed on this limit */
|
|
202
234
|
allowsAdminOverrides?: boolean;
|
|
@@ -268,6 +300,10 @@ declare namespace gapi.client {
|
|
|
268
300
|
*/
|
|
269
301
|
environment?: string;
|
|
270
302
|
}
|
|
303
|
+
interface CppSettings {
|
|
304
|
+
/** Some settings. */
|
|
305
|
+
common?: CommonLanguageSettings;
|
|
306
|
+
}
|
|
271
307
|
// tslint:disable-next-line:no-empty-interface
|
|
272
308
|
interface CreateAdminQuotaPolicyMetadata {
|
|
273
309
|
}
|
|
@@ -337,6 +373,10 @@ declare namespace gapi.client {
|
|
|
337
373
|
*/
|
|
338
374
|
selector?: string;
|
|
339
375
|
}
|
|
376
|
+
interface DotnetSettings {
|
|
377
|
+
/** Some settings. */
|
|
378
|
+
common?: CommonLanguageSettings;
|
|
379
|
+
}
|
|
340
380
|
// tslint:disable-next-line:no-empty-interface
|
|
341
381
|
interface Empty {
|
|
342
382
|
}
|
|
@@ -354,6 +394,11 @@ declare namespace gapi.client {
|
|
|
354
394
|
service?: GoogleApiServiceusageV1Service;
|
|
355
395
|
}
|
|
356
396
|
interface Endpoint {
|
|
397
|
+
/**
|
|
398
|
+
* 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.
|
|
399
|
+
* Additional names that this endpoint will be hosted on.
|
|
400
|
+
*/
|
|
401
|
+
aliases?: string[];
|
|
357
402
|
/**
|
|
358
403
|
* 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
|
|
359
404
|
* HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.
|
|
@@ -474,6 +519,8 @@ declare namespace gapi.client {
|
|
|
474
519
|
name?: string;
|
|
475
520
|
/** The Google project that owns this service. */
|
|
476
521
|
producerProjectId?: string;
|
|
522
|
+
/** Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers. */
|
|
523
|
+
publishing?: Publishing;
|
|
477
524
|
/** Quota configuration. */
|
|
478
525
|
quota?: Quota;
|
|
479
526
|
/** Output only. The source information for this configuration if available. */
|
|
@@ -549,6 +596,10 @@ declare namespace gapi.client {
|
|
|
549
596
|
/** Configuration controlling usage of this service. */
|
|
550
597
|
usage?: Usage;
|
|
551
598
|
}
|
|
599
|
+
interface GoSettings {
|
|
600
|
+
/** Some settings. */
|
|
601
|
+
common?: CommonLanguageSettings;
|
|
602
|
+
}
|
|
552
603
|
interface Http {
|
|
553
604
|
/**
|
|
554
605
|
* When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded. The default
|
|
@@ -638,6 +689,22 @@ declare namespace gapi.client {
|
|
|
638
689
|
/** The overrides that were created from the imported data. */
|
|
639
690
|
overrides?: QuotaOverride[];
|
|
640
691
|
}
|
|
692
|
+
interface JavaSettings {
|
|
693
|
+
/** Some settings. */
|
|
694
|
+
common?: CommonLanguageSettings;
|
|
695
|
+
/**
|
|
696
|
+
* 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
|
|
697
|
+
* 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:
|
|
698
|
+
* java_settings: library_package: com.google.cloud.pubsub.v1
|
|
699
|
+
*/
|
|
700
|
+
libraryPackage?: string;
|
|
701
|
+
/**
|
|
702
|
+
* 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
|
|
703
|
+
* (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
|
|
704
|
+
* configuration:: publishing: java_settings: service_class_names: - google.pubsub.v1.Publisher: TopicAdmin - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
|
705
|
+
*/
|
|
706
|
+
serviceClassNames?: { [P in string]: string };
|
|
707
|
+
}
|
|
641
708
|
interface JwtLocation {
|
|
642
709
|
/** Specifies cookie name to extract JWT token. */
|
|
643
710
|
cookie?: string;
|
|
@@ -724,6 +791,16 @@ declare namespace gapi.client {
|
|
|
724
791
|
/** The monitored resource type. The type must be defined in the Service.monitored_resources section. */
|
|
725
792
|
monitoredResource?: string;
|
|
726
793
|
}
|
|
794
|
+
interface LongRunning {
|
|
795
|
+
/** Initial delay after which the first poll request will be made. Default value: 5 seconds. */
|
|
796
|
+
initialPollDelay?: string;
|
|
797
|
+
/** Maximum time between two subsequent poll requests. Default value: 45 seconds. */
|
|
798
|
+
maxPollDelay?: string;
|
|
799
|
+
/** Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5. */
|
|
800
|
+
pollDelayMultiplier?: number;
|
|
801
|
+
/** Total polling timeout. Default value: 5 minutes. */
|
|
802
|
+
totalPollTimeout?: string;
|
|
803
|
+
}
|
|
727
804
|
interface Method {
|
|
728
805
|
/** The simple name of this method. */
|
|
729
806
|
name?: string;
|
|
@@ -740,6 +817,16 @@ declare namespace gapi.client {
|
|
|
740
817
|
/** The source syntax of this method. */
|
|
741
818
|
syntax?: string;
|
|
742
819
|
}
|
|
820
|
+
interface MethodSettings {
|
|
821
|
+
/**
|
|
822
|
+
* 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
|
|
823
|
+
* 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:
|
|
824
|
+
* seconds: 360 # 6 minutes total_poll_timeout: seconds: 54000 # 90 minutes
|
|
825
|
+
*/
|
|
826
|
+
longRunning?: LongRunning;
|
|
827
|
+
/** The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options. */
|
|
828
|
+
selector?: string;
|
|
829
|
+
}
|
|
743
830
|
interface MetricDescriptor {
|
|
744
831
|
/** A detailed description of the metric, which can be used in documentation. */
|
|
745
832
|
description?: string;
|
|
@@ -871,6 +958,10 @@ declare namespace gapi.client {
|
|
|
871
958
|
/** The monitored resource type. The type must be defined in Service.monitored_resources section. */
|
|
872
959
|
monitoredResource?: string;
|
|
873
960
|
}
|
|
961
|
+
interface NodeSettings {
|
|
962
|
+
/** Some settings. */
|
|
963
|
+
common?: CommonLanguageSettings;
|
|
964
|
+
}
|
|
874
965
|
interface OAuthRequirements {
|
|
875
966
|
/**
|
|
876
967
|
* The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes:
|
|
@@ -938,6 +1029,37 @@ declare namespace gapi.client {
|
|
|
938
1029
|
/** Subpages of this page. The order of subpages specified here will be honored in the generated docset. */
|
|
939
1030
|
subpages?: Page[];
|
|
940
1031
|
}
|
|
1032
|
+
interface PhpSettings {
|
|
1033
|
+
/** Some settings. */
|
|
1034
|
+
common?: CommonLanguageSettings;
|
|
1035
|
+
}
|
|
1036
|
+
interface Publishing {
|
|
1037
|
+
/** Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc. Example: "speech". */
|
|
1038
|
+
apiShortName?: string;
|
|
1039
|
+
/** GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API. */
|
|
1040
|
+
codeownerGithubTeams?: string[];
|
|
1041
|
+
/** A prefix used in sample code when demarking regions to be included in documentation. */
|
|
1042
|
+
docTagPrefix?: string;
|
|
1043
|
+
/** Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview */
|
|
1044
|
+
documentationUri?: string;
|
|
1045
|
+
/** GitHub label to apply to issues and pull requests opened for this API. */
|
|
1046
|
+
githubLabel?: string;
|
|
1047
|
+
/**
|
|
1048
|
+
* 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
|
|
1049
|
+
* discarded.
|
|
1050
|
+
*/
|
|
1051
|
+
librarySettings?: ClientLibrarySettings[];
|
|
1052
|
+
/** A list of API method settings, e.g. the behavior for methods that use the long-running operation pattern. */
|
|
1053
|
+
methodSettings?: MethodSettings[];
|
|
1054
|
+
/** Link to a place that API users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103 */
|
|
1055
|
+
newIssueUri?: string;
|
|
1056
|
+
/** For whom the client library is being published. */
|
|
1057
|
+
organization?: string;
|
|
1058
|
+
}
|
|
1059
|
+
interface PythonSettings {
|
|
1060
|
+
/** Some settings. */
|
|
1061
|
+
common?: CommonLanguageSettings;
|
|
1062
|
+
}
|
|
941
1063
|
interface Quota {
|
|
942
1064
|
/** List of QuotaLimit definitions for the service. */
|
|
943
1065
|
limits?: QuotaLimit[];
|
|
@@ -1043,6 +1165,10 @@ declare namespace gapi.client {
|
|
|
1043
1165
|
*/
|
|
1044
1166
|
unit?: string;
|
|
1045
1167
|
}
|
|
1168
|
+
interface RubySettings {
|
|
1169
|
+
/** Some settings. */
|
|
1170
|
+
common?: CommonLanguageSettings;
|
|
1171
|
+
}
|
|
1046
1172
|
interface Service {
|
|
1047
1173
|
/**
|
|
1048
1174
|
* The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20221117
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|