@maxim_mazurok/gapi.client.appengine-v1alpha 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.
Files changed (3) hide show
  1. package/index.d.ts +50 -1
  2. package/package.json +1 -1
  3. 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=v1alpha
12
- // Revision: 20221109
12
+ // Revision: 20221205
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -241,6 +241,55 @@ declare namespace gapi.client {
241
241
  /** Durable messages that persist on every operation poll. @OutputOnly */
242
242
  warning?: string[];
243
243
  }
244
+ interface ProjectEvent {
245
+ /** The unique ID for this project event. CLHs can use this value to dedup repeated calls. required */
246
+ eventId?: string;
247
+ phase?: string;
248
+ /** The projects metadata for this project. required */
249
+ projectMetadata?: ProjectsMetadata;
250
+ /** The state of the project that led to this event. */
251
+ state?: ProjectState;
252
+ }
253
+ interface ProjectsMetadata {
254
+ /** The consumer project id. */
255
+ consumerProjectId?: string;
256
+ /** The consumer project number. */
257
+ consumerProjectNumber?: string;
258
+ /**
259
+ * 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
260
+ * this proto when communicated to CLH in the side channel.
261
+ */
262
+ consumerProjectState?: string;
263
+ /** The service account authorized to operate on the consumer project. Note: CCFE only propagates P4SA with default tag to CLH. */
264
+ p4ServiceAccount?: string;
265
+ /** The producer project id. */
266
+ producerProjectId?: string;
267
+ /** The producer project number. */
268
+ producerProjectNumber?: string;
269
+ /** The tenant project id. */
270
+ tenantProjectId?: string;
271
+ /** The tenant project number. */
272
+ tenantProjectNumber?: string;
273
+ }
274
+ interface ProjectState {
275
+ currentReasons?: Reasons;
276
+ /**
277
+ * 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
278
+ * 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
279
+ * 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
280
+ * 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)
281
+ * behind a specific state, please consult with CCFE team first (cloud-ccfe-discuss@google.com).
282
+ */
283
+ previousReasons?: Reasons;
284
+ /** 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. */
285
+ state?: string;
286
+ }
287
+ interface Reasons {
288
+ abuse?: string;
289
+ billing?: string;
290
+ dataGovernance?: string;
291
+ serviceManagement?: string;
292
+ }
244
293
  interface ResourceRecord {
245
294
  /** Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'. */
246
295
  name?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.appengine-v1alpha",
3
- "version": "0.0.20221109",
3
+ "version": "0.0.20221205",
4
4
  "description": "TypeScript typings for App Engine Admin API v1alpha",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20221109
6
+ // Revision: 20221205
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */