@maxim_mazurok/gapi.client.serviceusage-v1 0.0.20230405 → 0.0.20230409
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 +32 -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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230409
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -241,6 +241,21 @@ declare namespace gapi.client {
|
|
|
241
241
|
/** Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest */
|
|
242
242
|
referenceDocsUri?: string;
|
|
243
243
|
}
|
|
244
|
+
interface ConsumerPolicy {
|
|
245
|
+
/**
|
|
246
|
+
* Optional. Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and
|
|
247
|
+
* should be preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations)
|
|
248
|
+
*/
|
|
249
|
+
annotations?: { [P in string]: string };
|
|
250
|
+
/** Enable rules define usable services and service groups. */
|
|
251
|
+
enableRules?: EnableRule[];
|
|
252
|
+
/** An opaque tag indicating the current version of the policy, used for concurrency control. */
|
|
253
|
+
etag?: string;
|
|
254
|
+
/** Output only. The resource name of the policy. For example, `projects/12345/consumerPolicy`, `folders/12345/consumerPolicy`, `organizations/12345/consumerPolicy`. */
|
|
255
|
+
name?: string;
|
|
256
|
+
/** The last-modified time. */
|
|
257
|
+
updateTime?: string;
|
|
258
|
+
}
|
|
244
259
|
interface Context {
|
|
245
260
|
/** A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. */
|
|
246
261
|
rules?: ContextRule[];
|
|
@@ -375,6 +390,19 @@ declare namespace gapi.client {
|
|
|
375
390
|
/** The service id of a service that could not be enabled. */
|
|
376
391
|
serviceId?: string;
|
|
377
392
|
}
|
|
393
|
+
interface EnableRule {
|
|
394
|
+
/** Client and resource project enable type. */
|
|
395
|
+
enableType?: string;
|
|
396
|
+
/**
|
|
397
|
+
* DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of the service groups that are enabled (Not Implemented). go/predefined-service-groups.
|
|
398
|
+
* Example: `groups/googleServices`.
|
|
399
|
+
*/
|
|
400
|
+
groups?: string[];
|
|
401
|
+
/** DEPRECATED: Please use field `values`. Service should have prefix `services/`. The names of the services that are enabled. Example: `storage.googleapis.com`. */
|
|
402
|
+
services?: string[];
|
|
403
|
+
/** The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, groups/googleServices`, groups/allServices`. */
|
|
404
|
+
values?: string[];
|
|
405
|
+
}
|
|
378
406
|
// tslint:disable-next-line:no-empty-interface
|
|
379
407
|
interface EnableServiceRequest {
|
|
380
408
|
}
|
|
@@ -1161,6 +1189,9 @@ declare namespace gapi.client {
|
|
|
1161
1189
|
// tslint:disable-next-line:no-empty-interface
|
|
1162
1190
|
interface UpdateAdminQuotaPolicyMetadata {
|
|
1163
1191
|
}
|
|
1192
|
+
// tslint:disable-next-line:no-empty-interface
|
|
1193
|
+
interface UpdateConsumerPolicyLROMetadata {
|
|
1194
|
+
}
|
|
1164
1195
|
interface Usage {
|
|
1165
1196
|
/**
|
|
1166
1197
|
* The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud
|
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: 20230409
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|