@googleapis/dataform 17.0.0 → 17.1.0

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.
package/v1beta1.ts CHANGED
@@ -291,6 +291,10 @@ export namespace dataform_v1beta1 {
291
291
  * Optional. The default schema (BigQuery dataset ID).
292
292
  */
293
293
  defaultSchema?: string | null;
294
+ /**
295
+ * Optional. The pipeline options which defines the pipeline type and path within the Git repository.
296
+ */
297
+ pipelineConfig?: Schema$PipelineConfig;
294
298
  /**
295
299
  * Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
296
300
  */
@@ -460,6 +464,10 @@ export namespace dataform_v1beta1 {
460
464
  * Output only. The version of `@dataform/core` that was used for compilation.
461
465
  */
462
466
  dataformCoreVersion?: string | null;
467
+ /**
468
+ * Output only. Metadata about the repository snapshot used by scheduled notebooks.
469
+ */
470
+ gcsRepositorySnapshotMetadata?: Schema$GcsRepositorySnapshotMetadata;
463
471
  /**
464
472
  * Immutable. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1`
465
473
  */
@@ -857,6 +865,32 @@ export namespace dataform_v1beta1 {
857
865
  */
858
866
  repository?: Schema$Repository;
859
867
  }
868
+ /**
869
+ * Configures the destination for a repository snapshot.
870
+ */
871
+ export interface Schema$GcsRepositorySnapshotDestination {
872
+ /**
873
+ * Optional. The Google Cloud Storage destination to upload the repository snapshot to. Format: `gs://bucket-name/path/`.
874
+ */
875
+ repositorySnapshotUri?: string | null;
876
+ }
877
+ /**
878
+ * Metadata about a repository snapshot stored in Google Cloud Storage.
879
+ */
880
+ export interface Schema$GcsRepositorySnapshotMetadata {
881
+ /**
882
+ * Output only. The crc32c checksum of the repository snapshot, big-endian base64 encoded.
883
+ */
884
+ crc32cChecksum?: string | null;
885
+ /**
886
+ * Output only. The generation number of the Cloud Storage object. See https://cloud.google.com/storage/docs/metadata#generation-number.
887
+ */
888
+ generation?: string | null;
889
+ /**
890
+ * Output only. The Google Cloud Storage URI of the repository snapshot.
891
+ */
892
+ repositorySnapshotUri?: string | null;
893
+ }
860
894
  /**
861
895
  * Controls Git remote configuration for a repository.
862
896
  */
@@ -944,7 +978,12 @@ export namespace dataform_v1beta1 {
944
978
  /**
945
979
  * `InstallNpmPackages` request message.
946
980
  */
947
- export interface Schema$InstallNpmPackagesRequest {}
981
+ export interface Schema$InstallNpmPackagesRequest {
982
+ /**
983
+ * Optional. The pipeline options which defines the pipeline type and path within the Git repository.
984
+ */
985
+ pipelineConfig?: Schema$PipelineConfig;
986
+ }
948
987
  /**
949
988
  * `InstallNpmPackages` response message.
950
989
  */
@@ -1267,6 +1306,10 @@ export namespace dataform_v1beta1 {
1267
1306
  * Output only. The code contents of a Notebook to be run.
1268
1307
  */
1269
1308
  contents?: string | null;
1309
+ /**
1310
+ * Output only. The path to the notebook file in the repository.
1311
+ */
1312
+ filePath?: string | null;
1270
1313
  /**
1271
1314
  * Output only. The ID of the Gemini Enterprise Agent Platform job that executed the notebook in contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set once the job has started to run.
1272
1315
  */
@@ -1284,6 +1327,10 @@ export namespace dataform_v1beta1 {
1284
1327
  * Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.
1285
1328
  */
1286
1329
  gcsOutputBucket?: string | null;
1330
+ /**
1331
+ * Optional. The Google Cloud Storage destination to upload the snapshot to. For empty URI it defaults to the provided gcs_output_bucket. Format: `gs://bucket-name/path/`.
1332
+ */
1333
+ gcsRepositorySnapshotDestination?: Schema$GcsRepositorySnapshotDestination;
1287
1334
  }
1288
1335
  /**
1289
1336
  * This resource represents a long-running operation that is the result of a network API call.
@@ -1372,6 +1419,19 @@ export namespace dataform_v1beta1 {
1372
1419
  */
1373
1420
  tags?: string[] | null;
1374
1421
  }
1422
+ /**
1423
+ * Defines the pipeline type and path within the Git repository.
1424
+ */
1425
+ export interface Schema$PipelineConfig {
1426
+ /**
1427
+ * Required. The relative path within the Git repository where the pipeline is defined. For example, for a Dataform pipeline, it is a path to the folder where `workflow_settings.yaml` or `dataform.json` is located.
1428
+ */
1429
+ path?: string | null;
1430
+ /**
1431
+ * Required. The type of the pipeline.
1432
+ */
1433
+ pipelineType?: string | null;
1434
+ }
1375
1435
  /**
1376
1436
  * An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] \}, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", \} \} ], "etag": "BwWWja0YfJA=", "version": 3 \} ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
1377
1437
  */
@@ -1685,7 +1745,7 @@ export namespace dataform_v1beta1 {
1685
1745
  */
1686
1746
  releaseCompilationResult?: string | null;
1687
1747
  /**
1688
- * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
1748
+ * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the [time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is `UTC`.
1689
1749
  */
1690
1750
  timeZone?: string | null;
1691
1751
  }
@@ -2101,7 +2161,7 @@ export namespace dataform_v1beta1 {
2101
2161
  */
2102
2162
  releaseConfig?: string | null;
2103
2163
  /**
2104
- * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
2164
+ * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the [time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is `UTC`.
2105
2165
  */
2106
2166
  timeZone?: string | null;
2107
2167
  /**
@@ -2109,7 +2169,7 @@ export namespace dataform_v1beta1 {
2109
2169
  */
2110
2170
  updateTime?: string | null;
2111
2171
  /**
2112
- * Optional. Optional trigger configuration for this workflow. If present, the workflow will be triggered based on the specified triggers.
2172
+ * Optional. Trigger configuration for this workflow. If present, the workflow will be triggered based on the specified triggers.
2113
2173
  */
2114
2174
  workflowTriggerConfig?: Schema$WorkflowTriggerConfig;
2115
2175
  }
@@ -2141,6 +2201,10 @@ export namespace dataform_v1beta1 {
2141
2201
  * Output only. The workflow invocation's name.
2142
2202
  */
2143
2203
  name?: string | null;
2204
+ /**
2205
+ * Output only. The pipeline options which defines the pipeline type and path within the Git repository.
2206
+ */
2207
+ pipelineConfig?: Schema$PipelineConfig;
2144
2208
  /**
2145
2209
  * Output only. Metadata indicating whether this resource is user-scoped. `WorkflowInvocation` resource is `user_scoped` only if it is sourced from a compilation result and the compilation result is user-scoped.
2146
2210
  */
@@ -2225,7 +2289,7 @@ export namespace dataform_v1beta1 {
2225
2289
  */
2226
2290
  maxWaitDuration?: string | null;
2227
2291
  /**
2228
- * Optional. Minimum duration between two consecutive executions. If not specified, the workflow will be executed every time trigger conditions are met and no ongoing workflow execution.
2292
+ * Optional. Minimum duration between two consecutive executions. If not specified, the workflow will be executed every time trigger conditions are met and there is no ongoing workflow execution.
2229
2293
  */
2230
2294
  minExecutionDuration?: string | null;
2231
2295
  /**
@@ -8122,6 +8186,7 @@ export namespace dataform_v1beta1 {
8122
8186
  * // "createTime": "my_createTime",
8123
8187
  * // "dataEncryptionState": {},
8124
8188
  * // "dataformCoreVersion": "my_dataformCoreVersion",
8189
+ * // "gcsRepositorySnapshotMetadata": {},
8125
8190
  * // "gitCommitish": "my_gitCommitish",
8126
8191
  * // "internalMetadata": "my_internalMetadata",
8127
8192
  * // "name": "my_name",
@@ -8141,6 +8206,7 @@ export namespace dataform_v1beta1 {
8141
8206
  * // "createTime": "my_createTime",
8142
8207
  * // "dataEncryptionState": {},
8143
8208
  * // "dataformCoreVersion": "my_dataformCoreVersion",
8209
+ * // "gcsRepositorySnapshotMetadata": {},
8144
8210
  * // "gitCommitish": "my_gitCommitish",
8145
8211
  * // "internalMetadata": "my_internalMetadata",
8146
8212
  * // "name": "my_name",
@@ -8294,6 +8360,7 @@ export namespace dataform_v1beta1 {
8294
8360
  * // "createTime": "my_createTime",
8295
8361
  * // "dataEncryptionState": {},
8296
8362
  * // "dataformCoreVersion": "my_dataformCoreVersion",
8363
+ * // "gcsRepositorySnapshotMetadata": {},
8297
8364
  * // "gitCommitish": "my_gitCommitish",
8298
8365
  * // "internalMetadata": "my_internalMetadata",
8299
8366
  * // "name": "my_name",
@@ -10663,6 +10730,7 @@ export namespace dataform_v1beta1 {
10663
10730
  * // "invocationConfig": {},
10664
10731
  * // "invocationTiming": {},
10665
10732
  * // "name": "my_name",
10733
+ * // "pipelineConfig": {},
10666
10734
  * // "privateResourceMetadata": {},
10667
10735
  * // "resolvedCompilationResult": "my_resolvedCompilationResult",
10668
10736
  * // "state": "my_state",
@@ -10680,6 +10748,7 @@ export namespace dataform_v1beta1 {
10680
10748
  * // "invocationConfig": {},
10681
10749
  * // "invocationTiming": {},
10682
10750
  * // "name": "my_name",
10751
+ * // "pipelineConfig": {},
10683
10752
  * // "privateResourceMetadata": {},
10684
10753
  * // "resolvedCompilationResult": "my_resolvedCompilationResult",
10685
10754
  * // "state": "my_state",
@@ -10967,6 +11036,7 @@ export namespace dataform_v1beta1 {
10967
11036
  * // "invocationConfig": {},
10968
11037
  * // "invocationTiming": {},
10969
11038
  * // "name": "my_name",
11039
+ * // "pipelineConfig": {},
10970
11040
  * // "privateResourceMetadata": {},
10971
11041
  * // "resolvedCompilationResult": "my_resolvedCompilationResult",
10972
11042
  * // "state": "my_state",
@@ -12692,7 +12762,9 @@ export namespace dataform_v1beta1 {
12692
12762
  * // Request body metadata
12693
12763
  * requestBody: {
12694
12764
  * // request body parameters
12695
- * // {}
12765
+ * // {
12766
+ * // "pipelineConfig": {}
12767
+ * // }
12696
12768
  * },
12697
12769
  * },
12698
12770
  * );