google-apis-dataform_v1beta1 0.60.0 → 0.62.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 329fde0a2c79c2a1b84dc67b1b7350f43181ad759d83e992412435a15123e1ac
4
- data.tar.gz: a4d7c677893943628c3ff06ba3bb2b911f9956d7c2d123af2ef38cf4d545988d
3
+ metadata.gz: 53337cf02b3dad92b3b7052ac8f88c4c04b794431983176fb499cfd4070d21b2
4
+ data.tar.gz: 378e73590358ce2912b747f80c975780fdc39d29e1110c97fc4c06b7b9b57ded
5
5
  SHA512:
6
- metadata.gz: 99bd1d3fd672d5ca3a9b413479f6a604a415f5749b2eda8475a3e06e8e47ad3bb5e28232c13a582469167b1d7106fa261f379e756f4c41d1edd0acf778171c2c
7
- data.tar.gz: e6bbf816dcd92011523d31052f4775ac11f9e560588513634707918f32cc7be0aafa5134af78f95692b111bbfa3a57e7b10f81098b77b38c72804672870b4fd3
6
+ metadata.gz: e91597b4f4c553d0e0dfd7c7798966965d1e0403b798a5b55c00c8047c9edec37954c21a57590e6df812af8dd71cfde2509d870971f193b63a9e2b4fb400aabb
7
+ data.tar.gz: 4e6239d26b52e0c310dfd25b15bc30e28475f50eefae484c00d8d5a5aa4bd119e2d4f3ced135bdaceffdd9ba589b05b6de37b4a292752dfba08ff19d527318da
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataform_v1beta1
2
2
 
3
+ ### v0.62.0 (2026-08-23)
4
+
5
+ * Regenerated from discovery document revision 20260819
6
+
7
+ ### v0.61.0 (2026-08-09)
8
+
9
+ * Regenerated from discovery document revision 20260802
10
+
3
11
  ### v0.60.0 (2026-06-28)
4
12
 
5
13
  * Regenerated from discovery document revision 20260621
@@ -328,6 +328,31 @@ module Google
328
328
  end
329
329
  end
330
330
 
331
+ # Contains metadata about a branch.
332
+ class BranchMetadata
333
+ include Google::Apis::Core::Hashable
334
+
335
+ # The branch name.
336
+ # Corresponds to the JSON property `branchName`
337
+ # @return [String]
338
+ attr_accessor :branch_name
339
+
340
+ # Represents a single commit log.
341
+ # Corresponds to the JSON property `lastCommit`
342
+ # @return [Google::Apis::DataformV1beta1::CommitLogEntry]
343
+ attr_accessor :last_commit
344
+
345
+ def initialize(**args)
346
+ update!(**args)
347
+ end
348
+
349
+ # Update properties of this object
350
+ def update!(**args)
351
+ @branch_name = args[:branch_name] if args.key?(:branch_name)
352
+ @last_commit = args[:last_commit] if args.key?(:last_commit)
353
+ end
354
+ end
355
+
331
356
  # The request message for Operations.CancelOperation.
332
357
  class CancelOperationRequest
333
358
  include Google::Apis::Core::Hashable
@@ -367,6 +392,44 @@ module Google
367
392
  end
368
393
  end
369
394
 
395
+ # `CheckoutWorkspaceBranch` request message.
396
+ class CheckoutWorkspaceBranchRequest
397
+ include Google::Apis::Core::Hashable
398
+
399
+ # Required. The name of the branch in the Git repository to which the workspace
400
+ # should be checked out.
401
+ # Corresponds to the JSON property `branch`
402
+ # @return [String]
403
+ attr_accessor :branch
404
+
405
+ # Optional. If set to true and the branch does not exist, it will be created.
406
+ # Otherwise, an error will be thrown.
407
+ # Corresponds to the JSON property `createIfNotExists`
408
+ # @return [Boolean]
409
+ attr_accessor :create_if_not_exists
410
+ alias_method :create_if_not_exists?, :create_if_not_exists
411
+
412
+ # Optional. The name of the branch in the Git repository from which the new
413
+ # branch should be created. If left unset, the workspace's current branch name
414
+ # will be used. Accepts only branch names from FetchWorkspaceBranches response,
415
+ # and can only be set if `create_if_not_exists` is true. Oherwise, an error will
416
+ # be thrown.
417
+ # Corresponds to the JSON property `sourceBranch`
418
+ # @return [String]
419
+ attr_accessor :source_branch
420
+
421
+ def initialize(**args)
422
+ update!(**args)
423
+ end
424
+
425
+ # Update properties of this object
426
+ def update!(**args)
427
+ @branch = args[:branch] if args.key?(:branch)
428
+ @create_if_not_exists = args[:create_if_not_exists] if args.key?(:create_if_not_exists)
429
+ @source_branch = args[:source_branch] if args.key?(:source_branch)
430
+ end
431
+ end
432
+
370
433
  # Configures various aspects of Dataform code compilation.
371
434
  class CodeCompilationConfig
372
435
  include Google::Apis::Core::Hashable
@@ -409,6 +472,11 @@ module Google
409
472
  # @return [String]
410
473
  attr_accessor :default_schema
411
474
 
475
+ # Defines the pipeline type and path within the Git repository.
476
+ # Corresponds to the JSON property `pipelineConfig`
477
+ # @return [Google::Apis::DataformV1beta1::PipelineConfig]
478
+ attr_accessor :pipeline_config
479
+
412
480
  # Optional. The suffix that should be appended to all schema (BigQuery dataset
413
481
  # ID) names.
414
482
  # Corresponds to the JSON property `schemaSuffix`
@@ -439,6 +507,7 @@ module Google
439
507
  @default_location = args[:default_location] if args.key?(:default_location)
440
508
  @default_notebook_runtime_options = args[:default_notebook_runtime_options] if args.key?(:default_notebook_runtime_options)
441
509
  @default_schema = args[:default_schema] if args.key?(:default_schema)
510
+ @pipeline_config = args[:pipeline_config] if args.key?(:pipeline_config)
442
511
  @schema_suffix = args[:schema_suffix] if args.key?(:schema_suffix)
443
512
  @table_prefix = args[:table_prefix] if args.key?(:table_prefix)
444
513
  @vars = args[:vars] if args.key?(:vars)
@@ -730,6 +799,11 @@ module Google
730
799
  # @return [String]
731
800
  attr_accessor :dataform_core_version
732
801
 
802
+ # Metadata about a repository snapshot stored in Google Cloud Storage.
803
+ # Corresponds to the JSON property `gcsRepositorySnapshotMetadata`
804
+ # @return [Google::Apis::DataformV1beta1::GcsRepositorySnapshotMetadata]
805
+ attr_accessor :gcs_repository_snapshot_metadata
806
+
733
807
  # Immutable. Git commit/tag/branch name at which the repository should be
734
808
  # compiled. Must exist in the remote repository. Examples: - a commit SHA: `
735
809
  # 12ade345` - a tag: `tag1` - a branch name: `branch1`
@@ -783,6 +857,7 @@ module Google
783
857
  @create_time = args[:create_time] if args.key?(:create_time)
784
858
  @data_encryption_state = args[:data_encryption_state] if args.key?(:data_encryption_state)
785
859
  @dataform_core_version = args[:dataform_core_version] if args.key?(:dataform_core_version)
860
+ @gcs_repository_snapshot_metadata = args[:gcs_repository_snapshot_metadata] if args.key?(:gcs_repository_snapshot_metadata)
786
861
  @git_commitish = args[:git_commitish] if args.key?(:git_commitish)
787
862
  @internal_metadata = args[:internal_metadata] if args.key?(:internal_metadata)
788
863
  @name = args[:name] if args.key?(:name)
@@ -1048,6 +1123,46 @@ module Google
1048
1123
  end
1049
1124
  end
1050
1125
 
1126
+ # `DeleteBranch` request message.
1127
+ class DeleteBranchRequest
1128
+ include Google::Apis::Core::Hashable
1129
+
1130
+ # Required. The name of the branch in the Git repository to delete.
1131
+ # Corresponds to the JSON property `branch`
1132
+ # @return [String]
1133
+ attr_accessor :branch
1134
+
1135
+ # Optional. If set to true, any non-pushed commits on the branch will be deleted.
1136
+ # Upstream branch name will be the same as the branch to delete.
1137
+ # Corresponds to the JSON property `force`
1138
+ # @return [Boolean]
1139
+ attr_accessor :force
1140
+ alias_method :force?, :force
1141
+
1142
+ def initialize(**args)
1143
+ update!(**args)
1144
+ end
1145
+
1146
+ # Update properties of this object
1147
+ def update!(**args)
1148
+ @branch = args[:branch] if args.key?(:branch)
1149
+ @force = args[:force] if args.key?(:force)
1150
+ end
1151
+ end
1152
+
1153
+ # `DeleteBranch` response message.
1154
+ class DeleteBranchResponse
1155
+ include Google::Apis::Core::Hashable
1156
+
1157
+ def initialize(**args)
1158
+ update!(**args)
1159
+ end
1160
+
1161
+ # Update properties of this object
1162
+ def update!(**args)
1163
+ end
1164
+ end
1165
+
1051
1166
  # Represents the delete file operation.
1052
1167
  class DeleteFile
1053
1168
  include Google::Apis::Core::Hashable
@@ -1282,6 +1397,25 @@ module Google
1282
1397
  end
1283
1398
  end
1284
1399
 
1400
+ # Response message for `FetchCurrentWorkspaceBranch` method.
1401
+ class FetchCurrentWorkspaceBranchResponse
1402
+ include Google::Apis::Core::Hashable
1403
+
1404
+ # The name of the current branch for the workspace.
1405
+ # Corresponds to the JSON property `branchName`
1406
+ # @return [String]
1407
+ attr_accessor :branch_name
1408
+
1409
+ def initialize(**args)
1410
+ update!(**args)
1411
+ end
1412
+
1413
+ # Update properties of this object
1414
+ def update!(**args)
1415
+ @branch_name = args[:branch_name] if args.key?(:branch_name)
1416
+ end
1417
+ end
1418
+
1285
1419
  # `FetchFileDiff` response message.
1286
1420
  class FetchFileDiffResponse
1287
1421
  include Google::Apis::Core::Hashable
@@ -1391,6 +1525,32 @@ module Google
1391
1525
  end
1392
1526
  end
1393
1527
 
1528
+ # Response message for `FetchWorkspaceBranches` method.
1529
+ class FetchWorkspaceBranchesResponse
1530
+ include Google::Apis::Core::Hashable
1531
+
1532
+ # The branches in the workspace.
1533
+ # Corresponds to the JSON property `branches`
1534
+ # @return [Array<Google::Apis::DataformV1beta1::BranchMetadata>]
1535
+ attr_accessor :branches
1536
+
1537
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1538
+ # field is omitted, there are no subsequent pages.
1539
+ # Corresponds to the JSON property `nextPageToken`
1540
+ # @return [String]
1541
+ attr_accessor :next_page_token
1542
+
1543
+ def initialize(**args)
1544
+ update!(**args)
1545
+ end
1546
+
1547
+ # Update properties of this object
1548
+ def update!(**args)
1549
+ @branches = args[:branches] if args.key?(:branches)
1550
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1551
+ end
1552
+ end
1553
+
1394
1554
  # Represents a single file operation to the repository.
1395
1555
  class FileOperation
1396
1556
  include Google::Apis::Core::Hashable
@@ -1557,6 +1717,59 @@ module Google
1557
1717
  end
1558
1718
  end
1559
1719
 
1720
+ # Configures the destination for a repository snapshot.
1721
+ class GcsRepositorySnapshotDestination
1722
+ include Google::Apis::Core::Hashable
1723
+
1724
+ # Optional. The Google Cloud Storage destination to upload the repository
1725
+ # snapshot to. Format: `gs://bucket-name/path/`.
1726
+ # Corresponds to the JSON property `repositorySnapshotUri`
1727
+ # @return [String]
1728
+ attr_accessor :repository_snapshot_uri
1729
+
1730
+ def initialize(**args)
1731
+ update!(**args)
1732
+ end
1733
+
1734
+ # Update properties of this object
1735
+ def update!(**args)
1736
+ @repository_snapshot_uri = args[:repository_snapshot_uri] if args.key?(:repository_snapshot_uri)
1737
+ end
1738
+ end
1739
+
1740
+ # Metadata about a repository snapshot stored in Google Cloud Storage.
1741
+ class GcsRepositorySnapshotMetadata
1742
+ include Google::Apis::Core::Hashable
1743
+
1744
+ # Output only. The crc32c checksum of the repository snapshot, big-endian base64
1745
+ # encoded.
1746
+ # Corresponds to the JSON property `crc32cChecksum`
1747
+ # @return [String]
1748
+ attr_accessor :crc32c_checksum
1749
+
1750
+ # Output only. The generation number of the Cloud Storage object. See https://
1751
+ # cloud.google.com/storage/docs/metadata#generation-number.
1752
+ # Corresponds to the JSON property `generation`
1753
+ # @return [Fixnum]
1754
+ attr_accessor :generation
1755
+
1756
+ # Output only. The Google Cloud Storage URI of the repository snapshot.
1757
+ # Corresponds to the JSON property `repositorySnapshotUri`
1758
+ # @return [String]
1759
+ attr_accessor :repository_snapshot_uri
1760
+
1761
+ def initialize(**args)
1762
+ update!(**args)
1763
+ end
1764
+
1765
+ # Update properties of this object
1766
+ def update!(**args)
1767
+ @crc32c_checksum = args[:crc32c_checksum] if args.key?(:crc32c_checksum)
1768
+ @generation = args[:generation] if args.key?(:generation)
1769
+ @repository_snapshot_uri = args[:repository_snapshot_uri] if args.key?(:repository_snapshot_uri)
1770
+ end
1771
+ end
1772
+
1560
1773
  # Controls Git remote configuration for a repository.
1561
1774
  class GitRemoteSettings
1562
1775
  include Google::Apis::Core::Hashable
@@ -1729,12 +1942,18 @@ module Google
1729
1942
  class InstallNpmPackagesRequest
1730
1943
  include Google::Apis::Core::Hashable
1731
1944
 
1945
+ # Defines the pipeline type and path within the Git repository.
1946
+ # Corresponds to the JSON property `pipelineConfig`
1947
+ # @return [Google::Apis::DataformV1beta1::PipelineConfig]
1948
+ attr_accessor :pipeline_config
1949
+
1732
1950
  def initialize(**args)
1733
1951
  update!(**args)
1734
1952
  end
1735
1953
 
1736
1954
  # Update properties of this object
1737
1955
  def update!(**args)
1956
+ @pipeline_config = args[:pipeline_config] if args.key?(:pipeline_config)
1738
1957
  end
1739
1958
  end
1740
1959
 
@@ -2381,6 +2600,11 @@ module Google
2381
2600
  # @return [String]
2382
2601
  attr_accessor :contents
2383
2602
 
2603
+ # Output only. The path to the notebook file in the repository.
2604
+ # Corresponds to the JSON property `filePath`
2605
+ # @return [String]
2606
+ attr_accessor :file_path
2607
+
2384
2608
  # Output only. The ID of the Gemini Enterprise Agent Platform job that executed
2385
2609
  # the notebook in contents and also the ID used for the outputs created in
2386
2610
  # Google Cloud Storage buckets. Only set once the job has started to run.
@@ -2395,6 +2619,7 @@ module Google
2395
2619
  # Update properties of this object
2396
2620
  def update!(**args)
2397
2621
  @contents = args[:contents] if args.key?(:contents)
2622
+ @file_path = args[:file_path] if args.key?(:file_path)
2398
2623
  @job_id = args[:job_id] if args.key?(:job_id)
2399
2624
  end
2400
2625
  end
@@ -2417,6 +2642,11 @@ module Google
2417
2642
  # @return [String]
2418
2643
  attr_accessor :gcs_output_bucket
2419
2644
 
2645
+ # Configures the destination for a repository snapshot.
2646
+ # Corresponds to the JSON property `gcsRepositorySnapshotDestination`
2647
+ # @return [Google::Apis::DataformV1beta1::GcsRepositorySnapshotDestination]
2648
+ attr_accessor :gcs_repository_snapshot_destination
2649
+
2420
2650
  def initialize(**args)
2421
2651
  update!(**args)
2422
2652
  end
@@ -2425,6 +2655,7 @@ module Google
2425
2655
  def update!(**args)
2426
2656
  @ai_platform_notebook_runtime_template = args[:ai_platform_notebook_runtime_template] if args.key?(:ai_platform_notebook_runtime_template)
2427
2657
  @gcs_output_bucket = args[:gcs_output_bucket] if args.key?(:gcs_output_bucket)
2658
+ @gcs_repository_snapshot_destination = args[:gcs_repository_snapshot_destination] if args.key?(:gcs_repository_snapshot_destination)
2428
2659
  end
2429
2660
  end
2430
2661
 
@@ -2600,6 +2831,33 @@ module Google
2600
2831
  end
2601
2832
  end
2602
2833
 
2834
+ # Defines the pipeline type and path within the Git repository.
2835
+ class PipelineConfig
2836
+ include Google::Apis::Core::Hashable
2837
+
2838
+ # Required. The relative path within the Git repository where the pipeline is
2839
+ # defined. For example, for a Dataform pipeline, it is a path to the folder
2840
+ # where `workflow_settings.yaml` or `dataform.json` is located.
2841
+ # Corresponds to the JSON property `path`
2842
+ # @return [String]
2843
+ attr_accessor :path
2844
+
2845
+ # Required. The type of the pipeline.
2846
+ # Corresponds to the JSON property `pipelineType`
2847
+ # @return [String]
2848
+ attr_accessor :pipeline_type
2849
+
2850
+ def initialize(**args)
2851
+ update!(**args)
2852
+ end
2853
+
2854
+ # Update properties of this object
2855
+ def update!(**args)
2856
+ @path = args[:path] if args.key?(:path)
2857
+ @pipeline_type = args[:pipeline_type] if args.key?(:pipeline_type)
2858
+ end
2859
+ end
2860
+
2603
2861
  # An Identity and Access Management (IAM) policy, which specifies access
2604
2862
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2605
2863
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -3266,8 +3524,9 @@ module Google
3266
3524
  attr_accessor :release_compilation_result
3267
3525
 
3268
3526
  # Optional. Specifies the time zone to be used when interpreting cron_schedule.
3269
- # Must be a time zone name from the time zone database (https://en.wikipedia.org/
3270
- # wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
3527
+ # Must be a time zone name from the [time zone database](https://en.wikipedia.
3528
+ # org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is `
3529
+ # UTC`.
3271
3530
  # Corresponds to the JSON property `timeZone`
3272
3531
  # @return [String]
3273
3532
  attr_accessor :time_zone
@@ -3855,6 +4114,47 @@ module Google
3855
4114
  end
3856
4115
  end
3857
4116
 
4117
+ # `SyncWorkspaceRefs` request message.
4118
+ class SyncWorkspaceRefsRequest
4119
+ include Google::Apis::Core::Hashable
4120
+
4121
+ # Optional. Can be used to deepen the commit history of shallow clones. Git
4122
+ # documentation: https://git-scm.com/docs/git-fetch#Documentation/git-fetch.txt--
4123
+ # -deependepth
4124
+ # Corresponds to the JSON property `deepen`
4125
+ # @return [Fixnum]
4126
+ attr_accessor :deepen
4127
+
4128
+ # Optional. The name of the branch in the Git remote to which the refs should be
4129
+ # fetched for. If left unset, all remote branches will be fetched.
4130
+ # Corresponds to the JSON property `remoteBranchName`
4131
+ # @return [String]
4132
+ attr_accessor :remote_branch_name
4133
+
4134
+ def initialize(**args)
4135
+ update!(**args)
4136
+ end
4137
+
4138
+ # Update properties of this object
4139
+ def update!(**args)
4140
+ @deepen = args[:deepen] if args.key?(:deepen)
4141
+ @remote_branch_name = args[:remote_branch_name] if args.key?(:remote_branch_name)
4142
+ end
4143
+ end
4144
+
4145
+ # `SyncWorkspaceRefs` response message.
4146
+ class SyncWorkspaceRefsResponse
4147
+ include Google::Apis::Core::Hashable
4148
+
4149
+ def initialize(**args)
4150
+ update!(**args)
4151
+ end
4152
+
4153
+ # Update properties of this object
4154
+ def update!(**args)
4155
+ end
4156
+ end
4157
+
3858
4158
  # Represents a table update trigger configuration.
3859
4159
  class TableUpdateTrigger
3860
4160
  include Google::Apis::Core::Hashable
@@ -4164,8 +4464,9 @@ module Google
4164
4464
  attr_accessor :release_config
4165
4465
 
4166
4466
  # Optional. Specifies the time zone to be used when interpreting cron_schedule.
4167
- # Must be a time zone name from the time zone database (https://en.wikipedia.org/
4168
- # wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
4467
+ # Must be a time zone name from the [time zone database](https://en.wikipedia.
4468
+ # org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is `
4469
+ # UTC`.
4169
4470
  # Corresponds to the JSON property `timeZone`
4170
4471
  # @return [String]
4171
4472
  attr_accessor :time_zone
@@ -4241,6 +4542,11 @@ module Google
4241
4542
  # @return [String]
4242
4543
  attr_accessor :name
4243
4544
 
4545
+ # Defines the pipeline type and path within the Git repository.
4546
+ # Corresponds to the JSON property `pipelineConfig`
4547
+ # @return [Google::Apis::DataformV1beta1::PipelineConfig]
4548
+ attr_accessor :pipeline_config
4549
+
4244
4550
  # Metadata used to identify if a resource is user scoped.
4245
4551
  # Corresponds to the JSON property `privateResourceMetadata`
4246
4552
  # @return [Google::Apis::DataformV1beta1::PrivateResourceMetadata]
@@ -4276,6 +4582,7 @@ module Google
4276
4582
  @invocation_config = args[:invocation_config] if args.key?(:invocation_config)
4277
4583
  @invocation_timing = args[:invocation_timing] if args.key?(:invocation_timing)
4278
4584
  @name = args[:name] if args.key?(:name)
4585
+ @pipeline_config = args[:pipeline_config] if args.key?(:pipeline_config)
4279
4586
  @private_resource_metadata = args[:private_resource_metadata] if args.key?(:private_resource_metadata)
4280
4587
  @resolved_compilation_result = args[:resolved_compilation_result] if args.key?(:resolved_compilation_result)
4281
4588
  @state = args[:state] if args.key?(:state)
@@ -4399,7 +4706,7 @@ module Google
4399
4706
 
4400
4707
  # Optional. Minimum duration between two consecutive executions. If not
4401
4708
  # specified, the workflow will be executed every time trigger conditions are met
4402
- # and no ongoing workflow execution.
4709
+ # and there is no ongoing workflow execution.
4403
4710
  # Corresponds to the JSON property `minExecutionDuration`
4404
4711
  # @return [String]
4405
4712
  attr_accessor :min_execution_duration
@@ -4445,6 +4752,15 @@ module Google
4445
4752
  # @return [Google::Apis::DataformV1beta1::DataEncryptionState]
4446
4753
  attr_accessor :data_encryption_state
4447
4754
 
4755
+ # Optional. Input only. Immutable. The maximum depth of the Git repository to
4756
+ # checkout for this workspace. If defined and greater than 0, the Git repository
4757
+ # will be created as a shallow clone with the given depth, otherwise a full
4758
+ # clone will be performed. This field is available only for GitHub, Gitlab and
4759
+ # 1p repositories with enabled branch management.
4760
+ # Corresponds to the JSON property `depth`
4761
+ # @return [Fixnum]
4762
+ attr_accessor :depth
4763
+
4448
4764
  # Optional. If set to true, workspaces will not be moved if its linked
4449
4765
  # Repository is moved. Instead, it will be deleted.
4450
4766
  # Corresponds to the JSON property `disableMoves`
@@ -4452,6 +4768,13 @@ module Google
4452
4768
  attr_accessor :disable_moves
4453
4769
  alias_method :disable_moves?, :disable_moves
4454
4770
 
4771
+ # Immutable. Controls the enablement of branch checkout for the workspace. When
4772
+ # set to True, the workspace will be allowed to checkout branches.
4773
+ # Corresponds to the JSON property `enableBranchManagement`
4774
+ # @return [Boolean]
4775
+ attr_accessor :enable_branch_management
4776
+ alias_method :enable_branch_management?, :enable_branch_management
4777
+
4455
4778
  # Output only. All the metadata information that is used internally to serve the
4456
4779
  # resource. For example: timestamps, flags, status fields, etc. The format of
4457
4780
  # this field is a JSON string.
@@ -4464,11 +4787,26 @@ module Google
4464
4787
  # @return [String]
4465
4788
  attr_accessor :name
4466
4789
 
4790
+ # Optional. Input only. Immutable. The name of the default upstream branch for
4791
+ # all pull/push operations in the remote repository for this workspace. If empty,
4792
+ # the HEAD branch from repository will be used.
4793
+ # Corresponds to the JSON property `originalBranch`
4794
+ # @return [String]
4795
+ attr_accessor :original_branch
4796
+
4467
4797
  # Metadata used to identify if a resource is user scoped.
4468
4798
  # Corresponds to the JSON property `privateResourceMetadata`
4469
4799
  # @return [Google::Apis::DataformV1beta1::PrivateResourceMetadata]
4470
4800
  attr_accessor :private_resource_metadata
4471
4801
 
4802
+ # Output only. If set to true, the workspace was created as a shallow clone.
4803
+ # Will be set to true if the depth field is set to a value greater than 0,
4804
+ # otherwise it will be set to false.
4805
+ # Corresponds to the JSON property `shallow`
4806
+ # @return [Boolean]
4807
+ attr_accessor :shallow
4808
+ alias_method :shallow?, :shallow
4809
+
4472
4810
  def initialize(**args)
4473
4811
  update!(**args)
4474
4812
  end
@@ -4477,10 +4815,14 @@ module Google
4477
4815
  def update!(**args)
4478
4816
  @create_time = args[:create_time] if args.key?(:create_time)
4479
4817
  @data_encryption_state = args[:data_encryption_state] if args.key?(:data_encryption_state)
4818
+ @depth = args[:depth] if args.key?(:depth)
4480
4819
  @disable_moves = args[:disable_moves] if args.key?(:disable_moves)
4820
+ @enable_branch_management = args[:enable_branch_management] if args.key?(:enable_branch_management)
4481
4821
  @internal_metadata = args[:internal_metadata] if args.key?(:internal_metadata)
4482
4822
  @name = args[:name] if args.key?(:name)
4823
+ @original_branch = args[:original_branch] if args.key?(:original_branch)
4483
4824
  @private_resource_metadata = args[:private_resource_metadata] if args.key?(:private_resource_metadata)
4825
+ @shallow = args[:shallow] if args.key?(:shallow)
4484
4826
  end
4485
4827
  end
4486
4828
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataformV1beta1
18
18
  # Version of the google-apis-dataform_v1beta1 gem
19
- GEM_VERSION = "0.60.0"
19
+ GEM_VERSION = "0.62.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260621"
25
+ REVISION = "20260819"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class BranchMetadata
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class CancelOperationRequest
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -88,6 +94,12 @@ module Google
88
94
  include Google::Apis::Core::JsonObjectSupport
89
95
  end
90
96
 
97
+ class CheckoutWorkspaceBranchRequest
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
91
103
  class CodeCompilationConfig
92
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
105
 
@@ -196,6 +208,18 @@ module Google
196
208
  include Google::Apis::Core::JsonObjectSupport
197
209
  end
198
210
 
211
+ class DeleteBranchRequest
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class DeleteBranchResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
199
223
  class DeleteFile
200
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
225
 
@@ -250,6 +274,12 @@ module Google
250
274
  include Google::Apis::Core::JsonObjectSupport
251
275
  end
252
276
 
277
+ class FetchCurrentWorkspaceBranchResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
253
283
  class FetchFileDiffResponse
254
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
285
 
@@ -280,6 +310,12 @@ module Google
280
310
  include Google::Apis::Core::JsonObjectSupport
281
311
  end
282
312
 
313
+ class FetchWorkspaceBranchesResponse
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
283
319
  class FileOperation
284
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
321
 
@@ -310,6 +346,18 @@ module Google
310
346
  include Google::Apis::Core::JsonObjectSupport
311
347
  end
312
348
 
349
+ class GcsRepositorySnapshotDestination
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class GcsRepositorySnapshotMetadata
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
313
361
  class GitRemoteSettings
314
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
363
 
@@ -502,6 +550,12 @@ module Google
502
550
  include Google::Apis::Core::JsonObjectSupport
503
551
  end
504
552
 
553
+ class PipelineConfig
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
505
559
  class Policy
506
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
561
 
@@ -724,6 +778,18 @@ module Google
724
778
  include Google::Apis::Core::JsonObjectSupport
725
779
  end
726
780
 
781
+ class SyncWorkspaceRefsRequest
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
787
+ class SyncWorkspaceRefsResponse
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
727
793
  class TableUpdateTrigger
728
794
  class Representation < Google::Apis::Core::JsonRepresentation; end
729
795
 
@@ -918,6 +984,15 @@ module Google
918
984
  end
919
985
  end
920
986
 
987
+ class BranchMetadata
988
+ # @private
989
+ class Representation < Google::Apis::Core::JsonRepresentation
990
+ property :branch_name, as: 'branchName'
991
+ property :last_commit, as: 'lastCommit', class: Google::Apis::DataformV1beta1::CommitLogEntry, decorator: Google::Apis::DataformV1beta1::CommitLogEntry::Representation
992
+
993
+ end
994
+ end
995
+
921
996
  class CancelOperationRequest
922
997
  # @private
923
998
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -936,6 +1011,15 @@ module Google
936
1011
  end
937
1012
  end
938
1013
 
1014
+ class CheckoutWorkspaceBranchRequest
1015
+ # @private
1016
+ class Representation < Google::Apis::Core::JsonRepresentation
1017
+ property :branch, as: 'branch'
1018
+ property :create_if_not_exists, as: 'createIfNotExists'
1019
+ property :source_branch, as: 'sourceBranch'
1020
+ end
1021
+ end
1022
+
939
1023
  class CodeCompilationConfig
940
1024
  # @private
941
1025
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -947,6 +1031,8 @@ module Google
947
1031
  property :default_notebook_runtime_options, as: 'defaultNotebookRuntimeOptions', class: Google::Apis::DataformV1beta1::NotebookRuntimeOptions, decorator: Google::Apis::DataformV1beta1::NotebookRuntimeOptions::Representation
948
1032
 
949
1033
  property :default_schema, as: 'defaultSchema'
1034
+ property :pipeline_config, as: 'pipelineConfig', class: Google::Apis::DataformV1beta1::PipelineConfig, decorator: Google::Apis::DataformV1beta1::PipelineConfig::Representation
1035
+
950
1036
  property :schema_suffix, as: 'schemaSuffix'
951
1037
  property :table_prefix, as: 'tablePrefix'
952
1038
  hash :vars, as: 'vars'
@@ -1046,6 +1132,8 @@ module Google
1046
1132
  property :data_encryption_state, as: 'dataEncryptionState', class: Google::Apis::DataformV1beta1::DataEncryptionState, decorator: Google::Apis::DataformV1beta1::DataEncryptionState::Representation
1047
1133
 
1048
1134
  property :dataform_core_version, as: 'dataformCoreVersion'
1135
+ property :gcs_repository_snapshot_metadata, as: 'gcsRepositorySnapshotMetadata', class: Google::Apis::DataformV1beta1::GcsRepositorySnapshotMetadata, decorator: Google::Apis::DataformV1beta1::GcsRepositorySnapshotMetadata::Representation
1136
+
1049
1137
  property :git_commitish, as: 'gitCommitish'
1050
1138
  property :internal_metadata, as: 'internalMetadata'
1051
1139
  property :name, as: 'name'
@@ -1136,6 +1224,20 @@ module Google
1136
1224
  end
1137
1225
  end
1138
1226
 
1227
+ class DeleteBranchRequest
1228
+ # @private
1229
+ class Representation < Google::Apis::Core::JsonRepresentation
1230
+ property :branch, as: 'branch'
1231
+ property :force, as: 'force'
1232
+ end
1233
+ end
1234
+
1235
+ class DeleteBranchResponse
1236
+ # @private
1237
+ class Representation < Google::Apis::Core::JsonRepresentation
1238
+ end
1239
+ end
1240
+
1139
1241
  class DeleteFile
1140
1242
  # @private
1141
1243
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1205,6 +1307,13 @@ module Google
1205
1307
  end
1206
1308
  end
1207
1309
 
1310
+ class FetchCurrentWorkspaceBranchResponse
1311
+ # @private
1312
+ class Representation < Google::Apis::Core::JsonRepresentation
1313
+ property :branch_name, as: 'branchName'
1314
+ end
1315
+ end
1316
+
1208
1317
  class FetchFileDiffResponse
1209
1318
  # @private
1210
1319
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1244,6 +1353,15 @@ module Google
1244
1353
  end
1245
1354
  end
1246
1355
 
1356
+ class FetchWorkspaceBranchesResponse
1357
+ # @private
1358
+ class Representation < Google::Apis::Core::JsonRepresentation
1359
+ collection :branches, as: 'branches', class: Google::Apis::DataformV1beta1::BranchMetadata, decorator: Google::Apis::DataformV1beta1::BranchMetadata::Representation
1360
+
1361
+ property :next_page_token, as: 'nextPageToken'
1362
+ end
1363
+ end
1364
+
1247
1365
  class FileOperation
1248
1366
  # @private
1249
1367
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1293,6 +1411,22 @@ module Google
1293
1411
  end
1294
1412
  end
1295
1413
 
1414
+ class GcsRepositorySnapshotDestination
1415
+ # @private
1416
+ class Representation < Google::Apis::Core::JsonRepresentation
1417
+ property :repository_snapshot_uri, as: 'repositorySnapshotUri'
1418
+ end
1419
+ end
1420
+
1421
+ class GcsRepositorySnapshotMetadata
1422
+ # @private
1423
+ class Representation < Google::Apis::Core::JsonRepresentation
1424
+ property :crc32c_checksum, as: 'crc32cChecksum'
1425
+ property :generation, :numeric_string => true, as: 'generation'
1426
+ property :repository_snapshot_uri, as: 'repositorySnapshotUri'
1427
+ end
1428
+ end
1429
+
1296
1430
  class GitRemoteSettings
1297
1431
  # @private
1298
1432
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1338,6 +1472,8 @@ module Google
1338
1472
  class InstallNpmPackagesRequest
1339
1473
  # @private
1340
1474
  class Representation < Google::Apis::Core::JsonRepresentation
1475
+ property :pipeline_config, as: 'pipelineConfig', class: Google::Apis::DataformV1beta1::PipelineConfig, decorator: Google::Apis::DataformV1beta1::PipelineConfig::Representation
1476
+
1341
1477
  end
1342
1478
  end
1343
1479
 
@@ -1543,6 +1679,7 @@ module Google
1543
1679
  # @private
1544
1680
  class Representation < Google::Apis::Core::JsonRepresentation
1545
1681
  property :contents, as: 'contents'
1682
+ property :file_path, as: 'filePath'
1546
1683
  property :job_id, as: 'jobId'
1547
1684
  end
1548
1685
  end
@@ -1552,6 +1689,8 @@ module Google
1552
1689
  class Representation < Google::Apis::Core::JsonRepresentation
1553
1690
  property :ai_platform_notebook_runtime_template, as: 'aiPlatformNotebookRuntimeTemplate'
1554
1691
  property :gcs_output_bucket, as: 'gcsOutputBucket'
1692
+ property :gcs_repository_snapshot_destination, as: 'gcsRepositorySnapshotDestination', class: Google::Apis::DataformV1beta1::GcsRepositorySnapshotDestination, decorator: Google::Apis::DataformV1beta1::GcsRepositorySnapshotDestination::Representation
1693
+
1555
1694
  end
1556
1695
  end
1557
1696
 
@@ -1594,6 +1733,14 @@ module Google
1594
1733
  end
1595
1734
  end
1596
1735
 
1736
+ class PipelineConfig
1737
+ # @private
1738
+ class Representation < Google::Apis::Core::JsonRepresentation
1739
+ property :path, as: 'path'
1740
+ property :pipeline_type, as: 'pipelineType'
1741
+ end
1742
+ end
1743
+
1597
1744
  class Policy
1598
1745
  # @private
1599
1746
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1942,6 +2089,20 @@ module Google
1942
2089
  end
1943
2090
  end
1944
2091
 
2092
+ class SyncWorkspaceRefsRequest
2093
+ # @private
2094
+ class Representation < Google::Apis::Core::JsonRepresentation
2095
+ property :deepen, as: 'deepen'
2096
+ property :remote_branch_name, as: 'remoteBranchName'
2097
+ end
2098
+ end
2099
+
2100
+ class SyncWorkspaceRefsResponse
2101
+ # @private
2102
+ class Representation < Google::Apis::Core::JsonRepresentation
2103
+ end
2104
+ end
2105
+
1945
2106
  class TableUpdateTrigger
1946
2107
  # @private
1947
2108
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2053,6 +2214,8 @@ module Google
2053
2214
  property :invocation_timing, as: 'invocationTiming', class: Google::Apis::DataformV1beta1::Interval, decorator: Google::Apis::DataformV1beta1::Interval::Representation
2054
2215
 
2055
2216
  property :name, as: 'name'
2217
+ property :pipeline_config, as: 'pipelineConfig', class: Google::Apis::DataformV1beta1::PipelineConfig, decorator: Google::Apis::DataformV1beta1::PipelineConfig::Representation
2218
+
2056
2219
  property :private_resource_metadata, as: 'privateResourceMetadata', class: Google::Apis::DataformV1beta1::PrivateResourceMetadata, decorator: Google::Apis::DataformV1beta1::PrivateResourceMetadata::Representation
2057
2220
 
2058
2221
  property :resolved_compilation_result, as: 'resolvedCompilationResult'
@@ -2110,11 +2273,15 @@ module Google
2110
2273
  property :create_time, as: 'createTime'
2111
2274
  property :data_encryption_state, as: 'dataEncryptionState', class: Google::Apis::DataformV1beta1::DataEncryptionState, decorator: Google::Apis::DataformV1beta1::DataEncryptionState::Representation
2112
2275
 
2276
+ property :depth, as: 'depth'
2113
2277
  property :disable_moves, as: 'disableMoves'
2278
+ property :enable_branch_management, as: 'enableBranchManagement'
2114
2279
  property :internal_metadata, as: 'internalMetadata'
2115
2280
  property :name, as: 'name'
2281
+ property :original_branch, as: 'originalBranch'
2116
2282
  property :private_resource_metadata, as: 'privateResourceMetadata', class: Google::Apis::DataformV1beta1::PrivateResourceMetadata, decorator: Google::Apis::DataformV1beta1::PrivateResourceMetadata::Representation
2117
2283
 
2284
+ property :shallow, as: 'shallow'
2118
2285
  end
2119
2286
  end
2120
2287
 
@@ -2139,6 +2139,40 @@ module Google
2139
2139
  execute_or_queue_command(command, &block)
2140
2140
  end
2141
2141
 
2142
+ # Checkout a branch in a Workspace.
2143
+ # @param [String] name
2144
+ # Required. The workspace resource name. Format: projects/`project`/locations/`
2145
+ # location`/repositories/`repository`/workspaces/`workspace`
2146
+ # @param [Google::Apis::DataformV1beta1::CheckoutWorkspaceBranchRequest] checkout_workspace_branch_request_object
2147
+ # @param [String] fields
2148
+ # Selector specifying which fields to include in a partial response.
2149
+ # @param [String] quota_user
2150
+ # Available to use for quota purposes for server-side applications. Can be any
2151
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2152
+ # @param [Google::Apis::RequestOptions] options
2153
+ # Request-specific options
2154
+ #
2155
+ # @yield [result, err] Result & error if block supplied
2156
+ # @yieldparam result [Google::Apis::DataformV1beta1::Empty] parsed result object
2157
+ # @yieldparam err [StandardError] error object if request failed
2158
+ #
2159
+ # @return [Google::Apis::DataformV1beta1::Empty]
2160
+ #
2161
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2162
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2163
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2164
+ def checkout_workspace_branch(name, checkout_workspace_branch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2165
+ command = make_simple_command(:post, 'v1beta1/{+name}:checkout', options)
2166
+ command.request_representation = Google::Apis::DataformV1beta1::CheckoutWorkspaceBranchRequest::Representation
2167
+ command.request_object = checkout_workspace_branch_request_object
2168
+ command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation
2169
+ command.response_class = Google::Apis::DataformV1beta1::Empty
2170
+ command.params['name'] = name unless name.nil?
2171
+ command.query['fields'] = fields unless fields.nil?
2172
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2173
+ execute_or_queue_command(command, &block)
2174
+ end
2175
+
2142
2176
  # Applies a Git commit for uncommitted files in a Workspace.
2143
2177
  # @param [String] name
2144
2178
  # Required. The workspace's name.
@@ -2240,6 +2274,116 @@ module Google
2240
2274
  execute_or_queue_command(command, &block)
2241
2275
  end
2242
2276
 
2277
+ # Deletes a branch in a Workspace.
2278
+ # @param [String] name
2279
+ # Required. The workspace resource name. Format: projects/`project`/locations/`
2280
+ # location`/repositories/`repository`/workspaces/`workspace`
2281
+ # @param [Google::Apis::DataformV1beta1::DeleteBranchRequest] delete_branch_request_object
2282
+ # @param [String] fields
2283
+ # Selector specifying which fields to include in a partial response.
2284
+ # @param [String] quota_user
2285
+ # Available to use for quota purposes for server-side applications. Can be any
2286
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2287
+ # @param [Google::Apis::RequestOptions] options
2288
+ # Request-specific options
2289
+ #
2290
+ # @yield [result, err] Result & error if block supplied
2291
+ # @yieldparam result [Google::Apis::DataformV1beta1::DeleteBranchResponse] parsed result object
2292
+ # @yieldparam err [StandardError] error object if request failed
2293
+ #
2294
+ # @return [Google::Apis::DataformV1beta1::DeleteBranchResponse]
2295
+ #
2296
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2297
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2298
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2299
+ def delete_workspace_branch(name, delete_branch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2300
+ command = make_simple_command(:post, 'v1beta1/{+name}:deleteBranch', options)
2301
+ command.request_representation = Google::Apis::DataformV1beta1::DeleteBranchRequest::Representation
2302
+ command.request_object = delete_branch_request_object
2303
+ command.response_representation = Google::Apis::DataformV1beta1::DeleteBranchResponse::Representation
2304
+ command.response_class = Google::Apis::DataformV1beta1::DeleteBranchResponse
2305
+ command.params['name'] = name unless name.nil?
2306
+ command.query['fields'] = fields unless fields.nil?
2307
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2308
+ execute_or_queue_command(command, &block)
2309
+ end
2310
+
2311
+ # Fetches branches in a Workspace.
2312
+ # @param [String] name
2313
+ # Required. The workspace resource name. Format: projects/`project`/locations/`
2314
+ # location`/repositories/`repository`/workspaces/`workspace`
2315
+ # @param [String] filter
2316
+ # Optional. Filter for the returned list.
2317
+ # @param [Fixnum] page_size
2318
+ # Optional. Maximum number of branches to return. The server may return fewer
2319
+ # items than requested. If unspecified, the server will pick an appropriate
2320
+ # default. The maximum value is 1000; values above 1000 will be coerced to 1000.
2321
+ # @param [String] page_token
2322
+ # Optional. Page token received from a previous `FetchWorkspaceBranches` call.
2323
+ # Provide this to retrieve the subsequent page. When paginating, all other
2324
+ # parameters provided to `FetchWorkspaceBranches`, with the exception of `
2325
+ # page_size`, must match the call that provided the page token.
2326
+ # @param [String] fields
2327
+ # Selector specifying which fields to include in a partial response.
2328
+ # @param [String] quota_user
2329
+ # Available to use for quota purposes for server-side applications. Can be any
2330
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2331
+ # @param [Google::Apis::RequestOptions] options
2332
+ # Request-specific options
2333
+ #
2334
+ # @yield [result, err] Result & error if block supplied
2335
+ # @yieldparam result [Google::Apis::DataformV1beta1::FetchWorkspaceBranchesResponse] parsed result object
2336
+ # @yieldparam err [StandardError] error object if request failed
2337
+ #
2338
+ # @return [Google::Apis::DataformV1beta1::FetchWorkspaceBranchesResponse]
2339
+ #
2340
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2341
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2342
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2343
+ def fetch_project_location_repository_workspace_branches(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2344
+ command = make_simple_command(:get, 'v1beta1/{+name}:fetchBranches', options)
2345
+ command.response_representation = Google::Apis::DataformV1beta1::FetchWorkspaceBranchesResponse::Representation
2346
+ command.response_class = Google::Apis::DataformV1beta1::FetchWorkspaceBranchesResponse
2347
+ command.params['name'] = name unless name.nil?
2348
+ command.query['filter'] = filter unless filter.nil?
2349
+ command.query['pageSize'] = page_size unless page_size.nil?
2350
+ command.query['pageToken'] = page_token unless page_token.nil?
2351
+ command.query['fields'] = fields unless fields.nil?
2352
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2353
+ execute_or_queue_command(command, &block)
2354
+ end
2355
+
2356
+ # Fetches the current branch of a Workspace.
2357
+ # @param [String] name
2358
+ # Required. The workspace resource name. Format: projects/`project`/locations/`
2359
+ # location`/repositories/`repository`/workspaces/`workspace`
2360
+ # @param [String] fields
2361
+ # Selector specifying which fields to include in a partial response.
2362
+ # @param [String] quota_user
2363
+ # Available to use for quota purposes for server-side applications. Can be any
2364
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2365
+ # @param [Google::Apis::RequestOptions] options
2366
+ # Request-specific options
2367
+ #
2368
+ # @yield [result, err] Result & error if block supplied
2369
+ # @yieldparam result [Google::Apis::DataformV1beta1::FetchCurrentWorkspaceBranchResponse] parsed result object
2370
+ # @yieldparam err [StandardError] error object if request failed
2371
+ #
2372
+ # @return [Google::Apis::DataformV1beta1::FetchCurrentWorkspaceBranchResponse]
2373
+ #
2374
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2375
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2376
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2377
+ def fetch_project_location_repository_workspace_current_branch(name, fields: nil, quota_user: nil, options: nil, &block)
2378
+ command = make_simple_command(:get, 'v1beta1/{+name}:fetchCurrentBranch', options)
2379
+ command.response_representation = Google::Apis::DataformV1beta1::FetchCurrentWorkspaceBranchResponse::Representation
2380
+ command.response_class = Google::Apis::DataformV1beta1::FetchCurrentWorkspaceBranchResponse
2381
+ command.params['name'] = name unless name.nil?
2382
+ command.query['fields'] = fields unless fields.nil?
2383
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2384
+ execute_or_queue_command(command, &block)
2385
+ end
2386
+
2243
2387
  # Fetches Git diff for an uncommitted file in a Workspace.
2244
2388
  # @param [String] workspace
2245
2389
  # Required. The workspace's name.
@@ -2933,6 +3077,40 @@ module Google
2933
3077
  execute_or_queue_command(command, &block)
2934
3078
  end
2935
3079
 
3080
+ # Syncs the refs of a Workspace.
3081
+ # @param [String] name
3082
+ # Required. The workspace resource name. Format: projects/`project`/locations/`
3083
+ # location`/repositories/`repository`/workspaces/`workspace`
3084
+ # @param [Google::Apis::DataformV1beta1::SyncWorkspaceRefsRequest] sync_workspace_refs_request_object
3085
+ # @param [String] fields
3086
+ # Selector specifying which fields to include in a partial response.
3087
+ # @param [String] quota_user
3088
+ # Available to use for quota purposes for server-side applications. Can be any
3089
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3090
+ # @param [Google::Apis::RequestOptions] options
3091
+ # Request-specific options
3092
+ #
3093
+ # @yield [result, err] Result & error if block supplied
3094
+ # @yieldparam result [Google::Apis::DataformV1beta1::SyncWorkspaceRefsResponse] parsed result object
3095
+ # @yieldparam err [StandardError] error object if request failed
3096
+ #
3097
+ # @return [Google::Apis::DataformV1beta1::SyncWorkspaceRefsResponse]
3098
+ #
3099
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3100
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3101
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3102
+ def sync_workspace_refs(name, sync_workspace_refs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3103
+ command = make_simple_command(:post, 'v1beta1/{+name}:syncWorkspaceRefs', options)
3104
+ command.request_representation = Google::Apis::DataformV1beta1::SyncWorkspaceRefsRequest::Representation
3105
+ command.request_object = sync_workspace_refs_request_object
3106
+ command.response_representation = Google::Apis::DataformV1beta1::SyncWorkspaceRefsResponse::Representation
3107
+ command.response_class = Google::Apis::DataformV1beta1::SyncWorkspaceRefsResponse
3108
+ command.params['name'] = name unless name.nil?
3109
+ command.query['fields'] = fields unless fields.nil?
3110
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3111
+ execute_or_queue_command(command, &block)
3112
+ end
3113
+
2936
3114
  # Returns permissions that a caller has on the specified resource. If the
2937
3115
  # resource does not exist, this will return an empty set of permissions, not a `
2938
3116
  # NOT_FOUND` error. Note: This operation is designed to be used for building
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.60.0
4
+ version: 0.62.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataform_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1beta1/v0.60.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1beta1/v0.62.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataform_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: