@maxim_mazurok/gapi.client.servicecontrol-v2 0.0.20230720 → 0.0.20230728

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 +28 -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://servicecontrol.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20230720
12
+ // Revision: 20230728
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -197,6 +197,9 @@ declare namespace gapi.client {
197
197
  */
198
198
  serviceAccountKeyName?:
199
199
  string;
200
+ /** Records the history of delegated resource access across Google services. */
201
+ serviceDelegationHistory?:
202
+ ServiceDelegationHistory;
200
203
  /**
201
204
  * The third party identification (if any) of the authenticated user making the request. When the JSON object represented here has a proto equivalent, the proto name will be indicated
202
205
  * in the `@‍type` property.
@@ -531,6 +534,30 @@ declare namespace gapi.client {
531
534
  thirdPartyPrincipal?:
532
535
  ThirdPartyPrincipal;
533
536
  }
537
+ interface ServiceDelegationHistory {
538
+ /** The original end user who initiated the request to GCP. */
539
+ originalPrincipal?:
540
+ string;
541
+ /** Data identifying the service specific jobs or units of work that were involved in a chain of service calls. */
542
+ serviceMetadata?:
543
+ ServiceMetadata[];
544
+ }
545
+ interface ServiceMetadata {
546
+ /** Additional metadata provided by service teams to describe service specific job information that was triggered by the original principal. */
547
+ jobMetadata?:
548
+ { [P in string]: any };
549
+ /**
550
+ * A string representing the principal_subject associated with the identity. For most identities, the format will be `principal://iam.googleapis.com/{identity pool
551
+ * name}/subject/{subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool
552
+ * name}[{subject}]` If the identity is a Google account (e.g. workspace user account or service account), this will be the email of the prefixed by `serviceAccount:`. For example:
553
+ * `serviceAccount:my-service-account@project-1.iam.gserviceaccount.com`. If the identity is an individual user, the identity will be formatted as: `user:user_ABC@email.com`.
554
+ */
555
+ principalSubject?:
556
+ string;
557
+ /** The service's fully qualified domain name, e.g. "dataproc.googleapis.com". */
558
+ serviceDomain?:
559
+ string;
560
+ }
534
561
  interface SpanContext {
535
562
  /**
536
563
  * The resource name of the span. The format is: projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID] `[TRACE_ID]` is a unique identifier for a trace within a project; it
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.servicecontrol-v2",
3
- "version": "0.0.20230720",
3
+ "version": "0.0.20230728",
4
4
  "description": "TypeScript typings for Service Control API v2",
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: 20230720
6
+ // Revision: 20230728
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */