@maxim_mazurok/gapi.client.serviceusage-v1 0.0.20230503 → 0.0.20230508
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 +68 -2
- 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: 20230508
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -22,6 +22,17 @@ declare namespace gapi.client {
|
|
|
22
22
|
function load(name: "serviceusage", version: "v1", callback: () => any): void;
|
|
23
23
|
|
|
24
24
|
namespace serviceusage {
|
|
25
|
+
// tslint:disable-next-line:no-empty-interface
|
|
26
|
+
interface AddEnableRulesMetadata {
|
|
27
|
+
}
|
|
28
|
+
interface AddEnableRulesResponse {
|
|
29
|
+
/** The parent consumer policy. It can be `projects/12345/consumerPolicies/default`, or `folders/12345/consumerPolicies/default`, or `organizations/12345/consumerPolicies/default`. */
|
|
30
|
+
parent?:
|
|
31
|
+
string;
|
|
32
|
+
/** The values added to the parent consumer policy. */
|
|
33
|
+
values?:
|
|
34
|
+
ValueInfo[];
|
|
35
|
+
}
|
|
25
36
|
interface AdminQuotaPolicy {
|
|
26
37
|
/** The cloud resource container at which the quota policy is created. The format is `{container_type}/{container_number}` */
|
|
27
38
|
container?:
|
|
@@ -314,7 +325,10 @@ declare namespace gapi.client {
|
|
|
314
325
|
/** An opaque tag indicating the current version of the policy, used for concurrency control. */
|
|
315
326
|
etag?:
|
|
316
327
|
string;
|
|
317
|
-
/**
|
|
328
|
+
/**
|
|
329
|
+
* Output only. The resource name of the policy. For example, We only allow consumer policy name as "default" for now: `projects/12345/consumerPolicies/default`,
|
|
330
|
+
* `folders/12345/consumerPolicies/default`, `organizations/12345/consumerPolicies/default`. Legacy format: `projects/12345/consumerPoly`
|
|
331
|
+
*/
|
|
318
332
|
name?:
|
|
319
333
|
string;
|
|
320
334
|
/** The last-modified time. */
|
|
@@ -799,6 +813,11 @@ declare namespace gapi.client {
|
|
|
799
813
|
common?:
|
|
800
814
|
CommonLanguageSettings;
|
|
801
815
|
}
|
|
816
|
+
interface GroupValue {
|
|
817
|
+
/** The name of the value. Example: `groups/googleSerivice`. */
|
|
818
|
+
name?:
|
|
819
|
+
string;
|
|
820
|
+
}
|
|
802
821
|
interface Http {
|
|
803
822
|
/**
|
|
804
823
|
* 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
|
|
@@ -1416,6 +1435,14 @@ declare namespace gapi.client {
|
|
|
1416
1435
|
unit?:
|
|
1417
1436
|
string;
|
|
1418
1437
|
}
|
|
1438
|
+
// tslint:disable-next-line:no-empty-interface
|
|
1439
|
+
interface RemoveEnableRulesMetadata {
|
|
1440
|
+
}
|
|
1441
|
+
interface RemoveEnableRulesResponse {
|
|
1442
|
+
/** The parent consumer policy. It can be `projects/12345/consumerPolicies/default`, or `folders/12345/consumerPolicies/default`, or `organizations/12345/consumerPolicies/default`. */
|
|
1443
|
+
parent?:
|
|
1444
|
+
string;
|
|
1445
|
+
}
|
|
1419
1446
|
interface RubySettings {
|
|
1420
1447
|
/** Some settings. */
|
|
1421
1448
|
common?:
|
|
@@ -1429,6 +1456,20 @@ declare namespace gapi.client {
|
|
|
1429
1456
|
uniqueId?:
|
|
1430
1457
|
string;
|
|
1431
1458
|
}
|
|
1459
|
+
interface ServiceValue {
|
|
1460
|
+
/** The DNS address at which this service is available. */
|
|
1461
|
+
dnsAddress?:
|
|
1462
|
+
string;
|
|
1463
|
+
/** The name of the value. Example: `services/storage.googleapis.com`. */
|
|
1464
|
+
name?:
|
|
1465
|
+
string;
|
|
1466
|
+
/** A link to pricing information for the service, such as https://cloud.google.com/bigquery/pricing. */
|
|
1467
|
+
pricingLink?:
|
|
1468
|
+
string;
|
|
1469
|
+
/** Terms of Service */
|
|
1470
|
+
tos?:
|
|
1471
|
+
TermsOfService[];
|
|
1472
|
+
}
|
|
1432
1473
|
interface SourceContext {
|
|
1433
1474
|
/** The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`. */
|
|
1434
1475
|
fileName?:
|
|
@@ -1485,6 +1526,14 @@ declare namespace gapi.client {
|
|
|
1485
1526
|
rules?:
|
|
1486
1527
|
SystemParameterRule[];
|
|
1487
1528
|
}
|
|
1529
|
+
interface TermsOfService {
|
|
1530
|
+
/** Title of the terms of service. */
|
|
1531
|
+
title?:
|
|
1532
|
+
string;
|
|
1533
|
+
/** URL/URI of the terms of service. */
|
|
1534
|
+
uri?:
|
|
1535
|
+
string;
|
|
1536
|
+
}
|
|
1488
1537
|
interface Type {
|
|
1489
1538
|
/** The source edition string, only valid when syntax is SYNTAX_EDITIONS. */
|
|
1490
1539
|
edition?:
|
|
@@ -1547,6 +1596,23 @@ declare namespace gapi.client {
|
|
|
1547
1596
|
skipServiceControl?:
|
|
1548
1597
|
boolean;
|
|
1549
1598
|
}
|
|
1599
|
+
interface ValueInfo {
|
|
1600
|
+
/** The information related to the value if it is a service group. */
|
|
1601
|
+
groupValue?:
|
|
1602
|
+
GroupValue;
|
|
1603
|
+
/** For public services, it must point to the product landing page. For private services, it should point to the internal site. For service group, it is TBD. */
|
|
1604
|
+
learnmoreLink?:
|
|
1605
|
+
string;
|
|
1606
|
+
/** The information related to the value if it is a service. */
|
|
1607
|
+
serviceValue?:
|
|
1608
|
+
ServiceValue;
|
|
1609
|
+
/** The product summary for this value. */
|
|
1610
|
+
summary?:
|
|
1611
|
+
string;
|
|
1612
|
+
/** The product title for this value. */
|
|
1613
|
+
title?:
|
|
1614
|
+
string;
|
|
1615
|
+
}
|
|
1550
1616
|
interface OperationsResource {
|
|
1551
1617
|
/**
|
|
1552
1618
|
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support
|
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: 20230508
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|