@maxim_mazurok/gapi.client.serviceusage-v1beta1 0.0.20230405 → 0.0.20230410

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.
Files changed (3) hide show
  1. package/index.d.ts +32 -1
  2. package/package.json +1 -1
  3. 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: 20230405
12
+ // Revision: 20230410
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -234,6 +234,21 @@ declare namespace gapi.client {
234
234
  /** Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest */
235
235
  referenceDocsUri?: string;
236
236
  }
237
+ interface ConsumerPolicy {
238
+ /**
239
+ * 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
240
+ * should be preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations)
241
+ */
242
+ annotations?: { [P in string]: string };
243
+ /** Enable rules define usable services and service groups. */
244
+ enableRules?: EnableRule[];
245
+ /** An opaque tag indicating the current version of the policy, used for concurrency control. */
246
+ etag?: string;
247
+ /** Output only. The resource name of the policy. For example, `projects/12345/consumerPolicy`, `folders/12345/consumerPolicy`, `organizations/12345/consumerPolicy`. */
248
+ name?: string;
249
+ /** The last-modified time. */
250
+ updateTime?: string;
251
+ }
237
252
  interface ConsumerQuotaLimit {
238
253
  /** Whether admin overrides are allowed on this limit */
239
254
  allowsAdminOverrides?: boolean;
@@ -410,6 +425,19 @@ declare namespace gapi.client {
410
425
  /** The service id of a service that could not be enabled. */
411
426
  serviceId?: string;
412
427
  }
428
+ interface EnableRule {
429
+ /** Client and resource project enable type. */
430
+ enableType?: string;
431
+ /**
432
+ * 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.
433
+ * Example: `groups/googleServices`.
434
+ */
435
+ groups?: string[];
436
+ /** DEPRECATED: Please use field `values`. Service should have prefix `services/`. The names of the services that are enabled. Example: `storage.googleapis.com`. */
437
+ services?: string[];
438
+ /** The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, groups/googleServices`, groups/allServices`. */
439
+ values?: string[];
440
+ }
413
441
  // tslint:disable-next-line:no-empty-interface
414
442
  interface EnableServiceRequest {
415
443
  }
@@ -1302,6 +1330,9 @@ declare namespace gapi.client {
1302
1330
  // tslint:disable-next-line:no-empty-interface
1303
1331
  interface UpdateAdminQuotaPolicyMetadata {
1304
1332
  }
1333
+ // tslint:disable-next-line:no-empty-interface
1334
+ interface UpdateConsumerPolicyLROMetadata {
1335
+ }
1305
1336
  interface Usage {
1306
1337
  /**
1307
1338
  * 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.serviceusage-v1beta1",
3
- "version": "0.0.20230405",
3
+ "version": "0.0.20230410",
4
4
  "description": "TypeScript typings for Service Usage API v1beta1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230405
6
+ // Revision: 20230410
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */