@maxim_mazurok/gapi.client.serviceusage-v1beta1 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=v1beta1
|
|
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: "v1beta1", 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?:
|
|
@@ -306,7 +317,10 @@ declare namespace gapi.client {
|
|
|
306
317
|
/** An opaque tag indicating the current version of the policy, used for concurrency control. */
|
|
307
318
|
etag?:
|
|
308
319
|
string;
|
|
309
|
-
/**
|
|
320
|
+
/**
|
|
321
|
+
* Output only. The resource name of the policy. For example, We only allow consumer policy name as "default" for now: `projects/12345/consumerPolicies/default`,
|
|
322
|
+
* `folders/12345/consumerPolicies/default`, `organizations/12345/consumerPolicies/default`. Legacy format: `projects/12345/consumerPoly`
|
|
323
|
+
*/
|
|
310
324
|
name?:
|
|
311
325
|
string;
|
|
312
326
|
/** The last-modified time. */
|
|
@@ -844,6 +858,11 @@ declare namespace gapi.client {
|
|
|
844
858
|
common?:
|
|
845
859
|
CommonLanguageSettings;
|
|
846
860
|
}
|
|
861
|
+
interface GroupValue {
|
|
862
|
+
/** The name of the value. Example: `groups/googleSerivice`. */
|
|
863
|
+
name?:
|
|
864
|
+
string;
|
|
865
|
+
}
|
|
847
866
|
interface Http {
|
|
848
867
|
/**
|
|
849
868
|
* 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
|
|
@@ -1551,6 +1570,14 @@ declare namespace gapi.client {
|
|
|
1551
1570
|
unit?:
|
|
1552
1571
|
string;
|
|
1553
1572
|
}
|
|
1573
|
+
// tslint:disable-next-line:no-empty-interface
|
|
1574
|
+
interface RemoveEnableRulesMetadata {
|
|
1575
|
+
}
|
|
1576
|
+
interface RemoveEnableRulesResponse {
|
|
1577
|
+
/** The parent consumer policy. It can be `projects/12345/consumerPolicies/default`, or `folders/12345/consumerPolicies/default`, or `organizations/12345/consumerPolicies/default`. */
|
|
1578
|
+
parent?:
|
|
1579
|
+
string;
|
|
1580
|
+
}
|
|
1554
1581
|
interface RubySettings {
|
|
1555
1582
|
/** Some settings. */
|
|
1556
1583
|
common?:
|
|
@@ -1613,6 +1640,20 @@ declare namespace gapi.client {
|
|
|
1613
1640
|
uniqueId?:
|
|
1614
1641
|
string;
|
|
1615
1642
|
}
|
|
1643
|
+
interface ServiceValue {
|
|
1644
|
+
/** The DNS address at which this service is available. */
|
|
1645
|
+
dnsAddress?:
|
|
1646
|
+
string;
|
|
1647
|
+
/** The name of the value. Example: `services/storage.googleapis.com`. */
|
|
1648
|
+
name?:
|
|
1649
|
+
string;
|
|
1650
|
+
/** A link to pricing information for the service, such as https://cloud.google.com/bigquery/pricing. */
|
|
1651
|
+
pricingLink?:
|
|
1652
|
+
string;
|
|
1653
|
+
/** Terms of Service */
|
|
1654
|
+
tos?:
|
|
1655
|
+
TermsOfService[];
|
|
1656
|
+
}
|
|
1616
1657
|
interface SourceContext {
|
|
1617
1658
|
/** The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`. */
|
|
1618
1659
|
fileName?:
|
|
@@ -1669,6 +1710,14 @@ declare namespace gapi.client {
|
|
|
1669
1710
|
rules?:
|
|
1670
1711
|
SystemParameterRule[];
|
|
1671
1712
|
}
|
|
1713
|
+
interface TermsOfService {
|
|
1714
|
+
/** Title of the terms of service. */
|
|
1715
|
+
title?:
|
|
1716
|
+
string;
|
|
1717
|
+
/** URL/URI of the terms of service. */
|
|
1718
|
+
uri?:
|
|
1719
|
+
string;
|
|
1720
|
+
}
|
|
1672
1721
|
interface Type {
|
|
1673
1722
|
/** The source edition string, only valid when syntax is SYNTAX_EDITIONS. */
|
|
1674
1723
|
edition?:
|
|
@@ -1731,6 +1780,23 @@ declare namespace gapi.client {
|
|
|
1731
1780
|
skipServiceControl?:
|
|
1732
1781
|
boolean;
|
|
1733
1782
|
}
|
|
1783
|
+
interface ValueInfo {
|
|
1784
|
+
/** The information related to the value if it is a service group. */
|
|
1785
|
+
groupValue?:
|
|
1786
|
+
GroupValue;
|
|
1787
|
+
/** 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. */
|
|
1788
|
+
learnmoreLink?:
|
|
1789
|
+
string;
|
|
1790
|
+
/** The information related to the value if it is a service. */
|
|
1791
|
+
serviceValue?:
|
|
1792
|
+
ServiceValue;
|
|
1793
|
+
/** The product summary for this value. */
|
|
1794
|
+
summary?:
|
|
1795
|
+
string;
|
|
1796
|
+
/** The product title for this value. */
|
|
1797
|
+
title?:
|
|
1798
|
+
string;
|
|
1799
|
+
}
|
|
1734
1800
|
interface OperationsResource {
|
|
1735
1801
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1736
1802
|
get(request?: {
|
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 */
|