@maxim_mazurok/gapi.client.serviceusage-v1beta1 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=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20231114
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -877,6 +877,46 @@ declare namespace gapi.client {
|
|
|
877
877
|
usage?:
|
|
878
878
|
Usage;
|
|
879
879
|
}
|
|
880
|
+
interface GoogleApiServiceusageV2alphaConsumerPolicy {
|
|
881
|
+
/**
|
|
882
|
+
* 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
|
|
883
|
+
* should be preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations)
|
|
884
|
+
*/
|
|
885
|
+
annotations?:
|
|
886
|
+
{ [P in string]: string };
|
|
887
|
+
/** Output only. The time the policy was created. For singleton policies, this is the first touch of the policy. */
|
|
888
|
+
createTime?:
|
|
889
|
+
string;
|
|
890
|
+
/** Enable rules define usable services, groups, and categories. There can currently be at most one `EnableRule`. This restriction will be lifted in later releases. */
|
|
891
|
+
enableRules?:
|
|
892
|
+
GoogleApiServiceusageV2alphaEnableRule[];
|
|
893
|
+
/** Output only. An opaque tag indicating the current version of the policy, used for concurrency control. */
|
|
894
|
+
etag?:
|
|
895
|
+
string;
|
|
896
|
+
/**
|
|
897
|
+
* Output only. The resource name of the policy. Only the `default` policy is supported: `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`,
|
|
898
|
+
* `organizations/12345/consumerPolicies/default`.
|
|
899
|
+
*/
|
|
900
|
+
name?:
|
|
901
|
+
string;
|
|
902
|
+
/** Output only. The time the policy was last updated. */
|
|
903
|
+
updateTime?:
|
|
904
|
+
string;
|
|
905
|
+
}
|
|
906
|
+
interface GoogleApiServiceusageV2alphaEnableRule {
|
|
907
|
+
/** The names of the categories that are enabled. Example: `categories/googleServices`. */
|
|
908
|
+
categories?:
|
|
909
|
+
string[];
|
|
910
|
+
/** The names of the service groups that are enabled. Example: `services/container.googleapis.com/groups/dependencies`. */
|
|
911
|
+
groups?:
|
|
912
|
+
string[];
|
|
913
|
+
/** The names of the services that are enabled. Example: `services/storage.googleapis.com`. */
|
|
914
|
+
services?:
|
|
915
|
+
string[];
|
|
916
|
+
}
|
|
917
|
+
// tslint:disable-next-line:no-empty-interface
|
|
918
|
+
interface GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata {
|
|
919
|
+
}
|
|
880
920
|
interface GoSettings {
|
|
881
921
|
/** Some settings. */
|
|
882
922
|
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 */
|