google-cloud-dataform-v1beta1 1.5.0 → 1.7.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.
@@ -0,0 +1,88 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Api
22
+ # Rich semantic information of an API field beyond basic typing.
23
+ # @!attribute [rw] format
24
+ # @return [::Google::Api::FieldInfo::Format]
25
+ # The standard format of a field value. This does not explicitly configure
26
+ # any API consumer, just documents the API's format for the field it is
27
+ # applied to.
28
+ # @!attribute [rw] referenced_types
29
+ # @return [::Array<::Google::Api::TypeReference>]
30
+ # The type(s) that the annotated, generic field may represent.
31
+ #
32
+ # Currently, this must only be used on fields of type `google.protobuf.Any`.
33
+ # Supporting other generic types may be considered in the future.
34
+ class FieldInfo
35
+ include ::Google::Protobuf::MessageExts
36
+ extend ::Google::Protobuf::MessageExts::ClassMethods
37
+
38
+ # The standard format of a field value. The supported formats are all backed
39
+ # by either an RFC defined by the IETF or a Google-defined AIP.
40
+ module Format
41
+ # Default, unspecified value.
42
+ FORMAT_UNSPECIFIED = 0
43
+
44
+ # Universally Unique Identifier, version 4, value as defined by
45
+ # https://datatracker.ietf.org/doc/html/rfc4122. The value may be
46
+ # normalized to entirely lowercase letters. For example, the value
47
+ # `F47AC10B-58CC-0372-8567-0E02B2C3D479` would be normalized to
48
+ # `f47ac10b-58cc-0372-8567-0e02b2c3d479`.
49
+ UUID4 = 1
50
+
51
+ # Internet Protocol v4 value as defined by [RFC
52
+ # 791](https://datatracker.ietf.org/doc/html/rfc791). The value may be
53
+ # condensed, with leading zeros in each octet stripped. For example,
54
+ # `001.022.233.040` would be condensed to `1.22.233.40`.
55
+ IPV4 = 2
56
+
57
+ # Internet Protocol v6 value as defined by [RFC
58
+ # 2460](https://datatracker.ietf.org/doc/html/rfc2460). The value may be
59
+ # normalized to entirely lowercase letters with zeros compressed, following
60
+ # [RFC 5952](https://datatracker.ietf.org/doc/html/rfc5952). For example,
61
+ # the value `2001:0DB8:0::0` would be normalized to `2001:db8::`.
62
+ IPV6 = 3
63
+
64
+ # An IP address in either v4 or v6 format as described by the individual
65
+ # values defined herein. See the comments on the IPV4 and IPV6 types for
66
+ # allowed normalizations of each.
67
+ IPV4_OR_IPV6 = 4
68
+ end
69
+ end
70
+
71
+ # A reference to a message type, for use in {::Google::Api::FieldInfo FieldInfo}.
72
+ # @!attribute [rw] type_name
73
+ # @return [::String]
74
+ # The name of the type that the annotated, generic field may represent.
75
+ # If the type is in the same protobuf package, the value can be the simple
76
+ # message name e.g., `"MyMessage"`. Otherwise, the value must be the
77
+ # fully-qualified message name e.g., `"google.library.v1.Book"`.
78
+ #
79
+ # If the type(s) are unknown to the service (e.g. the field accepts generic
80
+ # user input), use the wildcard `"*"` to denote this behavior.
81
+ #
82
+ # See [AIP-202](https://google.aip.dev/202#type-references) for more details.
83
+ class TypeReference
84
+ include ::Google::Protobuf::MessageExts
85
+ extend ::Google::Protobuf::MessageExts::ClassMethods
86
+ end
87
+ end
88
+ end
@@ -125,6 +125,11 @@ module Google
125
125
  # @!attribute [rw] ssh_authentication_config
126
126
  # @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig]
127
127
  # Optional. Authentication fields for remote uris using SSH protocol.
128
+ # @!attribute [rw] account_connector
129
+ # @return [::String]
130
+ # Optional. Resource name for the Account Connector used for personal
131
+ # authentication. Must be in the format
132
+ # `projects/*/locations/*/accountConnectors/*`
128
133
  # @!attribute [rw] git_repository_link
129
134
  # @return [::String]
130
135
  # Optional. Resource name for the `GitRepositoryLink` used for machine
@@ -678,7 +683,7 @@ module Google
678
683
  # checkout for this workspace. If defined and greater than 0, the Git
679
684
  # repository will be created as a shallow clone with the given depth,
680
685
  # otherwise a full clone will be performed. This field is available only for
681
- # GitHub, Gitlab and 1p repositories with enabled branch management.
686
+ # GitHub, GitLab and 1p repositories with enabled branch management.
682
687
  # @!attribute [r] shallow
683
688
  # @return [::Boolean]
684
689
  # Output only. If set to true, the workspace was created as a shallow clone.
@@ -762,6 +767,45 @@ module Google
762
767
  extend ::Google::Protobuf::MessageExts::ClassMethods
763
768
  end
764
769
 
770
+ # Represents the metadata of the `CreateWorkspaceLongRunning` operation.
771
+ # @!attribute [r] create_workspace_request
772
+ # @return [::Google::Cloud::Dataform::V1beta1::CreateWorkspaceRequest]
773
+ # Output only. The CreateWorkspace requested.
774
+ # @!attribute [r] id
775
+ # @return [::String]
776
+ # Output only. The ID of the LRO.
777
+ # @!attribute [r] target
778
+ # @return [::String]
779
+ # Output only. Server-defined resource path for the target of the operation.
780
+ # @!attribute [r] state
781
+ # @return [::Google::Cloud::Dataform::V1beta1::CreateWorkspaceMetadata::State]
782
+ # Output only. The state of the LRO.
783
+ class CreateWorkspaceMetadata
784
+ include ::Google::Protobuf::MessageExts
785
+ extend ::Google::Protobuf::MessageExts::ClassMethods
786
+
787
+ # State of the LRO.
788
+ module State
789
+ # The state is unspecified.
790
+ STATE_UNSPECIFIED = 0
791
+
792
+ # The LRO has been created.
793
+ CREATED = 1
794
+
795
+ # The LRO is in progress.
796
+ RUNNING = 2
797
+
798
+ # The RPC call has finished.
799
+ FINISHED = 3
800
+
801
+ # The LRO has succeeded.
802
+ SUCCEEDED = 4
803
+
804
+ # The LRO has failed.
805
+ FAILED = 5
806
+ end
807
+ end
808
+
765
809
  # `DeleteWorkspace` request message.
766
810
  # @!attribute [rw] name
767
811
  # @return [::String]
@@ -977,6 +1021,44 @@ module Google
977
1021
  extend ::Google::Protobuf::MessageExts::ClassMethods
978
1022
  end
979
1023
 
1024
+ # `FetchWorkspaceHistory` request message.
1025
+ # @!attribute [rw] name
1026
+ # @return [::String]
1027
+ # Required. The workspace's name.
1028
+ # @!attribute [rw] page_size
1029
+ # @return [::Integer]
1030
+ # Optional. Maximum number of commits to return. The server may return fewer
1031
+ # items than requested. If unspecified, the server will pick an appropriate
1032
+ # default.
1033
+ # @!attribute [rw] page_token
1034
+ # @return [::String]
1035
+ # Optional. Page token received from a previous `FetchWorkspaceHistory` call.
1036
+ # Provide this to retrieve the subsequent page.
1037
+ #
1038
+ # When paginating, all other parameters provided to `FetchWorkspaceHistory`,
1039
+ # with the exception of `page_size`, must match the call that provided the
1040
+ # page token.
1041
+ class FetchWorkspaceHistoryRequest
1042
+ include ::Google::Protobuf::MessageExts
1043
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1044
+ end
1045
+
1046
+ # `FetchWorkspaceHistory` response message.
1047
+ # @!attribute [rw] commits
1048
+ # @return [::Array<::Google::Cloud::Dataform::V1beta1::CommitLogEntry>]
1049
+ # A list of commit logs, ordered by 'git log' default order.
1050
+ # @!attribute [rw] next_page_token
1051
+ # @return [::String]
1052
+ # Optional. A token, which can be sent as `page_token` to retrieve the next
1053
+ # page. If this field is omitted, there are no subsequent pages.
1054
+ # @!attribute [rw] reaches_shallow_boundary
1055
+ # @return [::Boolean]
1056
+ # Whether this response reaches the shallow boundary of the repository.
1057
+ class FetchWorkspaceHistoryResponse
1058
+ include ::Google::Protobuf::MessageExts
1059
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1060
+ end
1061
+
980
1062
  # `CommitWorkspaceChanges` request message.
981
1063
  # @!attribute [rw] name
982
1064
  # @return [::String]
@@ -1184,7 +1266,7 @@ module Google
1184
1266
  # Client-facing representation of a file entry in search results.
1185
1267
  # @!attribute [rw] path
1186
1268
  # @return [::String]
1187
- # File system path relative to the workspace root.
1269
+ # File system path relative to the file tree root.
1188
1270
  class FileSearchResult
1189
1271
  include ::Google::Protobuf::MessageExts
1190
1272
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1902,6 +1984,46 @@ module Google
1902
1984
  extend ::Google::Protobuf::MessageExts::ClassMethods
1903
1985
  end
1904
1986
 
1987
+ # Represents the metadata of the `CreateCompilationResultLongRunning`
1988
+ # operation.
1989
+ # @!attribute [r] id
1990
+ # @return [::String]
1991
+ # Output only. The ID of the LRO.
1992
+ # @!attribute [r] target
1993
+ # @return [::String]
1994
+ # Output only. Server-defined resource path for the target of the operation.
1995
+ # @!attribute [r] state
1996
+ # @return [::Google::Cloud::Dataform::V1beta1::CreateCompilationResultMetadata::State]
1997
+ # Output only. The state of the LRO.
1998
+ # @!attribute [r] create_compilation_result_request
1999
+ # @return [::Google::Cloud::Dataform::V1beta1::CreateCompilationResultRequest]
2000
+ # Output only. The CreateCompilationResult requested.
2001
+ class CreateCompilationResultMetadata
2002
+ include ::Google::Protobuf::MessageExts
2003
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2004
+
2005
+ # State of the LRO.
2006
+ module State
2007
+ # The state is unspecified.
2008
+ STATE_UNSPECIFIED = 0
2009
+
2010
+ # The LRO has been created.
2011
+ CREATED = 1
2012
+
2013
+ # The LRO is in progress.
2014
+ RUNNING = 2
2015
+
2016
+ # The RPC call has finished.
2017
+ FINISHED = 3
2018
+
2019
+ # The LRO has succeeded.
2020
+ SUCCEEDED = 4
2021
+
2022
+ # The LRO has failed.
2023
+ FAILED = 5
2024
+ end
2025
+ end
2026
+
1905
2027
  # Represents an action identifier. If the action writes output, the output
1906
2028
  # will be written to the referenced database object.
1907
2029
  # @!attribute [rw] database
@@ -1963,32 +2085,42 @@ module Google
1963
2085
  # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation]
1964
2086
  # The database relation created/updated by this action.
1965
2087
  #
1966
- # Note: The following fields are mutually exclusive: `relation`, `operations`, `assertion`, `declaration`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2088
+ # Note: The following fields are mutually exclusive: `relation`, `operations`, `assertion`, `declaration`, `notebook`, `data_preparation`, `bigquery_unit_test`, `property_graph`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1967
2089
  # @!attribute [rw] operations
1968
2090
  # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Operations]
1969
2091
  # The database operations executed by this action.
1970
2092
  #
1971
- # Note: The following fields are mutually exclusive: `operations`, `relation`, `assertion`, `declaration`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2093
+ # Note: The following fields are mutually exclusive: `operations`, `relation`, `assertion`, `declaration`, `notebook`, `data_preparation`, `bigquery_unit_test`, `property_graph`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1972
2094
  # @!attribute [rw] assertion
1973
2095
  # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Assertion]
1974
2096
  # The assertion executed by this action.
1975
2097
  #
1976
- # Note: The following fields are mutually exclusive: `assertion`, `relation`, `operations`, `declaration`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2098
+ # Note: The following fields are mutually exclusive: `assertion`, `relation`, `operations`, `declaration`, `notebook`, `data_preparation`, `bigquery_unit_test`, `property_graph`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1977
2099
  # @!attribute [rw] declaration
1978
2100
  # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Declaration]
1979
2101
  # The declaration declared by this action.
1980
2102
  #
1981
- # Note: The following fields are mutually exclusive: `declaration`, `relation`, `operations`, `assertion`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2103
+ # Note: The following fields are mutually exclusive: `declaration`, `relation`, `operations`, `assertion`, `notebook`, `data_preparation`, `bigquery_unit_test`, `property_graph`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1982
2104
  # @!attribute [rw] notebook
1983
2105
  # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Notebook]
1984
2106
  # The notebook executed by this action.
1985
2107
  #
1986
- # Note: The following fields are mutually exclusive: `notebook`, `relation`, `operations`, `assertion`, `declaration`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2108
+ # Note: The following fields are mutually exclusive: `notebook`, `relation`, `operations`, `assertion`, `declaration`, `data_preparation`, `bigquery_unit_test`, `property_graph`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1987
2109
  # @!attribute [rw] data_preparation
1988
2110
  # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation]
1989
2111
  # The data preparation executed by this action.
1990
2112
  #
1991
- # Note: The following fields are mutually exclusive: `data_preparation`, `relation`, `operations`, `assertion`, `declaration`, `notebook`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2113
+ # Note: The following fields are mutually exclusive: `data_preparation`, `relation`, `operations`, `assertion`, `declaration`, `notebook`, `bigquery_unit_test`, `property_graph`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2114
+ # @!attribute [rw] bigquery_unit_test
2115
+ # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::BigQueryUnitTest]
2116
+ # The unit test executed by this action.
2117
+ #
2118
+ # Note: The following fields are mutually exclusive: `bigquery_unit_test`, `relation`, `operations`, `assertion`, `declaration`, `notebook`, `data_preparation`, `property_graph`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2119
+ # @!attribute [rw] property_graph
2120
+ # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::PropertyGraph]
2121
+ # The property graph created by this action.
2122
+ #
2123
+ # Note: The following fields are mutually exclusive: `property_graph`, `relation`, `operations`, `assertion`, `declaration`, `notebook`, `data_preparation`, `bigquery_unit_test`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1992
2124
  # @!attribute [rw] target
1993
2125
  # @return [::Google::Cloud::Dataform::V1beta1::Target]
1994
2126
  # This action's identifier. Unique within the compilation result.
@@ -2296,6 +2428,158 @@ module Google
2296
2428
  end
2297
2429
  end
2298
2430
 
2431
+ # Represents a BigQuery unit test.
2432
+ # @!attribute [rw] dependency_targets
2433
+ # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>]
2434
+ # A list of actions that this action depends on.
2435
+ # @!attribute [rw] disabled
2436
+ # @return [::Boolean]
2437
+ # Whether this action is disabled (i.e. should not be run).
2438
+ # @!attribute [rw] tags
2439
+ # @return [::Array<::String>]
2440
+ # Arbitrary, user-defined tags on this action.
2441
+ # @!attribute [rw] display_name
2442
+ # @return [::String]
2443
+ # The name of the unit test.
2444
+ # @!attribute [rw] test_query
2445
+ # @return [::String]
2446
+ # Test query to execute.
2447
+ # @!attribute [rw] expected_output_query
2448
+ # @return [::String]
2449
+ # Expected output query to compare against the test query.
2450
+ class BigQueryUnitTest
2451
+ include ::Google::Protobuf::MessageExts
2452
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2453
+ end
2454
+
2455
+ # Represents a BigQuery property graph action. Defines a graph schema over
2456
+ # one or more source tables (node tables) joined by relationship tables
2457
+ # (edge tables), rendered as a CREATE PROPERTY GRAPH DDL statement.
2458
+ # @!attribute [rw] dependency_targets
2459
+ # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>]
2460
+ # A list of actions that this action depends on.
2461
+ # @!attribute [rw] description
2462
+ # @return [::String]
2463
+ # Human-readable description of the property graph.
2464
+ # @!attribute [rw] nodes
2465
+ # @return [::Array<::Google::Cloud::Dataform::V1beta1::CompilationResultAction::PropertyGraph::GraphNodeTable>]
2466
+ # Node tables in the property graph.
2467
+ # @!attribute [rw] edges
2468
+ # @return [::Array<::Google::Cloud::Dataform::V1beta1::CompilationResultAction::PropertyGraph::GraphEdgeTable>]
2469
+ # Edge tables in the property graph.
2470
+ # @!attribute [rw] graph_body
2471
+ # @return [::String]
2472
+ # Rendered CREATE PROPERTY GRAPH DDL body.
2473
+ # @!attribute [rw] disabled
2474
+ # @return [::Boolean]
2475
+ # Whether this action is disabled (i.e. should not be run).
2476
+ class PropertyGraph
2477
+ include ::Google::Protobuf::MessageExts
2478
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2479
+
2480
+ # A node table entry in the property graph schema.
2481
+ # @!attribute [rw] node_name
2482
+ # @return [::String]
2483
+ # Node table name.
2484
+ # @!attribute [rw] data_source
2485
+ # @return [::Google::Cloud::Dataform::V1beta1::Target]
2486
+ # Backing table.
2487
+ # @!attribute [rw] keys
2488
+ # @return [::Array<::String>]
2489
+ # Key columns.
2490
+ # @!attribute [rw] labels
2491
+ # @return [::Array<::Google::Cloud::Dataform::V1beta1::CompilationResultAction::PropertyGraph::GraphLabel>]
2492
+ # Attached labels.
2493
+ class GraphNodeTable
2494
+ include ::Google::Protobuf::MessageExts
2495
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2496
+ end
2497
+
2498
+ # An edge table entry in the property graph schema.
2499
+ # @!attribute [rw] edge_name
2500
+ # @return [::String]
2501
+ # Edge table name.
2502
+ # @!attribute [rw] data_source
2503
+ # @return [::Google::Cloud::Dataform::V1beta1::Target]
2504
+ # Backing table.
2505
+ # @!attribute [rw] keys
2506
+ # @return [::Array<::String>]
2507
+ # Key columns.
2508
+ # @!attribute [rw] source
2509
+ # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::PropertyGraph::GraphEndpoint]
2510
+ # Source endpoint.
2511
+ # @!attribute [rw] destination
2512
+ # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::PropertyGraph::GraphEndpoint]
2513
+ # Destination endpoint.
2514
+ # @!attribute [rw] labels
2515
+ # @return [::Array<::Google::Cloud::Dataform::V1beta1::CompilationResultAction::PropertyGraph::GraphLabel>]
2516
+ # Attached labels.
2517
+ class GraphEdgeTable
2518
+ include ::Google::Protobuf::MessageExts
2519
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2520
+ end
2521
+
2522
+ # A label attached to a node table or edge table.
2523
+ # @!attribute [rw] label_name
2524
+ # @return [::String]
2525
+ # Label name.
2526
+ # @!attribute [rw] description
2527
+ # @return [::String]
2528
+ # Human-readable description of the label.
2529
+ # @!attribute [rw] synonyms
2530
+ # @return [::Array<::String>]
2531
+ # Alternative names for the label.
2532
+ # @!attribute [rw] fields
2533
+ # @return [::Array<::Google::Cloud::Dataform::V1beta1::CompilationResultAction::PropertyGraph::GraphField>]
2534
+ # Fields exposed by this label.
2535
+ # @!attribute [rw] all_columns
2536
+ # @return [::Boolean]
2537
+ # If true, expose all source columns as fields.
2538
+ # @!attribute [rw] excluded_columns
2539
+ # @return [::Array<::String>]
2540
+ # Columns to exclude when all_columns is true.
2541
+ # @!attribute [rw] is_default
2542
+ # @return [::Boolean]
2543
+ # Whether this is the default label for its container.
2544
+ class GraphLabel
2545
+ include ::Google::Protobuf::MessageExts
2546
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2547
+ end
2548
+
2549
+ # A field exposed by a label.
2550
+ # @!attribute [rw] field_name
2551
+ # @return [::String]
2552
+ # Field name.
2553
+ # @!attribute [rw] expression
2554
+ # @return [::String]
2555
+ # Optional SQL expression. If empty, maps to a source column.
2556
+ # @!attribute [rw] description
2557
+ # @return [::String]
2558
+ # Human-readable description of the field.
2559
+ # @!attribute [rw] synonyms
2560
+ # @return [::Array<::String>]
2561
+ # Alternative names for the field.
2562
+ class GraphField
2563
+ include ::Google::Protobuf::MessageExts
2564
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2565
+ end
2566
+
2567
+ # Join specification linking an edge table to a node table.
2568
+ # @!attribute [rw] node
2569
+ # @return [::String]
2570
+ # Referenced node table name.
2571
+ # @!attribute [rw] edge_columns
2572
+ # @return [::Array<::String>]
2573
+ # Join columns on the edge table.
2574
+ # @!attribute [rw] node_columns
2575
+ # @return [::Array<::String>]
2576
+ # Join columns on the node table.
2577
+ class GraphEndpoint
2578
+ include ::Google::Protobuf::MessageExts
2579
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2580
+ end
2581
+ end
2582
+
2299
2583
  # Simplified load configuration for actions
2300
2584
  # @!attribute [rw] replace
2301
2585
  # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode]
@@ -2479,12 +2763,27 @@ module Google
2479
2763
  # @!attribute [rw] end_user_auth_config
2480
2764
  # @return [::Google::Cloud::Dataform::V1beta1::InvocationConfig::EndUserAuthenticationConfig]
2481
2765
  # Optional. Configuration for end user authentication.
2482
- # Note that this should not be set when `service_account` is used.
2766
+ # Do not set if `service_account` is used.
2483
2767
  # @!attribute [rw] query_priority
2484
2768
  # @return [::Google::Cloud::Dataform::V1beta1::InvocationConfig::QueryPriority]
2485
2769
  # Optional. Specifies the priority for query execution in BigQuery.
2486
2770
  # More information can be found at
2487
2771
  # https://cloud.google.com/bigquery/docs/running-queries#queries.
2772
+ # @!attribute [rw] concurrent_actions_limit
2773
+ # @return [::Integer]
2774
+ # Optional. Maximum number of actions that can be executed concurrently.
2775
+ # @!attribute [rw] lineage_emission_mode
2776
+ # @return [::Google::Cloud::Dataform::V1beta1::InvocationConfig::LineageEmissionMode]
2777
+ # Optional. Override for OpenLineage emission (set on an invocation or a
2778
+ # WorkflowConfig).
2779
+ # @!attribute [r] effective_lineage_emission_mode
2780
+ # @return [::Google::Cloud::Dataform::V1beta1::InvocationConfig::LineageEmissionMode]
2781
+ # Output only. Indicates whether OpenLineage events are emitted for actions
2782
+ # in this workflow invocation. Reflects the resolved emission state (from
2783
+ # `workflow_settings.yaml` and `lineage_emission_mode`).
2784
+ # @!attribute [rw] execution_mode
2785
+ # @return [::Google::Cloud::Dataform::V1beta1::InvocationConfig::ExecutionMode]
2786
+ # Optional. Specifies the execution mode for the workflow invocation.
2488
2787
  class InvocationConfig
2489
2788
  include ::Google::Protobuf::MessageExts
2490
2789
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2516,6 +2815,36 @@ module Google
2516
2815
  # https://cloud.google.com/bigquery/docs/running-queries#batchqueries.
2517
2816
  BATCH = 2
2518
2817
  end
2818
+
2819
+ # Override for OpenLineage emission. When unset,
2820
+ # the `lineage.enabled` value from `workflow_settings.yaml` is used.
2821
+ module LineageEmissionMode
2822
+ # Default. Yaml value from `workflow_settings.yaml` is used.
2823
+ LINEAGE_EMISSION_MODE_UNSPECIFIED = 0
2824
+
2825
+ # Emit OpenLineage events for this invocation.
2826
+ ENABLED = 1
2827
+
2828
+ # Suppress OpenLineage events for this invocation.
2829
+ DISABLED = 2
2830
+ end
2831
+
2832
+ # Execution mode for the workflow invocation.
2833
+ # Determines whether to run actions or unit tests.
2834
+ module ExecutionMode
2835
+ # Default value.
2836
+ EXECUTION_MODE_UNSPECIFIED = 0
2837
+
2838
+ # Default execution mode, which runs all actions except unit tests.
2839
+ # Same as ALL_EXCEPT_UNIT_TESTS.
2840
+ DEFAULT = 1
2841
+
2842
+ # Run all actions except unit tests.
2843
+ ALL_EXCEPT_UNIT_TESTS = 2
2844
+
2845
+ # Run unit tests only.
2846
+ UNIT_TESTS_ONLY = 3
2847
+ end
2519
2848
  end
2520
2849
 
2521
2850
  # `ListWorkflowConfigs` request message.
@@ -2778,17 +3107,22 @@ module Google
2778
3107
  # @return [::Google::Cloud::Dataform::V1beta1::WorkflowInvocationAction::BigQueryAction]
2779
3108
  # Output only. The workflow action's bigquery action details.
2780
3109
  #
2781
- # Note: The following fields are mutually exclusive: `bigquery_action`, `notebook_action`, `data_preparation_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3110
+ # Note: The following fields are mutually exclusive: `bigquery_action`, `notebook_action`, `data_preparation_action`, `bigquery_unit_test_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2782
3111
  # @!attribute [r] notebook_action
2783
3112
  # @return [::Google::Cloud::Dataform::V1beta1::WorkflowInvocationAction::NotebookAction]
2784
3113
  # Output only. The workflow action's notebook action details.
2785
3114
  #
2786
- # Note: The following fields are mutually exclusive: `notebook_action`, `bigquery_action`, `data_preparation_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3115
+ # Note: The following fields are mutually exclusive: `notebook_action`, `bigquery_action`, `data_preparation_action`, `bigquery_unit_test_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2787
3116
  # @!attribute [r] data_preparation_action
2788
3117
  # @return [::Google::Cloud::Dataform::V1beta1::WorkflowInvocationAction::DataPreparationAction]
2789
3118
  # Output only. The workflow action's data preparation action details.
2790
3119
  #
2791
- # Note: The following fields are mutually exclusive: `data_preparation_action`, `bigquery_action`, `notebook_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3120
+ # Note: The following fields are mutually exclusive: `data_preparation_action`, `bigquery_action`, `notebook_action`, `bigquery_unit_test_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3121
+ # @!attribute [r] bigquery_unit_test_action
3122
+ # @return [::Google::Cloud::Dataform::V1beta1::WorkflowInvocationAction::BigQueryUnitTestAction]
3123
+ # Output only. The workflow action's unit test details.
3124
+ #
3125
+ # Note: The following fields are mutually exclusive: `bigquery_unit_test_action`, `bigquery_action`, `notebook_action`, `data_preparation_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2792
3126
  # @!attribute [r] target
2793
3127
  # @return [::Google::Cloud::Dataform::V1beta1::Target]
2794
3128
  # Output only. This action's identifier. Unique within the workflow
@@ -2950,6 +3284,32 @@ module Google
2950
3284
  end
2951
3285
  end
2952
3286
 
3287
+ # Represents a workflow action that will run a BigQuery unit test.
3288
+ # @!attribute [r] actual_results_job_id
3289
+ # @return [::String]
3290
+ # Output only. Job ID for the actual results.
3291
+ # @!attribute [r] actual_results_sql_script
3292
+ # @return [::String]
3293
+ # Output only. SQL script for the actual results.
3294
+ # @!attribute [r] expected_results_job_id
3295
+ # @return [::String]
3296
+ # Output only. Job ID for the expected results.
3297
+ # @!attribute [r] expected_results_sql_script
3298
+ # @return [::String]
3299
+ # Output only. SQL script for the expected results.
3300
+ # @!attribute [r] total_processed_bytes
3301
+ # @return [::Integer]
3302
+ # Output only. Total bytes processed for this action. Combined total for
3303
+ # actual and expected jobs.
3304
+ # @!attribute [r] total_billed_bytes
3305
+ # @return [::Integer]
3306
+ # Output only. Total bytes billed for this action. Combined total for
3307
+ # actual and expected jobs.
3308
+ class BigQueryUnitTestAction
3309
+ include ::Google::Protobuf::MessageExts
3310
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3311
+ end
3312
+
2953
3313
  # Represents the current state of a workflow invocation action.
2954
3314
  module State
2955
3315
  # The action has not yet been considered for invocation.
@@ -2974,6 +3334,10 @@ module Google
2974
3334
 
2975
3335
  # The action failed. A terminal state.
2976
3336
  FAILED = 6
3337
+
3338
+ # Execution of the action was queued waiting for an available concurrency
3339
+ # slot.
3340
+ QUEUED = 7
2977
3341
  end
2978
3342
  end
2979
3343
 
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.5.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -111,6 +111,7 @@ files:
111
111
  - proto_docs/README.md
112
112
  - proto_docs/google/api/client.rb
113
113
  - proto_docs/google/api/field_behavior.rb
114
+ - proto_docs/google/api/field_info.rb
114
115
  - proto_docs/google/api/launch_stage.rb
115
116
  - proto_docs/google/api/resource.rb
116
117
  - proto_docs/google/cloud/dataform/v1beta1/dataform.rb