@maxim_mazurok/gapi.client.dataflow-v1b3 0.0.20230227 → 0.0.20230313

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 +42 -1
  2. package/package.json +1 -1
  3. package/tests.ts +20 -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: 20230227
12
+ // Revision: 20230313
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -742,6 +742,8 @@ declare namespace gapi.client {
742
742
  sdkVersion?: SdkVersion;
743
743
  /** Identification of a Spanner source used in the Dataflow job. */
744
744
  spannerDetails?: SpannerIODetails[];
745
+ /** List of display properties to help UI filter jobs. */
746
+ userDisplayProperties?: { [P in string]: string };
745
747
  }
746
748
  interface JobMetrics {
747
749
  /** All metrics for this job. */
@@ -991,6 +993,11 @@ declare namespace gapi.client {
991
993
  interface ParameterMetadata {
992
994
  /** Optional. Additional metadata for describing this parameter. */
993
995
  customMetadata?: { [P in string]: string };
996
+ /**
997
+ * 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
998
+ * NOT provided.
999
+ */
1000
+ groupName?: string;
994
1001
  /** Required. The help text to display for the parameter. */
995
1002
  helpText?: string;
996
1003
  /** Optional. Whether the parameter is optional. Defaults to false. */
@@ -1001,6 +1008,16 @@ declare namespace gapi.client {
1001
1008
  name?: string;
1002
1009
  /** Optional. The type of the parameter. Used for selecting input picker. */
1003
1010
  paramType?: string;
1011
+ /**
1012
+ * Optional. Specifies the name of the parent parameter. Used in conjunction with 'parent_trigger_values' to make this parameter conditional (will only be rendered conditionally).
1013
+ * Should be mappable to a ParameterMetadata.name field.
1014
+ */
1015
+ parentName?: string;
1016
+ /**
1017
+ * Optional. The value(s) of the 'parent_name' parameter which will trigger this parameter to be shown. If left empty, ANY non-empty value in parent_name will trigger this parameter to
1018
+ * be shown. Only considered when this parameter is conditional (when 'parent_name' has been provided).
1019
+ */
1020
+ parentTriggerValues?: string[];
1004
1021
  /** Optional. Regexes that the parameter must match. */
1005
1022
  regexes?: string[];
1006
1023
  }
@@ -2655,6 +2672,12 @@ declare namespace gapi.client {
2655
2672
  projectId: string;
2656
2673
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2657
2674
  quotaUser?: string;
2675
+ /**
2676
+ * 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,
2677
+ * 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
2678
+ * RequestedJobState and then the update_mask fields.
2679
+ */
2680
+ updateMask?: string;
2658
2681
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2659
2682
  upload_protocol?: string;
2660
2683
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -2687,6 +2710,12 @@ declare namespace gapi.client {
2687
2710
  projectId: string;
2688
2711
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2689
2712
  quotaUser?: string;
2713
+ /**
2714
+ * 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,
2715
+ * 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
2716
+ * RequestedJobState and then the update_mask fields.
2717
+ */
2718
+ updateMask?: string;
2690
2719
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2691
2720
  upload_protocol?: string;
2692
2721
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -3470,6 +3499,12 @@ declare namespace gapi.client {
3470
3499
  projectId: string;
3471
3500
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3472
3501
  quotaUser?: string;
3502
+ /**
3503
+ * 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,
3504
+ * 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
3505
+ * RequestedJobState and then the update_mask fields.
3506
+ */
3507
+ updateMask?: string;
3473
3508
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3474
3509
  upload_protocol?: string;
3475
3510
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -3502,6 +3537,12 @@ declare namespace gapi.client {
3502
3537
  projectId: string;
3503
3538
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3504
3539
  quotaUser?: string;
3540
+ /**
3541
+ * 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,
3542
+ * 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
3543
+ * RequestedJobState and then the update_mask fields.
3544
+ */
3545
+ updateMask?: string;
3505
3546
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3506
3547
  upload_protocol?: string;
3507
3548
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataflow-v1b3",
3
- "version": "0.0.20230227",
3
+ "version": "0.0.20230313",
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: 20230227
6
+ // Revision: 20230313
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -301,6 +301,9 @@ gapi.load('client', async () => {
301
301
  projectId: "Test string",
302
302
  }
303
303
  ],
304
+ userDisplayProperties: {
305
+ A: "Test string"
306
+ },
304
307
  },
305
308
  labels: {
306
309
  A: "Test string"
@@ -481,6 +484,7 @@ gapi.load('client', async () => {
481
484
  jobId: "Test string",
482
485
  location: "Test string",
483
486
  projectId: "Test string",
487
+ updateMask: "Test string",
484
488
  }, {
485
489
  clientRequestId: "Test string",
486
490
  createdFromSnapshotId: "Test string",
@@ -656,6 +660,9 @@ gapi.load('client', async () => {
656
660
  projectId: "Test string",
657
661
  }
658
662
  ],
663
+ userDisplayProperties: {
664
+ A: "Test string"
665
+ },
659
666
  },
660
667
  labels: {
661
668
  A: "Test string"
@@ -1351,11 +1358,16 @@ gapi.load('client', async () => {
1351
1358
  customMetadata: {
1352
1359
  A: "Test string"
1353
1360
  },
1361
+ groupName: "Test string",
1354
1362
  helpText: "Test string",
1355
1363
  isOptional: true,
1356
1364
  label: "Test string",
1357
1365
  name: "Test string",
1358
1366
  paramType: "Test string",
1367
+ parentName: "Test string",
1368
+ parentTriggerValues: [
1369
+ "Test string"
1370
+ ],
1359
1371
  regexes: [
1360
1372
  "Test string"
1361
1373
  ],
@@ -1597,6 +1609,9 @@ gapi.load('client', async () => {
1597
1609
  projectId: "Test string",
1598
1610
  }
1599
1611
  ],
1612
+ userDisplayProperties: {
1613
+ A: "Test string"
1614
+ },
1600
1615
  },
1601
1616
  labels: {
1602
1617
  A: "Test string"
@@ -1786,6 +1801,7 @@ gapi.load('client', async () => {
1786
1801
  jobId: "Test string",
1787
1802
  location: "Test string",
1788
1803
  projectId: "Test string",
1804
+ updateMask: "Test string",
1789
1805
  }, {
1790
1806
  clientRequestId: "Test string",
1791
1807
  createdFromSnapshotId: "Test string",
@@ -1961,6 +1977,9 @@ gapi.load('client', async () => {
1961
1977
  projectId: "Test string",
1962
1978
  }
1963
1979
  ],
1980
+ userDisplayProperties: {
1981
+ A: "Test string"
1982
+ },
1964
1983
  },
1965
1984
  labels: {
1966
1985
  A: "Test string"