@maxim_mazurok/gapi.client.run-v1 0.0.20250117 → 0.0.20250131

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 +19 -17
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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://run.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250117
12
+ // Revision: 20250131
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Cloud Run Admin API v1 */
18
18
  function load(
19
- urlOrObject: 'https://run.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://run.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'run', version: 'v1'): Promise<void>;
@@ -452,6 +452,8 @@ declare namespace gapi.client {
452
452
  machineType?: string;
453
453
  /** Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. */
454
454
  pool?: GoogleDevtoolsCloudbuildV1PoolOption;
455
+ /** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
456
+ pubsubTopic?: string;
455
457
  /** Requested verifiability options. */
456
458
  requestedVerifyOption?: string;
457
459
  /** A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. */
@@ -1549,7 +1551,7 @@ declare namespace gapi.client {
1549
1551
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1550
1552
  uploadType?: string;
1551
1553
  },
1552
- body: DomainMapping
1554
+ body: DomainMapping,
1553
1555
  ): Request<DomainMapping>;
1554
1556
  /** Delete a domain mapping. */
1555
1557
  delete(request?: {
@@ -1712,7 +1714,7 @@ declare namespace gapi.client {
1712
1714
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1713
1715
  uploadType?: string;
1714
1716
  },
1715
- body: CancelExecutionRequest
1717
+ body: CancelExecutionRequest,
1716
1718
  ): Request<Execution>;
1717
1719
  /** Delete an execution. */
1718
1720
  delete(request?: {
@@ -1873,7 +1875,7 @@ declare namespace gapi.client {
1873
1875
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1874
1876
  uploadType?: string;
1875
1877
  },
1876
- body: Job
1878
+ body: Job,
1877
1879
  ): Request<Job>;
1878
1880
  /** Delete a job. */
1879
1881
  delete(request?: {
@@ -2032,7 +2034,7 @@ declare namespace gapi.client {
2032
2034
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2033
2035
  uploadType?: string;
2034
2036
  },
2035
- body: Job
2037
+ body: Job,
2036
2038
  ): Request<Job>;
2037
2039
  /** Trigger creation of a new execution of this job. */
2038
2040
  run(request: {
@@ -2090,7 +2092,7 @@ declare namespace gapi.client {
2090
2092
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2091
2093
  uploadType?: string;
2092
2094
  },
2093
- body: RunJobRequest
2095
+ body: RunJobRequest,
2094
2096
  ): Request<Execution>;
2095
2097
  }
2096
2098
  interface RevisionsResource {
@@ -2329,7 +2331,7 @@ declare namespace gapi.client {
2329
2331
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2330
2332
  uploadType?: string;
2331
2333
  },
2332
- body: Service
2334
+ body: Service,
2333
2335
  ): Request<Service>;
2334
2336
  /** Deletes the provided service. This will cause the Service to stop serving traffic and will delete all associated Revisions. */
2335
2337
  delete(request?: {
@@ -2494,7 +2496,7 @@ declare namespace gapi.client {
2494
2496
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2495
2497
  uploadType?: string;
2496
2498
  },
2497
- body: Service
2499
+ body: Service,
2498
2500
  ): Request<Service>;
2499
2501
  }
2500
2502
  interface TasksResource {
@@ -2775,7 +2777,7 @@ declare namespace gapi.client {
2775
2777
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2776
2778
  uploadType?: string;
2777
2779
  },
2778
- body: DomainMapping
2780
+ body: DomainMapping,
2779
2781
  ): Request<DomainMapping>;
2780
2782
  /** Delete a domain mapping. */
2781
2783
  delete(request?: {
@@ -2939,7 +2941,7 @@ declare namespace gapi.client {
2939
2941
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2940
2942
  uploadType?: string;
2941
2943
  },
2942
- body: SetIamPolicyRequest
2944
+ body: SetIamPolicyRequest,
2943
2945
  ): Request<Policy>;
2944
2946
  /** Returns permissions that a caller has on the specified job. There are no permissions required for making this API call. */
2945
2947
  testIamPermissions(
@@ -2969,7 +2971,7 @@ declare namespace gapi.client {
2969
2971
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2970
2972
  uploadType?: string;
2971
2973
  },
2972
- body: TestIamPermissionsRequest
2974
+ body: TestIamPermissionsRequest,
2973
2975
  ): Request<TestIamPermissionsResponse>;
2974
2976
  }
2975
2977
  interface OperationsResource {
@@ -3116,7 +3118,7 @@ declare namespace gapi.client {
3116
3118
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3117
3119
  uploadType?: string;
3118
3120
  },
3119
- body: GoogleLongrunningWaitOperationRequest
3121
+ body: GoogleLongrunningWaitOperationRequest,
3120
3122
  ): Request<GoogleLongrunningOperation>;
3121
3123
  }
3122
3124
  interface RevisionsResource {
@@ -3355,7 +3357,7 @@ declare namespace gapi.client {
3355
3357
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3356
3358
  uploadType?: string;
3357
3359
  },
3358
- body: Service
3360
+ body: Service,
3359
3361
  ): Request<Service>;
3360
3362
  /** Deletes the provided service. This will cause the Service to stop serving traffic and will delete all associated Revisions. */
3361
3363
  delete(request?: {
@@ -3549,7 +3551,7 @@ declare namespace gapi.client {
3549
3551
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3550
3552
  uploadType?: string;
3551
3553
  },
3552
- body: Service
3554
+ body: Service,
3553
3555
  ): Request<Service>;
3554
3556
  /** Sets the IAM Access control policy for the specified Service. Overwrites any existing policy. */
3555
3557
  setIamPolicy(
@@ -3579,7 +3581,7 @@ declare namespace gapi.client {
3579
3581
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3580
3582
  uploadType?: string;
3581
3583
  },
3582
- body: SetIamPolicyRequest
3584
+ body: SetIamPolicyRequest,
3583
3585
  ): Request<Policy>;
3584
3586
  /** Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call. */
3585
3587
  testIamPermissions(
@@ -3609,7 +3611,7 @@ declare namespace gapi.client {
3609
3611
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3610
3612
  uploadType?: string;
3611
3613
  },
3612
- body: TestIamPermissionsRequest
3614
+ body: TestIamPermissionsRequest,
3613
3615
  ): Request<TestIamPermissionsResponse>;
3614
3616
  }
3615
3617
  interface LocationsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.run-v1",
3
- "version": "0.0.20250117",
3
+ "version": "0.0.20250131",
4
4
  "description": "TypeScript typings for Cloud Run Admin API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.run
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  } else {
63
63
  /* handle authorization error */
64
64
  }
65
- }
65
+ },
66
66
  );
67
67
  ```
68
68