@maxim_mazurok/gapi.client.dataflow-v1b3 0.0.20230608 → 0.0.20230703

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 +26 -9
  2. package/package.json +1 -1
  3. package/tests.ts +12 -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://dataflow.googleapis.com/$discovery/rest?version=v1b3
12
- // Revision: 20230608
12
+ // Revision: 20230703
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1327,6 +1327,9 @@ declare namespace gapi.client {
1327
1327
  /** Optional. Additional metadata for describing this parameter. */
1328
1328
  customMetadata?:
1329
1329
  { [P in string]: string };
1330
+ /** Optional. The options shown when ENUM ParameterType is specified. */
1331
+ enumOptions?:
1332
+ ParameterMetadataEnumOption[];
1330
1333
  /**
1331
1334
  * Optional. Specifies a group name for this parameter to be rendered under. Group header text will be rendered exactly as specified in this field. Only considered when parent_name is
1332
1335
  * NOT provided.
@@ -1364,6 +1367,17 @@ declare namespace gapi.client {
1364
1367
  regexes?:
1365
1368
  string[];
1366
1369
  }
1370
+ interface ParameterMetadataEnumOption {
1371
+ /** Optional. The description to display for the enum option. */
1372
+ description?:
1373
+ string;
1374
+ /** Optional. The label to display for the enum option. */
1375
+ label?:
1376
+ string;
1377
+ /** Required. The value of the enum option. */
1378
+ value?:
1379
+ string;
1380
+ }
1367
1381
  interface ParDoInstruction {
1368
1382
  /** The input. */
1369
1383
  input?:
@@ -1571,6 +1585,9 @@ declare namespace gapi.client {
1571
1585
  /** Optional. Whether to bypass the safety checks for the job's temporary directory. Use with caution. */
1572
1586
  bypassTempDirValidation?:
1573
1587
  boolean;
1588
+ /** Optional. The disk size, in gigabytes, to use on each remote Compute Engine worker instance. */
1589
+ diskSizeGb?:
1590
+ number;
1574
1591
  /** Optional. Whether to enable Streaming Engine for the job. */
1575
1592
  enableStreamingEngine?:
1576
1593
  boolean;
@@ -3651,8 +3668,8 @@ declare namespace gapi.client {
3651
3668
  string;
3652
3669
  /**
3653
3670
  * The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty,
3654
- * The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, we will first handle
3655
- * RequestedJobState and then the update_mask fields.
3671
+ * The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we
3672
+ * cannot update both state and mask.
3656
3673
  */
3657
3674
  updateMask?:
3658
3675
  string;
@@ -3705,8 +3722,8 @@ declare namespace gapi.client {
3705
3722
  string;
3706
3723
  /**
3707
3724
  * The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty,
3708
- * The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, we will first handle
3709
- * RequestedJobState and then the update_mask fields.
3725
+ * The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we
3726
+ * cannot update both state and mask.
3710
3727
  */
3711
3728
  updateMask?:
3712
3729
  string;
@@ -4832,8 +4849,8 @@ declare namespace gapi.client {
4832
4849
  string;
4833
4850
  /**
4834
4851
  * The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty,
4835
- * The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, we will first handle
4836
- * RequestedJobState and then the update_mask fields.
4852
+ * The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we
4853
+ * cannot update both state and mask.
4837
4854
  */
4838
4855
  updateMask?:
4839
4856
  string;
@@ -4886,8 +4903,8 @@ declare namespace gapi.client {
4886
4903
  string;
4887
4904
  /**
4888
4905
  * The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty,
4889
- * The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, we will first handle
4890
- * RequestedJobState and then the update_mask fields.
4906
+ * The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we
4907
+ * cannot update both state and mask.
4891
4908
  */
4892
4909
  updateMask?:
4893
4910
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataflow-v1b3",
3
- "version": "0.0.20230608",
3
+ "version": "0.0.20230703",
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: 20230608
6
+ // Revision: 20230703
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -1367,6 +1367,13 @@ gapi.load('client', async () => {
1367
1367
  customMetadata: {
1368
1368
  A: "Test string"
1369
1369
  },
1370
+ enumOptions: [
1371
+ {
1372
+ description: "Test string",
1373
+ label: "Test string",
1374
+ value: "Test string",
1375
+ }
1376
+ ],
1370
1377
  groupName: "Test string",
1371
1378
  helpText: "Test string",
1372
1379
  isOptional: true,
@@ -2630,6 +2637,7 @@ gapi.load('client', async () => {
2630
2637
  A: "Test string"
2631
2638
  },
2632
2639
  bypassTempDirValidation: true,
2640
+ diskSizeGb: 42,
2633
2641
  enableStreamingEngine: true,
2634
2642
  ipConfiguration: "Test string",
2635
2643
  kmsKeyName: "Test string",
@@ -2675,6 +2683,7 @@ gapi.load('client', async () => {
2675
2683
  A: "Test string"
2676
2684
  },
2677
2685
  bypassTempDirValidation: true,
2686
+ diskSizeGb: 42,
2678
2687
  enableStreamingEngine: true,
2679
2688
  ipConfiguration: "Test string",
2680
2689
  kmsKeyName: "Test string",
@@ -2722,6 +2731,7 @@ gapi.load('client', async () => {
2722
2731
  A: "Test string"
2723
2732
  },
2724
2733
  bypassTempDirValidation: true,
2734
+ diskSizeGb: 42,
2725
2735
  enableStreamingEngine: true,
2726
2736
  ipConfiguration: "Test string",
2727
2737
  kmsKeyName: "Test string",
@@ -2767,6 +2777,7 @@ gapi.load('client', async () => {
2767
2777
  A: "Test string"
2768
2778
  },
2769
2779
  bypassTempDirValidation: true,
2780
+ diskSizeGb: 42,
2770
2781
  enableStreamingEngine: true,
2771
2782
  ipConfiguration: "Test string",
2772
2783
  kmsKeyName: "Test string",