@maxim_mazurok/gapi.client.serviceusage-v1beta1 0.3.20260626 → 0.3.20260713
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 +48 -17
- package/package.json +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: 20260713
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -51,13 +51,12 @@ declare namespace gapi.client {
|
|
|
51
51
|
}
|
|
52
52
|
interface Analysis {
|
|
53
53
|
/** Output only. Analysis result of updating a policy. */
|
|
54
|
-
|
|
54
|
+
analysisResult?: AnalysisResult;
|
|
55
55
|
/** Output only. The type of analysis. */
|
|
56
56
|
analysisType?:
|
|
57
57
|
| 'ANALYSIS_TYPE_UNSPECIFIED'
|
|
58
58
|
| 'ANALYSIS_TYPE_DEPENDENCY'
|
|
59
|
-
| 'ANALYSIS_TYPE_RESOURCE_USAGE'
|
|
60
|
-
| 'ANALYSIS_TYPE_RESOURCE_EXISTENCE';
|
|
59
|
+
| 'ANALYSIS_TYPE_RESOURCE_USAGE';
|
|
61
60
|
/** Output only. The user friendly display name of the analysis type. E.g. service dependency analysis, service resource usage analysis, etc. */
|
|
62
61
|
displayName?: string;
|
|
63
62
|
/** The names of the service that has analysis result of warnings or blockers. Example: `services/storage.googleapis.com`. */
|
|
@@ -278,15 +277,15 @@ declare namespace gapi.client {
|
|
|
278
277
|
selectiveGapicGeneration?: SelectiveGapicGeneration;
|
|
279
278
|
}
|
|
280
279
|
interface ConsumerPolicy {
|
|
281
|
-
/**
|
|
282
|
-
|
|
283
|
-
/** Enable rules define usable services and
|
|
280
|
+
/** Output only. The time the policy was created. For singleton policies, this is the first touch of the policy. */
|
|
281
|
+
createTime?: string;
|
|
282
|
+
/** Enable rules define usable services and groups. There can currently be at most one `EnableRule`. This restriction will be lifted in later releases. */
|
|
284
283
|
enableRules?: EnableRule[];
|
|
285
284
|
/** An opaque tag indicating the current version of the policy, used for concurrency control. */
|
|
286
285
|
etag?: string;
|
|
287
|
-
/** Output only. The resource name of the policy.
|
|
286
|
+
/** Output only. The resource name of the policy. Only the `default` policy is supported: `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`, `organizations/12345/consumerPolicies/default`. */
|
|
288
287
|
name?: string;
|
|
289
|
-
/** The last
|
|
288
|
+
/** Output only. The time the policy was last updated. */
|
|
290
289
|
updateTime?: string;
|
|
291
290
|
}
|
|
292
291
|
interface ConsumerQuotaLimit {
|
|
@@ -437,9 +436,7 @@ declare namespace gapi.client {
|
|
|
437
436
|
/** Client and resource project enable type. */
|
|
438
437
|
enableType?:
|
|
439
438
|
'ENABLE_TYPE_UNSPECIFIED' | 'CLIENT' | 'RESOURCE' | 'V1_COMPATIBLE';
|
|
440
|
-
/**
|
|
441
|
-
groups?: string[];
|
|
442
|
-
/** DEPRECATED: Please use field `values`. Service should have prefix `services/`. The names of the services that are enabled. Example: `storage.googleapis.com`. */
|
|
439
|
+
/** The names of the services that are enabled. Example: `services/storage.googleapis.com`. */
|
|
443
440
|
services?: string[];
|
|
444
441
|
/** The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, `groups/googleServices`, `groups/allServices`. */
|
|
445
442
|
values?: string[];
|
|
@@ -657,6 +654,31 @@ declare namespace gapi.client {
|
|
|
657
654
|
/** Configuration controlling usage of this service. */
|
|
658
655
|
usage?: Usage;
|
|
659
656
|
}
|
|
657
|
+
interface GoogleApiServiceusageV2alphaAnalysis {
|
|
658
|
+
/** Output only. Analysis result of updating a policy. */
|
|
659
|
+
analysisResult?: GoogleApiServiceusageV2alphaAnalysisResult;
|
|
660
|
+
/** Output only. The type of analysis. */
|
|
661
|
+
analysisType?:
|
|
662
|
+
| 'ANALYSIS_TYPE_UNSPECIFIED'
|
|
663
|
+
| 'ANALYSIS_TYPE_DEPENDENCY'
|
|
664
|
+
| 'ANALYSIS_TYPE_RESOURCE_USAGE'
|
|
665
|
+
| 'ANALYSIS_TYPE_RESOURCE_EXISTENCE';
|
|
666
|
+
/** Output only. The user friendly display name of the analysis type. E.g. service dependency analysis, service resource usage analysis, etc. */
|
|
667
|
+
displayName?: string;
|
|
668
|
+
/** The names of the service that has analysis result of warnings or blockers. Example: `services/storage.googleapis.com`. */
|
|
669
|
+
service?: string;
|
|
670
|
+
}
|
|
671
|
+
interface GoogleApiServiceusageV2alphaAnalysisResult {
|
|
672
|
+
/** Blocking information that would prevent the policy changes at runtime. */
|
|
673
|
+
blockers?: GoogleApiServiceusageV2alphaImpact[];
|
|
674
|
+
/** Warning information indicating that the policy changes might be unsafe, but will not block the changes at runtime. */
|
|
675
|
+
warnings?: GoogleApiServiceusageV2alphaImpact[];
|
|
676
|
+
}
|
|
677
|
+
interface GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyMetadata {}
|
|
678
|
+
interface GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyResponse {
|
|
679
|
+
/** The list of analyses returned from performing the intended policy update analysis. The analysis is grouped by service name and different analysis types. The empty analysis list means that the consumer policy can be updated without any warnings or blockers. */
|
|
680
|
+
analysis?: GoogleApiServiceusageV2alphaAnalysis[];
|
|
681
|
+
}
|
|
660
682
|
interface GoogleApiServiceusageV2alphaConsumerPolicy {
|
|
661
683
|
/** 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 should be preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations) */
|
|
662
684
|
annotations?: {[P in string]: string};
|
|
@@ -675,6 +697,17 @@ declare namespace gapi.client {
|
|
|
675
697
|
/** The names of the services that are enabled. Example: `services/storage.googleapis.com`. */
|
|
676
698
|
services?: string[];
|
|
677
699
|
}
|
|
700
|
+
interface GoogleApiServiceusageV2alphaImpact {
|
|
701
|
+
/** Output only. User friendly impact detail in a free form message. */
|
|
702
|
+
detail?: string;
|
|
703
|
+
/** Output only. The type of impact. */
|
|
704
|
+
impactType?:
|
|
705
|
+
| 'IMPACT_TYPE_UNSPECIFIED'
|
|
706
|
+
| 'DEPENDENCY_MISSING_DEPENDENCIES'
|
|
707
|
+
| 'RESOURCE_EXISTENCE_PROJECT';
|
|
708
|
+
/** The parent resource that the analysis is based on and the service name that the analysis is for. Example: `projects/100/services/compute.googleapis.com`, folders/101/services/compute.googleapis.com` and `organizations/102/services/compute.googleapis.com`. Usually, the parent resource here is same as the parent resource of the analyzed policy. However, for some analysis types, the parent can be different. For example, for resource existence analysis, if the parent resource of the analyzed policy is a folder or an organization, the parent resource here can still be the project that contains the resources. */
|
|
709
|
+
parent?: string;
|
|
710
|
+
}
|
|
678
711
|
interface GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata {}
|
|
679
712
|
interface GoogleApiServiceusageV2betaAnalysis {
|
|
680
713
|
/** Output only. Analysis result of updating a policy. */
|
|
@@ -786,11 +819,9 @@ declare namespace gapi.client {
|
|
|
786
819
|
detail?: string;
|
|
787
820
|
/** Output only. The type of impact. */
|
|
788
821
|
impactType?:
|
|
789
|
-
| '
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
/** The parent resource that the analysis is based on and the service name that the analysis is for. Example: `projects/100/services/compute.googleapis.com`, folders/101/services/compute.googleapis.com` and `organizations/102/services/compute.googleapis.com`. Usually, the parent resource here is same as the parent resource of the analyzed policy. However, for some analysis types, the parent can be different. For example, for resource existence analysis, if the parent resource of the analyzed policy is a folder or an organization, the parent resource here can still be the project that contains the resources. */
|
|
793
|
-
parent?: string;
|
|
822
|
+
'IMPACT_TYPE_UNSPECIFIED' | 'DEPENDENCY_MISSING_DEPENDENCIES';
|
|
823
|
+
/** Output only. This field will be populated only for the `DEPENDENCY_MISSING_DEPENDENCIES` impact type. Example: `services/compute.googleapis.com`. Impact.detail will be in format : `missing service dependency: {missing_dependency}.` */
|
|
824
|
+
missingDependency?: string;
|
|
794
825
|
}
|
|
795
826
|
interface ImportAdminOverridesMetadata {}
|
|
796
827
|
interface ImportAdminOverridesRequest {
|