@maxim_mazurok/gapi.client.appengine-v1 0.0.20221109 → 0.0.20221205
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 +50 -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://appengine.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20221205
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -610,6 +610,49 @@ declare namespace gapi.client {
|
|
|
610
610
|
/** Durable messages that persist on every operation poll. @OutputOnly */
|
|
611
611
|
warning?: string[];
|
|
612
612
|
}
|
|
613
|
+
interface ProjectEvent {
|
|
614
|
+
/** The unique ID for this project event. CLHs can use this value to dedup repeated calls. required */
|
|
615
|
+
eventId?: string;
|
|
616
|
+
phase?: string;
|
|
617
|
+
/** The projects metadata for this project. required */
|
|
618
|
+
projectMetadata?: ProjectsMetadata;
|
|
619
|
+
/** The state of the project that led to this event. */
|
|
620
|
+
state?: ProjectState;
|
|
621
|
+
}
|
|
622
|
+
interface ProjectsMetadata {
|
|
623
|
+
/** The consumer project id. */
|
|
624
|
+
consumerProjectId?: string;
|
|
625
|
+
/** The consumer project number. */
|
|
626
|
+
consumerProjectNumber?: string;
|
|
627
|
+
/**
|
|
628
|
+
* The CCFE state of the consumer project. It is the same state that is communicated to the CLH during project events. Notice that this field is not set in the DB, it is only set in
|
|
629
|
+
* this proto when communicated to CLH in the side channel.
|
|
630
|
+
*/
|
|
631
|
+
consumerProjectState?: string;
|
|
632
|
+
/** The service account authorized to operate on the consumer project. Note: CCFE only propagates P4SA with default tag to CLH. */
|
|
633
|
+
p4ServiceAccount?: string;
|
|
634
|
+
/** The producer project id. */
|
|
635
|
+
producerProjectId?: string;
|
|
636
|
+
/** The producer project number. */
|
|
637
|
+
producerProjectNumber?: string;
|
|
638
|
+
/** The tenant project id. */
|
|
639
|
+
tenantProjectId?: string;
|
|
640
|
+
/** The tenant project number. */
|
|
641
|
+
tenantProjectNumber?: string;
|
|
642
|
+
}
|
|
643
|
+
interface ProjectState {
|
|
644
|
+
currentReasons?: Reasons;
|
|
645
|
+
/**
|
|
646
|
+
* The previous and current reasons for a project state will be sent for a project event. CLHs that need to know the signal that caused the project event to trigger (edges) as opposed
|
|
647
|
+
* to just knowing the state can act upon differences in the previous and current reasons.Reasons will be provided for every system: service management, data governance, abuse, and
|
|
648
|
+
* billing.If this is a CCFE-triggered event used for reconciliation then the current reasons will be set to their *_CONTROL_PLANE_SYNC state. The previous reasons will contain the
|
|
649
|
+
* last known set of non-unknown non-control_plane_sync reasons for the state.Reasons fields are deprecated. New tenants should only use the state field. If you must know the reason(s)
|
|
650
|
+
* behind a specific state, please consult with CCFE team first (cloud-ccfe-discuss@google.com).
|
|
651
|
+
*/
|
|
652
|
+
previousReasons?: Reasons;
|
|
653
|
+
/** The current state of the project. This state is the culmination of all of the opinions from external systems that CCFE knows about of the project. */
|
|
654
|
+
state?: string;
|
|
655
|
+
}
|
|
613
656
|
interface ReadinessCheck {
|
|
614
657
|
/** A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. */
|
|
615
658
|
appStartTimeout?: string;
|
|
@@ -626,6 +669,12 @@ declare namespace gapi.client {
|
|
|
626
669
|
/** Time before the check is considered failed. */
|
|
627
670
|
timeout?: string;
|
|
628
671
|
}
|
|
672
|
+
interface Reasons {
|
|
673
|
+
abuse?: string;
|
|
674
|
+
billing?: string;
|
|
675
|
+
dataGovernance?: string;
|
|
676
|
+
serviceManagement?: string;
|
|
677
|
+
}
|
|
629
678
|
// tslint:disable-next-line:no-empty-interface
|
|
630
679
|
interface RepairApplicationRequest {
|
|
631
680
|
}
|
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: 20221205
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|