@maxim_mazurok/gapi.client.serviceusage-v1 0.0.20231106 → 0.0.20231114
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 +41 -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: 20231114
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -832,6 +832,46 @@ declare namespace gapi.client {
|
|
|
832
832
|
usage?:
|
|
833
833
|
Usage;
|
|
834
834
|
}
|
|
835
|
+
interface GoogleApiServiceusageV2alphaConsumerPolicy {
|
|
836
|
+
/**
|
|
837
|
+
* 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
|
|
838
|
+
* should be preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations)
|
|
839
|
+
*/
|
|
840
|
+
annotations?:
|
|
841
|
+
{ [P in string]: string };
|
|
842
|
+
/** Output only. The time the policy was created. For singleton policies, this is the first touch of the policy. */
|
|
843
|
+
createTime?:
|
|
844
|
+
string;
|
|
845
|
+
/** Enable rules define usable services, groups, and categories. There can currently be at most one `EnableRule`. This restriction will be lifted in later releases. */
|
|
846
|
+
enableRules?:
|
|
847
|
+
GoogleApiServiceusageV2alphaEnableRule[];
|
|
848
|
+
/** Output only. An opaque tag indicating the current version of the policy, used for concurrency control. */
|
|
849
|
+
etag?:
|
|
850
|
+
string;
|
|
851
|
+
/**
|
|
852
|
+
* Output only. The resource name of the policy. Only the `default` policy is supported: `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`,
|
|
853
|
+
* `organizations/12345/consumerPolicies/default`.
|
|
854
|
+
*/
|
|
855
|
+
name?:
|
|
856
|
+
string;
|
|
857
|
+
/** Output only. The time the policy was last updated. */
|
|
858
|
+
updateTime?:
|
|
859
|
+
string;
|
|
860
|
+
}
|
|
861
|
+
interface GoogleApiServiceusageV2alphaEnableRule {
|
|
862
|
+
/** The names of the categories that are enabled. Example: `categories/googleServices`. */
|
|
863
|
+
categories?:
|
|
864
|
+
string[];
|
|
865
|
+
/** The names of the service groups that are enabled. Example: `services/container.googleapis.com/groups/dependencies`. */
|
|
866
|
+
groups?:
|
|
867
|
+
string[];
|
|
868
|
+
/** The names of the services that are enabled. Example: `services/storage.googleapis.com`. */
|
|
869
|
+
services?:
|
|
870
|
+
string[];
|
|
871
|
+
}
|
|
872
|
+
// tslint:disable-next-line:no-empty-interface
|
|
873
|
+
interface GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata {
|
|
874
|
+
}
|
|
835
875
|
interface GoSettings {
|
|
836
876
|
/** Some settings. */
|
|
837
877
|
common?:
|
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: 20231114
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|