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

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 +23 -9
  2. package/package.json +1 -1
  3. package/tests.ts +8 -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: 20230529
12
+ // Revision: 20230619
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?:
@@ -3651,8 +3665,8 @@ declare namespace gapi.client {
3651
3665
  string;
3652
3666
  /**
3653
3667
  * 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.
3668
+ * 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
3669
+ * cannot update both state and mask.
3656
3670
  */
3657
3671
  updateMask?:
3658
3672
  string;
@@ -3705,8 +3719,8 @@ declare namespace gapi.client {
3705
3719
  string;
3706
3720
  /**
3707
3721
  * 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.
3722
+ * 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
3723
+ * cannot update both state and mask.
3710
3724
  */
3711
3725
  updateMask?:
3712
3726
  string;
@@ -4832,8 +4846,8 @@ declare namespace gapi.client {
4832
4846
  string;
4833
4847
  /**
4834
4848
  * 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.
4849
+ * 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
4850
+ * cannot update both state and mask.
4837
4851
  */
4838
4852
  updateMask?:
4839
4853
  string;
@@ -4886,8 +4900,8 @@ declare namespace gapi.client {
4886
4900
  string;
4887
4901
  /**
4888
4902
  * 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.
4903
+ * 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
4904
+ * cannot update both state and mask.
4891
4905
  */
4892
4906
  updateMask?:
4893
4907
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataflow-v1b3",
3
- "version": "0.0.20230529",
3
+ "version": "0.0.20230619",
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: 20230529
6
+ // Revision: 20230619
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,