google-cloud-dataform-v1beta1 1.0.0 → 1.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.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dataform/v1beta1/bindings_override.rb +1 -1
  3. data/lib/google/cloud/dataform/v1beta1/dataform/client.rb +519 -2
  4. data/lib/google/cloud/dataform/v1beta1/dataform/credentials.rb +1 -1
  5. data/lib/google/cloud/dataform/v1beta1/dataform/paths.rb +1 -1
  6. data/lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb +484 -2
  7. data/lib/google/cloud/dataform/v1beta1/dataform/rest/service_stub.rb +309 -1
  8. data/lib/google/cloud/dataform/v1beta1/dataform/rest.rb +1 -1
  9. data/lib/google/cloud/dataform/v1beta1/dataform.rb +1 -1
  10. data/lib/google/cloud/dataform/v1beta1/dataform_pb.rb +22 -1
  11. data/lib/google/cloud/dataform/v1beta1/dataform_services_pb.rb +11 -1
  12. data/lib/google/cloud/dataform/v1beta1/rest.rb +1 -1
  13. data/lib/google/cloud/dataform/v1beta1/version.rb +1 -1
  14. data/lib/google/cloud/dataform/v1beta1.rb +1 -1
  15. data/lib/google-cloud-dataform-v1beta1.rb +1 -1
  16. data/proto_docs/google/api/client.rb +1 -1
  17. data/proto_docs/google/api/field_behavior.rb +1 -1
  18. data/proto_docs/google/api/launch_stage.rb +1 -1
  19. data/proto_docs/google/api/resource.rb +1 -1
  20. data/proto_docs/google/cloud/dataform/v1beta1/dataform.rb +366 -7
  21. data/proto_docs/google/protobuf/any.rb +1 -1
  22. data/proto_docs/google/protobuf/duration.rb +1 -1
  23. data/proto_docs/google/protobuf/empty.rb +1 -1
  24. data/proto_docs/google/protobuf/field_mask.rb +1 -1
  25. data/proto_docs/google/protobuf/timestamp.rb +8 -7
  26. data/proto_docs/google/rpc/status.rb +1 -1
  27. data/proto_docs/google/type/expr.rb +1 -1
  28. data/proto_docs/google/type/interval.rb +1 -1
  29. metadata +1 -1
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -634,10 +634,33 @@ module Google
634
634
  # @return [::Boolean]
635
635
  # Optional. If set to true, workspaces will not be moved if its linked
636
636
  # Repository is moved. Instead, it will be deleted.
637
+ # @!attribute [rw] original_branch
638
+ # @return [::String]
639
+ # Optional. Input only. Immutable. The name of the default upstream branch
640
+ # for all pull/push operations in the remote repository for this workspace.
641
+ # If empty, the HEAD branch from repository will be used.
637
642
  # @!attribute [r] private_resource_metadata
638
643
  # @return [::Google::Cloud::Dataform::V1beta1::PrivateResourceMetadata]
639
644
  # Output only. Metadata indicating whether this resource is user-scoped. For
640
645
  # `Workspace` resources, the `user_scoped` field is always `true`.
646
+ # @!attribute [rw] enable_branch_management
647
+ # @return [::Boolean]
648
+ # Immutable. Controls the enablement of branch checkout for the
649
+ # workspace.
650
+ #
651
+ # When set to True, the workspace will be allowed to checkout branches.
652
+ # @!attribute [rw] depth
653
+ # @return [::Integer]
654
+ # Optional. Input only. Immutable. The maximum depth of the Git repository to
655
+ # checkout for this workspace. If defined and greater than 0, the Git
656
+ # repository will be created as a shallow clone with the given depth,
657
+ # otherwise a full clone will be performed. This field is available only for
658
+ # GitHub, Gitlab and 1p repositories with enabled branch management.
659
+ # @!attribute [r] shallow
660
+ # @return [::Boolean]
661
+ # Output only. If set to true, the workspace was created as a shallow clone.
662
+ # Will be set to true if the depth field is set to a value greater than 0,
663
+ # otherwise it will be set to false.
641
664
  class Workspace
642
665
  include ::Google::Protobuf::MessageExts
643
666
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -760,6 +783,82 @@ module Google
760
783
  extend ::Google::Protobuf::MessageExts::ClassMethods
761
784
  end
762
785
 
786
+ # `CheckoutWorkspaceBranch` request message.
787
+ # @!attribute [rw] name
788
+ # @return [::String]
789
+ # Required. The workspace resource name.
790
+ # Format:
791
+ # projects/\\{project}/locations/\\{location}/repositories/\\{repository}/workspaces/\\{workspace}
792
+ # @!attribute [rw] branch
793
+ # @return [::String]
794
+ # Required. The name of the branch in the Git repository to which the
795
+ # workspace should be checked out.
796
+ # @!attribute [rw] create_if_not_exists
797
+ # @return [::Boolean]
798
+ # Optional. If set to true and the branch does not exist, it will be created.
799
+ # Otherwise, an error will be thrown.
800
+ # @!attribute [rw] source_branch
801
+ # @return [::String]
802
+ # Optional. The name of the branch in the Git repository from which the new
803
+ # branch should be created. If left unset, the workspace's current branch
804
+ # name will be used. Accepts only branch names from FetchWorkspaceBranches
805
+ # response, and can only be set if `create_if_not_exists` is true. Oherwise,
806
+ # an error will be thrown.
807
+ class CheckoutWorkspaceBranchRequest
808
+ include ::Google::Protobuf::MessageExts
809
+ extend ::Google::Protobuf::MessageExts::ClassMethods
810
+ end
811
+
812
+ # `SyncWorkspaceRefs` request message.
813
+ # @!attribute [rw] name
814
+ # @return [::String]
815
+ # Required. The workspace resource name.
816
+ # Format:
817
+ # projects/\\{project}/locations/\\{location}/repositories/\\{repository}/workspaces/\\{workspace}
818
+ # @!attribute [rw] remote_branch_name
819
+ # @return [::String]
820
+ # Optional. The name of the branch in the Git remote to which the refs should
821
+ # be fetched for. If left unset, all remote branches will be fetched.
822
+ # @!attribute [rw] deepen
823
+ # @return [::Integer]
824
+ # Optional. Can be used to deepen the commit history of shallow clones.
825
+ # Git documentation:
826
+ # https://git-scm.com/docs/git-fetch#Documentation/git-fetch.txt---deependepth
827
+ class SyncWorkspaceRefsRequest
828
+ include ::Google::Protobuf::MessageExts
829
+ extend ::Google::Protobuf::MessageExts::ClassMethods
830
+ end
831
+
832
+ # `SyncWorkspaceRefs` response message.
833
+ class SyncWorkspaceRefsResponse
834
+ include ::Google::Protobuf::MessageExts
835
+ extend ::Google::Protobuf::MessageExts::ClassMethods
836
+ end
837
+
838
+ # `DeleteBranch` request message.
839
+ # @!attribute [rw] name
840
+ # @return [::String]
841
+ # Required. The workspace resource name.
842
+ # Format:
843
+ # projects/\\{project}/locations/\\{location}/repositories/\\{repository}/workspaces/\\{workspace}
844
+ # @!attribute [rw] branch
845
+ # @return [::String]
846
+ # Required. The name of the branch in the Git repository to delete.
847
+ # @!attribute [rw] force
848
+ # @return [::Boolean]
849
+ # Optional. If set to true, any non-pushed commits on the branch will be
850
+ # deleted. Upstream branch name will be the same as the branch to delete.
851
+ class DeleteBranchRequest
852
+ include ::Google::Protobuf::MessageExts
853
+ extend ::Google::Protobuf::MessageExts::ClassMethods
854
+ end
855
+
856
+ # `DeleteBranch` response message.
857
+ class DeleteBranchResponse
858
+ include ::Google::Protobuf::MessageExts
859
+ extend ::Google::Protobuf::MessageExts::ClassMethods
860
+ end
861
+
763
862
  # `PushGitCommits` request message.
764
863
  # @!attribute [rw] name
765
864
  # @return [::String]
@@ -1231,6 +1330,10 @@ module Google
1231
1330
  # @!attribute [rw] workspace
1232
1331
  # @return [::String]
1233
1332
  # Required. The workspace's name.
1333
+ # @!attribute [rw] pipeline_config
1334
+ # @return [::Google::Cloud::Dataform::V1beta1::PipelineConfig]
1335
+ # Optional. The pipeline options which defines the pipeline type and path
1336
+ # within the Git repository.
1234
1337
  class InstallNpmPackagesRequest
1235
1338
  include ::Google::Protobuf::MessageExts
1236
1339
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1264,9 +1367,9 @@ module Google
1264
1367
  # @!attribute [rw] time_zone
1265
1368
  # @return [::String]
1266
1369
  # Optional. Specifies the time zone to be used when interpreting
1267
- # cron_schedule. Must be a time zone name from the time zone database
1268
- # (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left
1269
- # unspecified, the default is UTC.
1370
+ # cron_schedule. Must be a time zone name from the [time zone
1371
+ # database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If
1372
+ # left unspecified, the default is `UTC`.
1270
1373
  # @!attribute [r] recent_scheduled_release_records
1271
1374
  # @return [::Array<::Google::Cloud::Dataform::V1beta1::ReleaseConfig::ScheduledReleaseRecord>]
1272
1375
  # Output only. Records of the 10 most recent scheduled release attempts,
@@ -1459,6 +1562,10 @@ module Google
1459
1562
  # Output only. Metadata indicating whether this resource is user-scoped.
1460
1563
  # `CompilationResult` resource is `user_scoped` only if it is sourced
1461
1564
  # from a workspace.
1565
+ # @!attribute [r] gcs_repository_snapshot_metadata
1566
+ # @return [::Google::Cloud::Dataform::V1beta1::GcsRepositorySnapshotMetadata]
1567
+ # Output only. Metadata about the repository snapshot used by scheduled
1568
+ # notebooks.
1462
1569
  class CompilationResult
1463
1570
  include ::Google::Protobuf::MessageExts
1464
1571
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1484,6 +1591,88 @@ module Google
1484
1591
  end
1485
1592
  end
1486
1593
 
1594
+ # Represents a trigger configuration for a workflow.
1595
+ # @!attribute [rw] condition
1596
+ # @return [::Google::Cloud::Dataform::V1beta1::WorkflowTriggerConfig::Condition]
1597
+ # Optional. The condition to use when triggering the workflow.
1598
+ # @!attribute [rw] workflow_triggers
1599
+ # @return [::Array<::Google::Cloud::Dataform::V1beta1::WorkflowTrigger>]
1600
+ # Required. The trigger definitions to invoke a workflow.
1601
+ # @!attribute [rw] min_execution_duration
1602
+ # @return [::Google::Protobuf::Duration]
1603
+ # Optional. Minimum duration between two consecutive executions. If not
1604
+ # specified, the workflow will be executed every time trigger conditions are
1605
+ # met and there is no ongoing workflow execution.
1606
+ # @!attribute [rw] max_wait_duration
1607
+ # @return [::Google::Protobuf::Duration]
1608
+ # Optional. The effective maximum wait time duration for the trigger
1609
+ # condition to be met. If not specified, the workflow won't be triggered
1610
+ # until conditions are met.
1611
+ # @!attribute [r] recent_trigger_evaluation_records
1612
+ # @return [::Array<::Google::Cloud::Dataform::V1beta1::TriggerEvaluationRecord>]
1613
+ # Output only. Records of the 10 most recent trigger evaluations, ordered
1614
+ # in descending order of `evaluation_time`. Updated whenever the service
1615
+ # evaluates the trigger conditions (via polling or upon receiving a push
1616
+ # event).
1617
+ # @!attribute [r] last_successful_evaluation_time
1618
+ # @return [::Google::Protobuf::Timestamp]
1619
+ # Output only. The timestamp of the last successful trigger evaluation.
1620
+ class WorkflowTriggerConfig
1621
+ include ::Google::Protobuf::MessageExts
1622
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1623
+
1624
+ # The condition to use when triggering the workflow.
1625
+ module Condition
1626
+ # If CONDITION_UNSPECIFIED, the default value is ANY.
1627
+ CONDITION_UNSPECIFIED = 0
1628
+
1629
+ # If ALL, all the trigger config conditions must be met before a workflow
1630
+ # is invoked.
1631
+ ALL = 1
1632
+
1633
+ # If ANY, at least one of the trigger config conditions must be met
1634
+ # before a workflow is invoked.
1635
+ ANY = 2
1636
+ end
1637
+ end
1638
+
1639
+ # A record of an attempt to evaluate trigger conditions.
1640
+ # @!attribute [r] evaluation_time
1641
+ # @return [::Google::Protobuf::Timestamp]
1642
+ # Output only. The timestamp of this trigger evaluation attempt.
1643
+ # @!attribute [r] status
1644
+ # @return [::Google::Rpc::Status]
1645
+ # Output only. The status of the trigger evaluation.
1646
+ # Success is indicated by a code of 0 (OK). Message will only be present
1647
+ # if the status code is non-zero.
1648
+ class TriggerEvaluationRecord
1649
+ include ::Google::Protobuf::MessageExts
1650
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1651
+ end
1652
+
1653
+ # The trigger definition to invoke a workflow.
1654
+ # @!attribute [rw] table_update_trigger
1655
+ # @return [::Google::Cloud::Dataform::V1beta1::TableUpdateTrigger]
1656
+ # The table update trigger configuration.
1657
+ class WorkflowTrigger
1658
+ include ::Google::Protobuf::MessageExts
1659
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1660
+ end
1661
+
1662
+ # Represents a table update trigger configuration.
1663
+ # @!attribute [rw] table
1664
+ # @return [::Google::Cloud::Dataform::V1beta1::Target]
1665
+ # The target table to trigger the workflow.
1666
+ # @!attribute [r] trigger_update_time
1667
+ # @return [::Google::Protobuf::Timestamp]
1668
+ # Output only. The modification time of this table that resulted
1669
+ # in an invocation of the workflow. This would be updated by the triggering
1670
+ # service after a successful workflow invocation.
1671
+ class TableUpdateTrigger
1672
+ include ::Google::Protobuf::MessageExts
1673
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1674
+ end
1675
+
1487
1676
  # Configures various aspects of Dataform code compilation.
1488
1677
  # @!attribute [rw] default_database
1489
1678
  # @return [::String]
@@ -1520,6 +1709,15 @@ module Google
1520
1709
  # @!attribute [rw] default_notebook_runtime_options
1521
1710
  # @return [::Google::Cloud::Dataform::V1beta1::NotebookRuntimeOptions]
1522
1711
  # Optional. The default notebook runtime options.
1712
+ # @!attribute [rw] pipeline_config
1713
+ # @return [::Google::Cloud::Dataform::V1beta1::PipelineConfig]
1714
+ # Optional. The pipeline options which defines the pipeline type and path
1715
+ # within the Git repository.
1716
+ # @!attribute [r] lineage_enabled
1717
+ # @return [::Boolean]
1718
+ # Output only. Whether OpenLineage events are emitted for actions in this
1719
+ # workflow. Reflects the `lineage.enabled` setting from
1720
+ # `workflow_settings.yaml`.
1523
1721
  class CodeCompilationConfig
1524
1722
  include ::Google::Protobuf::MessageExts
1525
1723
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1534,11 +1732,43 @@ module Google
1534
1732
  end
1535
1733
  end
1536
1734
 
1735
+ # Metadata about a repository snapshot stored in Google Cloud Storage.
1736
+ # @!attribute [r] repository_snapshot_uri
1737
+ # @return [::String]
1738
+ # Output only. The Google Cloud Storage URI of the repository snapshot.
1739
+ # @!attribute [r] crc32c_checksum
1740
+ # @return [::String]
1741
+ # Output only. The crc32c checksum of the repository snapshot, big-endian
1742
+ # base64 encoded.
1743
+ # @!attribute [r] generation
1744
+ # @return [::Integer]
1745
+ # Output only. The generation number of the Cloud Storage object. See
1746
+ # https://cloud.google.com/storage/docs/metadata#generation-number.
1747
+ class GcsRepositorySnapshotMetadata
1748
+ include ::Google::Protobuf::MessageExts
1749
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1750
+ end
1751
+
1752
+ # Configures the destination for a repository snapshot.
1753
+ # @!attribute [rw] repository_snapshot_uri
1754
+ # @return [::String]
1755
+ # Optional. The Google Cloud Storage destination to upload the repository
1756
+ # snapshot to. Format: `gs://bucket-name/path/`.
1757
+ class GcsRepositorySnapshotDestination
1758
+ include ::Google::Protobuf::MessageExts
1759
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1760
+ end
1761
+
1537
1762
  # Configures various aspects of Dataform notebook runtime.
1538
1763
  # @!attribute [rw] gcs_output_bucket
1539
1764
  # @return [::String]
1540
1765
  # Optional. The Google Cloud Storage location to upload the result to.
1541
1766
  # Format: `gs://bucket-name`.
1767
+ # @!attribute [rw] gcs_repository_snapshot_destination
1768
+ # @return [::Google::Cloud::Dataform::V1beta1::GcsRepositorySnapshotDestination]
1769
+ # Optional. The Google Cloud Storage destination to upload the snapshot to.
1770
+ # For empty URI it defaults to the provided gcs_output_bucket.
1771
+ # Format: `gs://bucket-name/path/`.
1542
1772
  # @!attribute [rw] ai_platform_notebook_runtime_template
1543
1773
  # @return [::String]
1544
1774
  # Optional. The resource name of the [Colab runtime template]
@@ -1550,6 +1780,36 @@ module Google
1550
1780
  extend ::Google::Protobuf::MessageExts::ClassMethods
1551
1781
  end
1552
1782
 
1783
+ # Defines the pipeline type and path within the Git repository.
1784
+ # @!attribute [rw] pipeline_type
1785
+ # @return [::Google::Cloud::Dataform::V1beta1::PipelineConfig::PipelineType]
1786
+ # Required. The type of the pipeline.
1787
+ # @!attribute [rw] path
1788
+ # @return [::String]
1789
+ # Required. The relative path within the Git repository where the pipeline is
1790
+ # defined. For example, for a Dataform pipeline, it is a path to the folder
1791
+ # where `workflow_settings.yaml` or `dataform.json` is located.
1792
+ class PipelineConfig
1793
+ include ::Google::Protobuf::MessageExts
1794
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1795
+
1796
+ # The type of the pipeline. This may be extended in the future.
1797
+ # In case of UNSPECIFIED, the error will be thrown.
1798
+ module PipelineType
1799
+ # Default value. This value is unused.
1800
+ PIPELINE_TYPE_UNSPECIFIED = 0
1801
+
1802
+ # Regular Dataform pipeline.
1803
+ DATAFORM = 1
1804
+
1805
+ # SQL single file asset.
1806
+ SQL = 3
1807
+
1808
+ # Notebook single file asset.
1809
+ NOTEBOOK = 4
1810
+ end
1811
+ end
1812
+
1553
1813
  # `ListCompilationResults` request message.
1554
1814
  # @!attribute [rw] parent
1555
1815
  # @return [::String]
@@ -2116,9 +2376,9 @@ module Google
2116
2376
  # @!attribute [rw] time_zone
2117
2377
  # @return [::String]
2118
2378
  # Optional. Specifies the time zone to be used when interpreting
2119
- # cron_schedule. Must be a time zone name from the time zone database
2120
- # (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left
2121
- # unspecified, the default is UTC.
2379
+ # cron_schedule. Must be a time zone name from the [time zone
2380
+ # database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If
2381
+ # left unspecified, the default is `UTC`.
2122
2382
  # @!attribute [r] recent_scheduled_execution_records
2123
2383
  # @return [::Array<::Google::Cloud::Dataform::V1beta1::WorkflowConfig::ScheduledExecutionRecord>]
2124
2384
  # Output only. Records of the 10 most recent scheduled execution attempts,
@@ -2138,6 +2398,10 @@ module Google
2138
2398
  # Output only. All the metadata information that is used internally to serve
2139
2399
  # the resource. For example: timestamps, flags, status fields, etc. The
2140
2400
  # format of this field is a JSON string.
2401
+ # @!attribute [rw] workflow_trigger_config
2402
+ # @return [::Google::Cloud::Dataform::V1beta1::WorkflowTriggerConfig]
2403
+ # Optional. Trigger configuration for this workflow.
2404
+ # If present, the workflow will be triggered based on the specified triggers.
2141
2405
  class WorkflowConfig
2142
2406
  include ::Google::Protobuf::MessageExts
2143
2407
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2346,6 +2610,10 @@ module Google
2346
2610
  # Output only. Metadata indicating whether this resource is user-scoped.
2347
2611
  # `WorkflowInvocation` resource is `user_scoped` only if it is sourced
2348
2612
  # from a compilation result and the compilation result is user-scoped.
2613
+ # @!attribute [r] pipeline_config
2614
+ # @return [::Google::Cloud::Dataform::V1beta1::PipelineConfig]
2615
+ # Output only. The pipeline options which defines the pipeline type and path
2616
+ # within the Git repository.
2349
2617
  class WorkflowInvocation
2350
2618
  include ::Google::Protobuf::MessageExts
2351
2619
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2536,6 +2804,9 @@ module Google
2536
2804
  # executed the notebook in contents and also the ID used for the outputs
2537
2805
  # created in Google Cloud Storage buckets. Only set once the job has
2538
2806
  # started to run.
2807
+ # @!attribute [r] file_path
2808
+ # @return [::String]
2809
+ # Output only. The path to the notebook file in the repository.
2539
2810
  class NotebookAction
2540
2811
  include ::Google::Protobuf::MessageExts
2541
2812
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3405,6 +3676,94 @@ module Google
3405
3676
  end
3406
3677
  end
3407
3678
 
3679
+ # Request message for `FetchWorkspaceBranches` method.
3680
+ # @!attribute [rw] name
3681
+ # @return [::String]
3682
+ # Required. The workspace resource name.
3683
+ # Format:
3684
+ # projects/\\{project}/locations/\\{location}/repositories/\\{repository}/workspaces/\\{workspace}
3685
+ # @!attribute [rw] filter
3686
+ # @return [::Google::Cloud::Dataform::V1beta1::FetchWorkspaceBranchesRequest::BranchFilter]
3687
+ # Optional. Filter for the returned list.
3688
+ # @!attribute [rw] page_size
3689
+ # @return [::Integer]
3690
+ # Optional. Maximum number of branches to return. The server may return fewer
3691
+ # items than requested. If unspecified, the server will pick an appropriate
3692
+ # default. The maximum value is 1000; values above 1000 will be coerced to
3693
+ # 1000.
3694
+ # @!attribute [rw] page_token
3695
+ # @return [::String]
3696
+ # Optional. Page token received from a previous `FetchWorkspaceBranches`
3697
+ # call. Provide this to retrieve the subsequent page.
3698
+ #
3699
+ # When paginating, all other parameters provided to `FetchWorkspaceBranches`,
3700
+ # with the exception of `page_size`, must match the call that provided the
3701
+ # page token.
3702
+ class FetchWorkspaceBranchesRequest
3703
+ include ::Google::Protobuf::MessageExts
3704
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3705
+
3706
+ # Filter for the returned list.
3707
+ module BranchFilter
3708
+ # Default value. This value is unused.
3709
+ BRANCH_FILTER_UNSPECIFIED = 0
3710
+
3711
+ # Returns local branches.
3712
+ LOCAL_ONLY = 1
3713
+
3714
+ # Returns remote branches.
3715
+ REMOTE_ONLY = 2
3716
+
3717
+ # Returns all branches.
3718
+ ALL = 3
3719
+ end
3720
+ end
3721
+
3722
+ # Contains metadata about a branch.
3723
+ # @!attribute [rw] branch_name
3724
+ # @return [::String]
3725
+ # The branch name.
3726
+ # @!attribute [rw] last_commit
3727
+ # @return [::Google::Cloud::Dataform::V1beta1::CommitLogEntry]
3728
+ # The last commit on the branch.
3729
+ class BranchMetadata
3730
+ include ::Google::Protobuf::MessageExts
3731
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3732
+ end
3733
+
3734
+ # Response message for `FetchWorkspaceBranches` method.
3735
+ # @!attribute [rw] branches
3736
+ # @return [::Array<::Google::Cloud::Dataform::V1beta1::BranchMetadata>]
3737
+ # The branches in the workspace.
3738
+ # @!attribute [rw] next_page_token
3739
+ # @return [::String]
3740
+ # A token, which can be sent as `page_token` to retrieve the next page.
3741
+ # If this field is omitted, there are no subsequent pages.
3742
+ class FetchWorkspaceBranchesResponse
3743
+ include ::Google::Protobuf::MessageExts
3744
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3745
+ end
3746
+
3747
+ # Request message for `FetchCurrentWorkspaceBranch` method.
3748
+ # @!attribute [rw] name
3749
+ # @return [::String]
3750
+ # Required. The workspace resource name.
3751
+ # Format:
3752
+ # projects/\\{project}/locations/\\{location}/repositories/\\{repository}/workspaces/\\{workspace}
3753
+ class FetchCurrentWorkspaceBranchRequest
3754
+ include ::Google::Protobuf::MessageExts
3755
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3756
+ end
3757
+
3758
+ # Response message for `FetchCurrentWorkspaceBranch` method.
3759
+ # @!attribute [rw] branch_name
3760
+ # @return [::String]
3761
+ # The name of the current branch for the workspace.
3762
+ class FetchCurrentWorkspaceBranchResponse
3763
+ include ::Google::Protobuf::MessageExts
3764
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3765
+ end
3766
+
3408
3767
  # Represents the level of detail to return for directory contents.
3409
3768
  module DirectoryContentsView
3410
3769
  # The default unset value. Defaults to DIRECTORY_CONTENTS_VIEW_BASIC.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -110,14 +110,15 @@ module Google
110
110
  # ) to obtain a formatter capable of generating timestamps in this format.
111
111
  # @!attribute [rw] seconds
112
112
  # @return [::Integer]
113
- # Represents seconds of UTC time since Unix epoch
114
- # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
115
- # 9999-12-31T23:59:59Z inclusive.
113
+ # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
114
+ # be between -315576000000 and 315576000000 inclusive (which corresponds to
115
+ # 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
116
116
  # @!attribute [rw] nanos
117
117
  # @return [::Integer]
118
- # Non-negative fractions of a second at nanosecond resolution. Negative
119
- # second values with fractions must still have non-negative nanos values
120
- # that count forward in time. Must be from 0 to 999,999,999
118
+ # Non-negative fractions of a second at nanosecond resolution. This field is
119
+ # the nanosecond portion of the duration, not an alternative to seconds.
120
+ # Negative second values with fractions must still have non-negative nanos
121
+ # values that count forward in time. Must be between 0 and 999,999,999
121
122
  # inclusive.
122
123
  class Timestamp
123
124
  include ::Google::Protobuf::MessageExts
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dataform-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC