@maxim_mazurok/gapi.client.dataflow-v1b3 0.0.20230524 → 0.0.20230529

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 +9 -7
  2. package/package.json +1 -1
  3. package/tests.ts +6 -4
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://dataflow.googleapis.com/$discovery/rest?version=v1b3
12
- // Revision: 20230524
12
+ // Revision: 20230529
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -3194,7 +3194,7 @@ declare namespace gapi.client {
3194
3194
  body: ReportWorkItemStatusRequest): Request<ReportWorkItemStatusResponse>;
3195
3195
  }
3196
3196
  interface JobsResource {
3197
- /** List the jobs of a project across all regions. */
3197
+ /** List the jobs of a project across all regions. **Note:** This method doesn't support filtering the list of jobs by name. */
3198
3198
  aggregated(request?: {
3199
3199
  /** V1 error format. */
3200
3200
  "$.xgafv"?:
@@ -3220,7 +3220,7 @@ declare namespace gapi.client {
3220
3220
  /** The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job. */
3221
3221
  location?:
3222
3222
  string;
3223
- /** Optional. The job name. Optional. */
3223
+ /** Optional. The job name. */
3224
3224
  name?:
3225
3225
  string;
3226
3226
  /** OAuth 2.0 token for the current user. */
@@ -3461,7 +3461,8 @@ declare namespace gapi.client {
3461
3461
  /**
3462
3462
  * List the jobs of a project. To list the jobs of a project in a region, we recommend using `projects.locations.jobs.list` with a [regional endpoint]
3463
3463
  * (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To list the all jobs across all regions, use `projects.jobs.aggregated`. Using `projects.jobs.list` is not
3464
- * recommended, as you can only get the list of jobs that are running in `us-central1`.
3464
+ * recommended, because you can only get the list of jobs that are running in `us-central1`. `projects.locations.jobs.list` and `projects.jobs.list` support filtering the list of jobs
3465
+ * by name. Filtering by name isn't supported by `projects.jobs.aggregated`.
3465
3466
  */
3466
3467
  list(request?: {
3467
3468
  /** V1 error format. */
@@ -3488,7 +3489,7 @@ declare namespace gapi.client {
3488
3489
  /** The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job. */
3489
3490
  location?:
3490
3491
  string;
3491
- /** Optional. The job name. Optional. */
3492
+ /** Optional. The job name. */
3492
3493
  name?:
3493
3494
  string;
3494
3495
  /** OAuth 2.0 token for the current user. */
@@ -4635,7 +4636,8 @@ declare namespace gapi.client {
4635
4636
  /**
4636
4637
  * List the jobs of a project. To list the jobs of a project in a region, we recommend using `projects.locations.jobs.list` with a [regional endpoint]
4637
4638
  * (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To list the all jobs across all regions, use `projects.jobs.aggregated`. Using `projects.jobs.list` is not
4638
- * recommended, as you can only get the list of jobs that are running in `us-central1`.
4639
+ * recommended, because you can only get the list of jobs that are running in `us-central1`. `projects.locations.jobs.list` and `projects.jobs.list` support filtering the list of jobs
4640
+ * by name. Filtering by name isn't supported by `projects.jobs.aggregated`.
4639
4641
  */
4640
4642
  list(request?: {
4641
4643
  /** V1 error format. */
@@ -4662,7 +4664,7 @@ declare namespace gapi.client {
4662
4664
  /** The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job. */
4663
4665
  location:
4664
4666
  string;
4665
- /** Optional. The job name. Optional. */
4667
+ /** Optional. The job name. */
4666
4668
  name?:
4667
4669
  string;
4668
4670
  /** OAuth 2.0 token for the current user. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataflow-v1b3",
3
- "version": "0.0.20230524",
3
+ "version": "0.0.20230529",
4
4
  "description": "TypeScript typings for Dataflow API v1b3",
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: 20230524
6
+ // Revision: 20230529
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -106,7 +106,7 @@ gapi.load('client', async () => {
106
106
  }
107
107
  ],
108
108
  });
109
- /** List the jobs of a project across all regions. */
109
+ /** List the jobs of a project across all regions. **Note:** This method doesn't support filtering the list of jobs by name. */
110
110
  await gapi.client.dataflow.projects.jobs.aggregated({
111
111
  filter: "Test string",
112
112
  location: "Test string",
@@ -458,7 +458,8 @@ gapi.load('client', async () => {
458
458
  /**
459
459
  * List the jobs of a project. To list the jobs of a project in a region, we recommend using `projects.locations.jobs.list` with a [regional endpoint]
460
460
  * (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To list the all jobs across all regions, use `projects.jobs.aggregated`. Using `projects.jobs.list` is not
461
- * recommended, as you can only get the list of jobs that are running in `us-central1`.
461
+ * recommended, because you can only get the list of jobs that are running in `us-central1`. `projects.locations.jobs.list` and `projects.jobs.list` support filtering the list of jobs by
462
+ * name. Filtering by name isn't supported by `projects.jobs.aggregated`.
462
463
  */
463
464
  await gapi.client.dataflow.projects.jobs.list({
464
465
  filter: "Test string",
@@ -1782,7 +1783,8 @@ gapi.load('client', async () => {
1782
1783
  /**
1783
1784
  * List the jobs of a project. To list the jobs of a project in a region, we recommend using `projects.locations.jobs.list` with a [regional endpoint]
1784
1785
  * (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To list the all jobs across all regions, use `projects.jobs.aggregated`. Using `projects.jobs.list` is not
1785
- * recommended, as you can only get the list of jobs that are running in `us-central1`.
1786
+ * recommended, because you can only get the list of jobs that are running in `us-central1`. `projects.locations.jobs.list` and `projects.jobs.list` support filtering the list of jobs by
1787
+ * name. Filtering by name isn't supported by `projects.jobs.aggregated`.
1786
1788
  */
1787
1789
  await gapi.client.dataflow.projects.locations.jobs.list({
1788
1790
  filter: "Test string",