@googleapis/dataform 17.0.0 → 17.2.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/v1.ts CHANGED
@@ -291,6 +291,10 @@ export namespace dataform_v1 {
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_v1 {
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
  */
@@ -848,6 +856,32 @@ export namespace dataform_v1 {
848
856
  */
849
857
  repository?: Schema$Repository;
850
858
  }
859
+ /**
860
+ * Configures the destination for a repository snapshot.
861
+ */
862
+ export interface Schema$GcsRepositorySnapshotDestination {
863
+ /**
864
+ * Optional. The Google Cloud Storage destination to upload the repository snapshot to. Format: `gs://bucket-name/path/`.
865
+ */
866
+ repositorySnapshotUri?: string | null;
867
+ }
868
+ /**
869
+ * Metadata about a repository snapshot stored in Google Cloud Storage.
870
+ */
871
+ export interface Schema$GcsRepositorySnapshotMetadata {
872
+ /**
873
+ * Output only. The crc32c checksum of the repository snapshot, big-endian base64 encoded.
874
+ */
875
+ crc32cChecksum?: string | null;
876
+ /**
877
+ * Output only. The generation number of the Cloud Storage object. See https://cloud.google.com/storage/docs/metadata#generation-number.
878
+ */
879
+ generation?: string | null;
880
+ /**
881
+ * Output only. The Google Cloud Storage URI of the repository snapshot.
882
+ */
883
+ repositorySnapshotUri?: string | null;
884
+ }
851
885
  /**
852
886
  * Controls Git remote configuration for a repository.
853
887
  */
@@ -935,7 +969,12 @@ export namespace dataform_v1 {
935
969
  /**
936
970
  * `InstallNpmPackages` request message.
937
971
  */
938
- export interface Schema$InstallNpmPackagesRequest {}
972
+ export interface Schema$InstallNpmPackagesRequest {
973
+ /**
974
+ * Optional. The pipeline options which defines the pipeline type and path within the Git repository.
975
+ */
976
+ pipelineConfig?: Schema$PipelineConfig;
977
+ }
939
978
  /**
940
979
  * `InstallNpmPackages` response message.
941
980
  */
@@ -1258,6 +1297,10 @@ export namespace dataform_v1 {
1258
1297
  * Output only. The code contents of a Notebook to be run.
1259
1298
  */
1260
1299
  contents?: string | null;
1300
+ /**
1301
+ * Output only. The path to the notebook file in the repository.
1302
+ */
1303
+ filePath?: string | null;
1261
1304
  /**
1262
1305
  * 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.
1263
1306
  */
@@ -1275,6 +1318,10 @@ export namespace dataform_v1 {
1275
1318
  * Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.
1276
1319
  */
1277
1320
  gcsOutputBucket?: string | null;
1321
+ /**
1322
+ * 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/`.
1323
+ */
1324
+ gcsRepositorySnapshotDestination?: Schema$GcsRepositorySnapshotDestination;
1278
1325
  }
1279
1326
  /**
1280
1327
  * This resource represents a long-running operation that is the result of a network API call.
@@ -1363,6 +1410,19 @@ export namespace dataform_v1 {
1363
1410
  */
1364
1411
  tags?: string[] | null;
1365
1412
  }
1413
+ /**
1414
+ * Defines the pipeline type and path within the Git repository.
1415
+ */
1416
+ export interface Schema$PipelineConfig {
1417
+ /**
1418
+ * 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.
1419
+ */
1420
+ path?: string | null;
1421
+ /**
1422
+ * Required. The type of the pipeline.
1423
+ */
1424
+ pipelineType?: string | null;
1425
+ }
1366
1426
  /**
1367
1427
  * 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/).
1368
1428
  */
@@ -1676,7 +1736,7 @@ export namespace dataform_v1 {
1676
1736
  */
1677
1737
  releaseCompilationResult?: string | null;
1678
1738
  /**
1679
- * 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.
1739
+ * 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`.
1680
1740
  */
1681
1741
  timeZone?: string | null;
1682
1742
  }
@@ -2066,7 +2126,7 @@ export namespace dataform_v1 {
2066
2126
  */
2067
2127
  releaseConfig?: string | null;
2068
2128
  /**
2069
- * 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.
2129
+ * 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`.
2070
2130
  */
2071
2131
  timeZone?: string | null;
2072
2132
  /**
@@ -2102,6 +2162,10 @@ export namespace dataform_v1 {
2102
2162
  * Output only. The workflow invocation's name.
2103
2163
  */
2104
2164
  name?: string | null;
2165
+ /**
2166
+ * Output only. The pipeline options which defines the pipeline type and path within the Git repository.
2167
+ */
2168
+ pipelineConfig?: Schema$PipelineConfig;
2105
2169
  /**
2106
2170
  * 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.
2107
2171
  */
@@ -7866,6 +7930,7 @@ export namespace dataform_v1 {
7866
7930
  * // "createTime": "my_createTime",
7867
7931
  * // "dataEncryptionState": {},
7868
7932
  * // "dataformCoreVersion": "my_dataformCoreVersion",
7933
+ * // "gcsRepositorySnapshotMetadata": {},
7869
7934
  * // "gitCommitish": "my_gitCommitish",
7870
7935
  * // "internalMetadata": "my_internalMetadata",
7871
7936
  * // "name": "my_name",
@@ -7885,6 +7950,7 @@ export namespace dataform_v1 {
7885
7950
  * // "createTime": "my_createTime",
7886
7951
  * // "dataEncryptionState": {},
7887
7952
  * // "dataformCoreVersion": "my_dataformCoreVersion",
7953
+ * // "gcsRepositorySnapshotMetadata": {},
7888
7954
  * // "gitCommitish": "my_gitCommitish",
7889
7955
  * // "internalMetadata": "my_internalMetadata",
7890
7956
  * // "name": "my_name",
@@ -8038,6 +8104,7 @@ export namespace dataform_v1 {
8038
8104
  * // "createTime": "my_createTime",
8039
8105
  * // "dataEncryptionState": {},
8040
8106
  * // "dataformCoreVersion": "my_dataformCoreVersion",
8107
+ * // "gcsRepositorySnapshotMetadata": {},
8041
8108
  * // "gitCommitish": "my_gitCommitish",
8042
8109
  * // "internalMetadata": "my_internalMetadata",
8043
8110
  * // "name": "my_name",
@@ -10396,6 +10463,7 @@ export namespace dataform_v1 {
10396
10463
  * // "invocationConfig": {},
10397
10464
  * // "invocationTiming": {},
10398
10465
  * // "name": "my_name",
10466
+ * // "pipelineConfig": {},
10399
10467
  * // "privateResourceMetadata": {},
10400
10468
  * // "resolvedCompilationResult": "my_resolvedCompilationResult",
10401
10469
  * // "state": "my_state",
@@ -10413,6 +10481,7 @@ export namespace dataform_v1 {
10413
10481
  * // "invocationConfig": {},
10414
10482
  * // "invocationTiming": {},
10415
10483
  * // "name": "my_name",
10484
+ * // "pipelineConfig": {},
10416
10485
  * // "privateResourceMetadata": {},
10417
10486
  * // "resolvedCompilationResult": "my_resolvedCompilationResult",
10418
10487
  * // "state": "my_state",
@@ -10700,6 +10769,7 @@ export namespace dataform_v1 {
10700
10769
  * // "invocationConfig": {},
10701
10770
  * // "invocationTiming": {},
10702
10771
  * // "name": "my_name",
10772
+ * // "pipelineConfig": {},
10703
10773
  * // "privateResourceMetadata": {},
10704
10774
  * // "resolvedCompilationResult": "my_resolvedCompilationResult",
10705
10775
  * // "state": "my_state",
@@ -12419,7 +12489,9 @@ export namespace dataform_v1 {
12419
12489
  * // Request body metadata
12420
12490
  * requestBody: {
12421
12491
  * // request body parameters
12422
- * // {}
12492
+ * // {
12493
+ * // "pipelineConfig": {}
12494
+ * // }
12423
12495
  * },
12424
12496
  * },
12425
12497
  * );