Class: Google::Cloud::Dataform::V1beta1::CompilationResultAction
- Inherits:
-
Object
- Object
- Google::Cloud::Dataform::V1beta1::CompilationResultAction
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataform/v1beta1/dataform.rb
Overview
Represents a single Dataform action in a compilation result.
Defined Under Namespace
Classes: Assertion, DataPreparation, Declaration, IncrementalLoadMode, LoadConfig, Notebook, Operations, Relation, SimpleLoadMode
Instance Attribute Summary collapse
-
#assertion ⇒ ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Assertion
The assertion executed by this action.
-
#canonical_target ⇒ ::Google::Cloud::Dataform::V1beta1::Target
The action's identifier if the project had been compiled without any overrides configured.
-
#data_preparation ⇒ ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation
The data preparation executed by this action.
-
#declaration ⇒ ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Declaration
The declaration declared by this action.
-
#file_path ⇒ ::String
The full path including filename in which this action is located, relative to the workspace root.
-
#internal_metadata ⇒ ::String
readonly
Output only.
-
#notebook ⇒ ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Notebook
The notebook executed by this action.
-
#operations ⇒ ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Operations
The database operations executed by this action.
-
#relation ⇒ ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation
The database relation created/updated by this action.
-
#target ⇒ ::Google::Cloud::Dataform::V1beta1::Target
This action's identifier.
Instance Attribute Details
#assertion ⇒ ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Assertion
Returns The assertion executed by this action.
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.
1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1881 class CompilationResultAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a database relation. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. # @!attribute [rw] relation_type # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType] # The type of this relation. # @!attribute [rw] select_query # @return [::String] # The SELECT query which returns rows which this relation should contain. # @!attribute [rw] pre_operations # @return [::Array<::String>] # SQL statements to be executed before creating the relation. # @!attribute [rw] post_operations # @return [::Array<::String>] # SQL statements to be executed after creating the relation. # @!attribute [rw] incremental_table_config # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig] # Configures `INCREMENTAL_TABLE` settings for this relation. Only set if # `relation_type` is `INCREMENTAL_TABLE`. # @!attribute [rw] partition_expression # @return [::String] # The SQL expression used to partition the relation. # @!attribute [rw] cluster_expressions # @return [::Array<::String>] # A list of columns or SQL expressions used to cluster the table. # @!attribute [rw] partition_expiration_days # @return [::Integer] # Sets the partition expiration in days. # @!attribute [rw] require_partition_filter # @return [::Boolean] # Specifies whether queries on this table must include a predicate filter # that filters on the partitioning column. # @!attribute [rw] additional_options # @return [::Google::Protobuf::Map{::String => ::String}] # Additional options that will be provided as key/value pairs into the # options clause of a create table/view statement. See # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language # for more information on which options are supported. # @!attribute [rw] connection # @return [::String] # Optional. The connection specifying the credentials to be used to read # and write to external storage, such as Cloud Storage. The connection can # have the form `{project}.{location}.{connection_id}` or # `projects/{project}/locations/{location}/connections/{connection_id}`, # or be set to DEFAULT. # @!attribute [rw] table_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::TableFormat] # Optional. The table format for the BigQuery table. # @!attribute [rw] file_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::FileFormat] # Optional. The file format for the BigQuery table. # @!attribute [rw] storage_uri # @return [::String] # Optional. The fully qualified location prefix of the external folder # where table data is stored. The URI should be in the format # `gs://bucket/path_to_table/`. class Relation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Contains settings for relations of type `INCREMENTAL_TABLE`. # @!attribute [rw] incremental_select_query # @return [::String] # The SELECT query which returns rows which should be inserted into the # relation if it already exists and is not being refreshed. # @!attribute [rw] refresh_disabled # @return [::Boolean] # Whether this table should be protected from being refreshed. # @!attribute [rw] unique_key_parts # @return [::Array<::String>] # A set of columns or SQL expressions used to define row uniqueness. # If any duplicates are discovered (as defined by `unique_key_parts`), # only the newly selected rows (as defined by `incremental_select_query`) # will be included in the relation. # @!attribute [rw] update_partition_filter # @return [::String] # A SQL expression conditional used to limit the set of existing rows # considered for a merge operation (see `unique_key_parts` for more # information). # @!attribute [rw] incremental_pre_operations # @return [::Array<::String>] # SQL statements to be executed before inserting new rows into the # relation. # @!attribute [rw] incremental_post_operations # @return [::Array<::String>] # SQL statements to be executed after inserting new rows into the # relation. class IncrementalTableConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdditionalOptionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Indicates the type of this relation. module RelationType # Default value. This value is unused. RELATION_TYPE_UNSPECIFIED = 0 # The relation is a table. TABLE = 1 # The relation is a view. VIEW = 2 # The relation is an incrementalized table. INCREMENTAL_TABLE = 3 # The relation is a materialized view. MATERIALIZED_VIEW = 4 end # Supported table formats for BigQuery tables. module TableFormat # Default value. TABLE_FORMAT_UNSPECIFIED = 0 # Apache Iceberg format. ICEBERG = 1 end # Supported file formats for BigQuery tables. module FileFormat # Default value. FILE_FORMAT_UNSPECIFIED = 0 # Apache Parquet format. PARQUET = 1 end end # Represents a list of arbitrary database operations. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for any output relation and its columns. Only set if # `has_output` is true. # @!attribute [rw] queries # @return [::Array<::String>] # A list of arbitrary SQL statements that will be executed without # alteration. # @!attribute [rw] has_output # @return [::Boolean] # Whether these operations produce an output relation. class Operations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents an assertion upon a SQL query which is required return zero # rows. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] parent_action # @return [::Google::Cloud::Dataform::V1beta1::Target] # The parent action of this assertion. Only set if this assertion was # automatically generated. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] select_query # @return [::String] # The SELECT query which must return zero rows in order for this assertion # to succeed. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the assertion's automatically-generated view and its # columns. class Assertion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a relation which is not managed by Dataform but which may be # referenced by Dataform actions. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. Used as documentation only, # i.e. values here will result in no changes to the relation's metadata. class Declaration include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a notebook. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] contents # @return [::String] # The contents of the notebook. # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class Notebook include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a compiled Data Preparation entity # @!attribute [rw] contents_yaml # @return [::String] # The data preparation definition, stored as a YAML string. # # Note: The following fields are mutually exclusive: `contents_yaml`, `contents_sql`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] contents_sql # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::SqlDefinition] # SQL definition for a Data Preparation. Contains a SQL query and # additional context information. # # Note: The following fields are mutually exclusive: `contents_sql`, `contents_yaml`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class DataPreparation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Definition of a SQL Data Preparation # @!attribute [rw] query # @return [::String] # The SQL query representing the data preparation steps. Formatted as a # Pipe SQL query statement. # @!attribute [rw] error_table # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::ErrorTable] # Error table configuration, # @!attribute [rw] load # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::LoadConfig] # Load configuration. class SqlDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Error table information, used to write error data into a BigQuery # table. # @!attribute [rw] target # @return [::Google::Cloud::Dataform::V1beta1::Target] # Error Table target. # @!attribute [rw] retention_days # @return [::Integer] # Error table partition expiration in days. Only positive values are # allowed. class ErrorTable include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Simplified load configuration for actions # @!attribute [rw] replace # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Replace destination table # # Note: The following fields are mutually exclusive: `replace`, `append`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] append # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Append into destination table # # Note: The following fields are mutually exclusive: `append`, `replace`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] maximum # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value exceeds the previous maximum value for a # column in the destination table # # Note: The following fields are mutually exclusive: `maximum`, `replace`, `append`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] unique # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value of a column is not already present in # the destination table # # Note: The following fields are mutually exclusive: `unique`, `replace`, `append`, `maximum`. If a field in that set is populated, all other fields in the set will automatically be cleared. class LoadConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Simple load definition class SimpleLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Load definition for incremental load modes # @!attribute [rw] column # @return [::String] # Column name for incremental load modes class IncrementalLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#canonical_target ⇒ ::Google::Cloud::Dataform::V1beta1::Target
Returns The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.
1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1881 class CompilationResultAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a database relation. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. # @!attribute [rw] relation_type # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType] # The type of this relation. # @!attribute [rw] select_query # @return [::String] # The SELECT query which returns rows which this relation should contain. # @!attribute [rw] pre_operations # @return [::Array<::String>] # SQL statements to be executed before creating the relation. # @!attribute [rw] post_operations # @return [::Array<::String>] # SQL statements to be executed after creating the relation. # @!attribute [rw] incremental_table_config # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig] # Configures `INCREMENTAL_TABLE` settings for this relation. Only set if # `relation_type` is `INCREMENTAL_TABLE`. # @!attribute [rw] partition_expression # @return [::String] # The SQL expression used to partition the relation. # @!attribute [rw] cluster_expressions # @return [::Array<::String>] # A list of columns or SQL expressions used to cluster the table. # @!attribute [rw] partition_expiration_days # @return [::Integer] # Sets the partition expiration in days. # @!attribute [rw] require_partition_filter # @return [::Boolean] # Specifies whether queries on this table must include a predicate filter # that filters on the partitioning column. # @!attribute [rw] additional_options # @return [::Google::Protobuf::Map{::String => ::String}] # Additional options that will be provided as key/value pairs into the # options clause of a create table/view statement. See # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language # for more information on which options are supported. # @!attribute [rw] connection # @return [::String] # Optional. The connection specifying the credentials to be used to read # and write to external storage, such as Cloud Storage. The connection can # have the form `{project}.{location}.{connection_id}` or # `projects/{project}/locations/{location}/connections/{connection_id}`, # or be set to DEFAULT. # @!attribute [rw] table_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::TableFormat] # Optional. The table format for the BigQuery table. # @!attribute [rw] file_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::FileFormat] # Optional. The file format for the BigQuery table. # @!attribute [rw] storage_uri # @return [::String] # Optional. The fully qualified location prefix of the external folder # where table data is stored. The URI should be in the format # `gs://bucket/path_to_table/`. class Relation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Contains settings for relations of type `INCREMENTAL_TABLE`. # @!attribute [rw] incremental_select_query # @return [::String] # The SELECT query which returns rows which should be inserted into the # relation if it already exists and is not being refreshed. # @!attribute [rw] refresh_disabled # @return [::Boolean] # Whether this table should be protected from being refreshed. # @!attribute [rw] unique_key_parts # @return [::Array<::String>] # A set of columns or SQL expressions used to define row uniqueness. # If any duplicates are discovered (as defined by `unique_key_parts`), # only the newly selected rows (as defined by `incremental_select_query`) # will be included in the relation. # @!attribute [rw] update_partition_filter # @return [::String] # A SQL expression conditional used to limit the set of existing rows # considered for a merge operation (see `unique_key_parts` for more # information). # @!attribute [rw] incremental_pre_operations # @return [::Array<::String>] # SQL statements to be executed before inserting new rows into the # relation. # @!attribute [rw] incremental_post_operations # @return [::Array<::String>] # SQL statements to be executed after inserting new rows into the # relation. class IncrementalTableConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdditionalOptionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Indicates the type of this relation. module RelationType # Default value. This value is unused. RELATION_TYPE_UNSPECIFIED = 0 # The relation is a table. TABLE = 1 # The relation is a view. VIEW = 2 # The relation is an incrementalized table. INCREMENTAL_TABLE = 3 # The relation is a materialized view. MATERIALIZED_VIEW = 4 end # Supported table formats for BigQuery tables. module TableFormat # Default value. TABLE_FORMAT_UNSPECIFIED = 0 # Apache Iceberg format. ICEBERG = 1 end # Supported file formats for BigQuery tables. module FileFormat # Default value. FILE_FORMAT_UNSPECIFIED = 0 # Apache Parquet format. PARQUET = 1 end end # Represents a list of arbitrary database operations. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for any output relation and its columns. Only set if # `has_output` is true. # @!attribute [rw] queries # @return [::Array<::String>] # A list of arbitrary SQL statements that will be executed without # alteration. # @!attribute [rw] has_output # @return [::Boolean] # Whether these operations produce an output relation. class Operations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents an assertion upon a SQL query which is required return zero # rows. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] parent_action # @return [::Google::Cloud::Dataform::V1beta1::Target] # The parent action of this assertion. Only set if this assertion was # automatically generated. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] select_query # @return [::String] # The SELECT query which must return zero rows in order for this assertion # to succeed. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the assertion's automatically-generated view and its # columns. class Assertion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a relation which is not managed by Dataform but which may be # referenced by Dataform actions. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. Used as documentation only, # i.e. values here will result in no changes to the relation's metadata. class Declaration include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a notebook. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] contents # @return [::String] # The contents of the notebook. # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class Notebook include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a compiled Data Preparation entity # @!attribute [rw] contents_yaml # @return [::String] # The data preparation definition, stored as a YAML string. # # Note: The following fields are mutually exclusive: `contents_yaml`, `contents_sql`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] contents_sql # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::SqlDefinition] # SQL definition for a Data Preparation. Contains a SQL query and # additional context information. # # Note: The following fields are mutually exclusive: `contents_sql`, `contents_yaml`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class DataPreparation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Definition of a SQL Data Preparation # @!attribute [rw] query # @return [::String] # The SQL query representing the data preparation steps. Formatted as a # Pipe SQL query statement. # @!attribute [rw] error_table # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::ErrorTable] # Error table configuration, # @!attribute [rw] load # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::LoadConfig] # Load configuration. class SqlDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Error table information, used to write error data into a BigQuery # table. # @!attribute [rw] target # @return [::Google::Cloud::Dataform::V1beta1::Target] # Error Table target. # @!attribute [rw] retention_days # @return [::Integer] # Error table partition expiration in days. Only positive values are # allowed. class ErrorTable include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Simplified load configuration for actions # @!attribute [rw] replace # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Replace destination table # # Note: The following fields are mutually exclusive: `replace`, `append`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] append # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Append into destination table # # Note: The following fields are mutually exclusive: `append`, `replace`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] maximum # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value exceeds the previous maximum value for a # column in the destination table # # Note: The following fields are mutually exclusive: `maximum`, `replace`, `append`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] unique # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value of a column is not already present in # the destination table # # Note: The following fields are mutually exclusive: `unique`, `replace`, `append`, `maximum`. If a field in that set is populated, all other fields in the set will automatically be cleared. class LoadConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Simple load definition class SimpleLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Load definition for incremental load modes # @!attribute [rw] column # @return [::String] # Column name for incremental load modes class IncrementalLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#data_preparation ⇒ ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation
Returns The data preparation executed by this action.
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.
1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1881 class CompilationResultAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a database relation. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. # @!attribute [rw] relation_type # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType] # The type of this relation. # @!attribute [rw] select_query # @return [::String] # The SELECT query which returns rows which this relation should contain. # @!attribute [rw] pre_operations # @return [::Array<::String>] # SQL statements to be executed before creating the relation. # @!attribute [rw] post_operations # @return [::Array<::String>] # SQL statements to be executed after creating the relation. # @!attribute [rw] incremental_table_config # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig] # Configures `INCREMENTAL_TABLE` settings for this relation. Only set if # `relation_type` is `INCREMENTAL_TABLE`. # @!attribute [rw] partition_expression # @return [::String] # The SQL expression used to partition the relation. # @!attribute [rw] cluster_expressions # @return [::Array<::String>] # A list of columns or SQL expressions used to cluster the table. # @!attribute [rw] partition_expiration_days # @return [::Integer] # Sets the partition expiration in days. # @!attribute [rw] require_partition_filter # @return [::Boolean] # Specifies whether queries on this table must include a predicate filter # that filters on the partitioning column. # @!attribute [rw] additional_options # @return [::Google::Protobuf::Map{::String => ::String}] # Additional options that will be provided as key/value pairs into the # options clause of a create table/view statement. See # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language # for more information on which options are supported. # @!attribute [rw] connection # @return [::String] # Optional. The connection specifying the credentials to be used to read # and write to external storage, such as Cloud Storage. The connection can # have the form `{project}.{location}.{connection_id}` or # `projects/{project}/locations/{location}/connections/{connection_id}`, # or be set to DEFAULT. # @!attribute [rw] table_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::TableFormat] # Optional. The table format for the BigQuery table. # @!attribute [rw] file_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::FileFormat] # Optional. The file format for the BigQuery table. # @!attribute [rw] storage_uri # @return [::String] # Optional. The fully qualified location prefix of the external folder # where table data is stored. The URI should be in the format # `gs://bucket/path_to_table/`. class Relation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Contains settings for relations of type `INCREMENTAL_TABLE`. # @!attribute [rw] incremental_select_query # @return [::String] # The SELECT query which returns rows which should be inserted into the # relation if it already exists and is not being refreshed. # @!attribute [rw] refresh_disabled # @return [::Boolean] # Whether this table should be protected from being refreshed. # @!attribute [rw] unique_key_parts # @return [::Array<::String>] # A set of columns or SQL expressions used to define row uniqueness. # If any duplicates are discovered (as defined by `unique_key_parts`), # only the newly selected rows (as defined by `incremental_select_query`) # will be included in the relation. # @!attribute [rw] update_partition_filter # @return [::String] # A SQL expression conditional used to limit the set of existing rows # considered for a merge operation (see `unique_key_parts` for more # information). # @!attribute [rw] incremental_pre_operations # @return [::Array<::String>] # SQL statements to be executed before inserting new rows into the # relation. # @!attribute [rw] incremental_post_operations # @return [::Array<::String>] # SQL statements to be executed after inserting new rows into the # relation. class IncrementalTableConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdditionalOptionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Indicates the type of this relation. module RelationType # Default value. This value is unused. RELATION_TYPE_UNSPECIFIED = 0 # The relation is a table. TABLE = 1 # The relation is a view. VIEW = 2 # The relation is an incrementalized table. INCREMENTAL_TABLE = 3 # The relation is a materialized view. MATERIALIZED_VIEW = 4 end # Supported table formats for BigQuery tables. module TableFormat # Default value. TABLE_FORMAT_UNSPECIFIED = 0 # Apache Iceberg format. ICEBERG = 1 end # Supported file formats for BigQuery tables. module FileFormat # Default value. FILE_FORMAT_UNSPECIFIED = 0 # Apache Parquet format. PARQUET = 1 end end # Represents a list of arbitrary database operations. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for any output relation and its columns. Only set if # `has_output` is true. # @!attribute [rw] queries # @return [::Array<::String>] # A list of arbitrary SQL statements that will be executed without # alteration. # @!attribute [rw] has_output # @return [::Boolean] # Whether these operations produce an output relation. class Operations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents an assertion upon a SQL query which is required return zero # rows. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] parent_action # @return [::Google::Cloud::Dataform::V1beta1::Target] # The parent action of this assertion. Only set if this assertion was # automatically generated. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] select_query # @return [::String] # The SELECT query which must return zero rows in order for this assertion # to succeed. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the assertion's automatically-generated view and its # columns. class Assertion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a relation which is not managed by Dataform but which may be # referenced by Dataform actions. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. Used as documentation only, # i.e. values here will result in no changes to the relation's metadata. class Declaration include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a notebook. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] contents # @return [::String] # The contents of the notebook. # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class Notebook include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a compiled Data Preparation entity # @!attribute [rw] contents_yaml # @return [::String] # The data preparation definition, stored as a YAML string. # # Note: The following fields are mutually exclusive: `contents_yaml`, `contents_sql`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] contents_sql # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::SqlDefinition] # SQL definition for a Data Preparation. Contains a SQL query and # additional context information. # # Note: The following fields are mutually exclusive: `contents_sql`, `contents_yaml`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class DataPreparation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Definition of a SQL Data Preparation # @!attribute [rw] query # @return [::String] # The SQL query representing the data preparation steps. Formatted as a # Pipe SQL query statement. # @!attribute [rw] error_table # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::ErrorTable] # Error table configuration, # @!attribute [rw] load # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::LoadConfig] # Load configuration. class SqlDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Error table information, used to write error data into a BigQuery # table. # @!attribute [rw] target # @return [::Google::Cloud::Dataform::V1beta1::Target] # Error Table target. # @!attribute [rw] retention_days # @return [::Integer] # Error table partition expiration in days. Only positive values are # allowed. class ErrorTable include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Simplified load configuration for actions # @!attribute [rw] replace # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Replace destination table # # Note: The following fields are mutually exclusive: `replace`, `append`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] append # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Append into destination table # # Note: The following fields are mutually exclusive: `append`, `replace`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] maximum # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value exceeds the previous maximum value for a # column in the destination table # # Note: The following fields are mutually exclusive: `maximum`, `replace`, `append`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] unique # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value of a column is not already present in # the destination table # # Note: The following fields are mutually exclusive: `unique`, `replace`, `append`, `maximum`. If a field in that set is populated, all other fields in the set will automatically be cleared. class LoadConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Simple load definition class SimpleLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Load definition for incremental load modes # @!attribute [rw] column # @return [::String] # Column name for incremental load modes class IncrementalLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#declaration ⇒ ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Declaration
Returns The declaration declared by this action.
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.
1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1881 class CompilationResultAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a database relation. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. # @!attribute [rw] relation_type # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType] # The type of this relation. # @!attribute [rw] select_query # @return [::String] # The SELECT query which returns rows which this relation should contain. # @!attribute [rw] pre_operations # @return [::Array<::String>] # SQL statements to be executed before creating the relation. # @!attribute [rw] post_operations # @return [::Array<::String>] # SQL statements to be executed after creating the relation. # @!attribute [rw] incremental_table_config # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig] # Configures `INCREMENTAL_TABLE` settings for this relation. Only set if # `relation_type` is `INCREMENTAL_TABLE`. # @!attribute [rw] partition_expression # @return [::String] # The SQL expression used to partition the relation. # @!attribute [rw] cluster_expressions # @return [::Array<::String>] # A list of columns or SQL expressions used to cluster the table. # @!attribute [rw] partition_expiration_days # @return [::Integer] # Sets the partition expiration in days. # @!attribute [rw] require_partition_filter # @return [::Boolean] # Specifies whether queries on this table must include a predicate filter # that filters on the partitioning column. # @!attribute [rw] additional_options # @return [::Google::Protobuf::Map{::String => ::String}] # Additional options that will be provided as key/value pairs into the # options clause of a create table/view statement. See # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language # for more information on which options are supported. # @!attribute [rw] connection # @return [::String] # Optional. The connection specifying the credentials to be used to read # and write to external storage, such as Cloud Storage. The connection can # have the form `{project}.{location}.{connection_id}` or # `projects/{project}/locations/{location}/connections/{connection_id}`, # or be set to DEFAULT. # @!attribute [rw] table_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::TableFormat] # Optional. The table format for the BigQuery table. # @!attribute [rw] file_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::FileFormat] # Optional. The file format for the BigQuery table. # @!attribute [rw] storage_uri # @return [::String] # Optional. The fully qualified location prefix of the external folder # where table data is stored. The URI should be in the format # `gs://bucket/path_to_table/`. class Relation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Contains settings for relations of type `INCREMENTAL_TABLE`. # @!attribute [rw] incremental_select_query # @return [::String] # The SELECT query which returns rows which should be inserted into the # relation if it already exists and is not being refreshed. # @!attribute [rw] refresh_disabled # @return [::Boolean] # Whether this table should be protected from being refreshed. # @!attribute [rw] unique_key_parts # @return [::Array<::String>] # A set of columns or SQL expressions used to define row uniqueness. # If any duplicates are discovered (as defined by `unique_key_parts`), # only the newly selected rows (as defined by `incremental_select_query`) # will be included in the relation. # @!attribute [rw] update_partition_filter # @return [::String] # A SQL expression conditional used to limit the set of existing rows # considered for a merge operation (see `unique_key_parts` for more # information). # @!attribute [rw] incremental_pre_operations # @return [::Array<::String>] # SQL statements to be executed before inserting new rows into the # relation. # @!attribute [rw] incremental_post_operations # @return [::Array<::String>] # SQL statements to be executed after inserting new rows into the # relation. class IncrementalTableConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdditionalOptionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Indicates the type of this relation. module RelationType # Default value. This value is unused. RELATION_TYPE_UNSPECIFIED = 0 # The relation is a table. TABLE = 1 # The relation is a view. VIEW = 2 # The relation is an incrementalized table. INCREMENTAL_TABLE = 3 # The relation is a materialized view. MATERIALIZED_VIEW = 4 end # Supported table formats for BigQuery tables. module TableFormat # Default value. TABLE_FORMAT_UNSPECIFIED = 0 # Apache Iceberg format. ICEBERG = 1 end # Supported file formats for BigQuery tables. module FileFormat # Default value. FILE_FORMAT_UNSPECIFIED = 0 # Apache Parquet format. PARQUET = 1 end end # Represents a list of arbitrary database operations. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for any output relation and its columns. Only set if # `has_output` is true. # @!attribute [rw] queries # @return [::Array<::String>] # A list of arbitrary SQL statements that will be executed without # alteration. # @!attribute [rw] has_output # @return [::Boolean] # Whether these operations produce an output relation. class Operations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents an assertion upon a SQL query which is required return zero # rows. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] parent_action # @return [::Google::Cloud::Dataform::V1beta1::Target] # The parent action of this assertion. Only set if this assertion was # automatically generated. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] select_query # @return [::String] # The SELECT query which must return zero rows in order for this assertion # to succeed. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the assertion's automatically-generated view and its # columns. class Assertion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a relation which is not managed by Dataform but which may be # referenced by Dataform actions. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. Used as documentation only, # i.e. values here will result in no changes to the relation's metadata. class Declaration include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a notebook. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] contents # @return [::String] # The contents of the notebook. # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class Notebook include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a compiled Data Preparation entity # @!attribute [rw] contents_yaml # @return [::String] # The data preparation definition, stored as a YAML string. # # Note: The following fields are mutually exclusive: `contents_yaml`, `contents_sql`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] contents_sql # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::SqlDefinition] # SQL definition for a Data Preparation. Contains a SQL query and # additional context information. # # Note: The following fields are mutually exclusive: `contents_sql`, `contents_yaml`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class DataPreparation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Definition of a SQL Data Preparation # @!attribute [rw] query # @return [::String] # The SQL query representing the data preparation steps. Formatted as a # Pipe SQL query statement. # @!attribute [rw] error_table # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::ErrorTable] # Error table configuration, # @!attribute [rw] load # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::LoadConfig] # Load configuration. class SqlDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Error table information, used to write error data into a BigQuery # table. # @!attribute [rw] target # @return [::Google::Cloud::Dataform::V1beta1::Target] # Error Table target. # @!attribute [rw] retention_days # @return [::Integer] # Error table partition expiration in days. Only positive values are # allowed. class ErrorTable include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Simplified load configuration for actions # @!attribute [rw] replace # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Replace destination table # # Note: The following fields are mutually exclusive: `replace`, `append`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] append # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Append into destination table # # Note: The following fields are mutually exclusive: `append`, `replace`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] maximum # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value exceeds the previous maximum value for a # column in the destination table # # Note: The following fields are mutually exclusive: `maximum`, `replace`, `append`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] unique # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value of a column is not already present in # the destination table # # Note: The following fields are mutually exclusive: `unique`, `replace`, `append`, `maximum`. If a field in that set is populated, all other fields in the set will automatically be cleared. class LoadConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Simple load definition class SimpleLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Load definition for incremental load modes # @!attribute [rw] column # @return [::String] # Column name for incremental load modes class IncrementalLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#file_path ⇒ ::String
Returns The full path including filename in which this action is located, relative to the workspace root.
1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1881 class CompilationResultAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a database relation. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. # @!attribute [rw] relation_type # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType] # The type of this relation. # @!attribute [rw] select_query # @return [::String] # The SELECT query which returns rows which this relation should contain. # @!attribute [rw] pre_operations # @return [::Array<::String>] # SQL statements to be executed before creating the relation. # @!attribute [rw] post_operations # @return [::Array<::String>] # SQL statements to be executed after creating the relation. # @!attribute [rw] incremental_table_config # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig] # Configures `INCREMENTAL_TABLE` settings for this relation. Only set if # `relation_type` is `INCREMENTAL_TABLE`. # @!attribute [rw] partition_expression # @return [::String] # The SQL expression used to partition the relation. # @!attribute [rw] cluster_expressions # @return [::Array<::String>] # A list of columns or SQL expressions used to cluster the table. # @!attribute [rw] partition_expiration_days # @return [::Integer] # Sets the partition expiration in days. # @!attribute [rw] require_partition_filter # @return [::Boolean] # Specifies whether queries on this table must include a predicate filter # that filters on the partitioning column. # @!attribute [rw] additional_options # @return [::Google::Protobuf::Map{::String => ::String}] # Additional options that will be provided as key/value pairs into the # options clause of a create table/view statement. See # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language # for more information on which options are supported. # @!attribute [rw] connection # @return [::String] # Optional. The connection specifying the credentials to be used to read # and write to external storage, such as Cloud Storage. The connection can # have the form `{project}.{location}.{connection_id}` or # `projects/{project}/locations/{location}/connections/{connection_id}`, # or be set to DEFAULT. # @!attribute [rw] table_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::TableFormat] # Optional. The table format for the BigQuery table. # @!attribute [rw] file_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::FileFormat] # Optional. The file format for the BigQuery table. # @!attribute [rw] storage_uri # @return [::String] # Optional. The fully qualified location prefix of the external folder # where table data is stored. The URI should be in the format # `gs://bucket/path_to_table/`. class Relation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Contains settings for relations of type `INCREMENTAL_TABLE`. # @!attribute [rw] incremental_select_query # @return [::String] # The SELECT query which returns rows which should be inserted into the # relation if it already exists and is not being refreshed. # @!attribute [rw] refresh_disabled # @return [::Boolean] # Whether this table should be protected from being refreshed. # @!attribute [rw] unique_key_parts # @return [::Array<::String>] # A set of columns or SQL expressions used to define row uniqueness. # If any duplicates are discovered (as defined by `unique_key_parts`), # only the newly selected rows (as defined by `incremental_select_query`) # will be included in the relation. # @!attribute [rw] update_partition_filter # @return [::String] # A SQL expression conditional used to limit the set of existing rows # considered for a merge operation (see `unique_key_parts` for more # information). # @!attribute [rw] incremental_pre_operations # @return [::Array<::String>] # SQL statements to be executed before inserting new rows into the # relation. # @!attribute [rw] incremental_post_operations # @return [::Array<::String>] # SQL statements to be executed after inserting new rows into the # relation. class IncrementalTableConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdditionalOptionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Indicates the type of this relation. module RelationType # Default value. This value is unused. RELATION_TYPE_UNSPECIFIED = 0 # The relation is a table. TABLE = 1 # The relation is a view. VIEW = 2 # The relation is an incrementalized table. INCREMENTAL_TABLE = 3 # The relation is a materialized view. MATERIALIZED_VIEW = 4 end # Supported table formats for BigQuery tables. module TableFormat # Default value. TABLE_FORMAT_UNSPECIFIED = 0 # Apache Iceberg format. ICEBERG = 1 end # Supported file formats for BigQuery tables. module FileFormat # Default value. FILE_FORMAT_UNSPECIFIED = 0 # Apache Parquet format. PARQUET = 1 end end # Represents a list of arbitrary database operations. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for any output relation and its columns. Only set if # `has_output` is true. # @!attribute [rw] queries # @return [::Array<::String>] # A list of arbitrary SQL statements that will be executed without # alteration. # @!attribute [rw] has_output # @return [::Boolean] # Whether these operations produce an output relation. class Operations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents an assertion upon a SQL query which is required return zero # rows. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] parent_action # @return [::Google::Cloud::Dataform::V1beta1::Target] # The parent action of this assertion. Only set if this assertion was # automatically generated. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] select_query # @return [::String] # The SELECT query which must return zero rows in order for this assertion # to succeed. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the assertion's automatically-generated view and its # columns. class Assertion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a relation which is not managed by Dataform but which may be # referenced by Dataform actions. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. Used as documentation only, # i.e. values here will result in no changes to the relation's metadata. class Declaration include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a notebook. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] contents # @return [::String] # The contents of the notebook. # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class Notebook include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a compiled Data Preparation entity # @!attribute [rw] contents_yaml # @return [::String] # The data preparation definition, stored as a YAML string. # # Note: The following fields are mutually exclusive: `contents_yaml`, `contents_sql`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] contents_sql # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::SqlDefinition] # SQL definition for a Data Preparation. Contains a SQL query and # additional context information. # # Note: The following fields are mutually exclusive: `contents_sql`, `contents_yaml`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class DataPreparation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Definition of a SQL Data Preparation # @!attribute [rw] query # @return [::String] # The SQL query representing the data preparation steps. Formatted as a # Pipe SQL query statement. # @!attribute [rw] error_table # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::ErrorTable] # Error table configuration, # @!attribute [rw] load # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::LoadConfig] # Load configuration. class SqlDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Error table information, used to write error data into a BigQuery # table. # @!attribute [rw] target # @return [::Google::Cloud::Dataform::V1beta1::Target] # Error Table target. # @!attribute [rw] retention_days # @return [::Integer] # Error table partition expiration in days. Only positive values are # allowed. class ErrorTable include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Simplified load configuration for actions # @!attribute [rw] replace # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Replace destination table # # Note: The following fields are mutually exclusive: `replace`, `append`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] append # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Append into destination table # # Note: The following fields are mutually exclusive: `append`, `replace`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] maximum # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value exceeds the previous maximum value for a # column in the destination table # # Note: The following fields are mutually exclusive: `maximum`, `replace`, `append`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] unique # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value of a column is not already present in # the destination table # # Note: The following fields are mutually exclusive: `unique`, `replace`, `append`, `maximum`. If a field in that set is populated, all other fields in the set will automatically be cleared. class LoadConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Simple load definition class SimpleLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Load definition for incremental load modes # @!attribute [rw] column # @return [::String] # Column name for incremental load modes class IncrementalLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#internal_metadata ⇒ ::String (readonly)
Returns Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1881 class CompilationResultAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a database relation. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. # @!attribute [rw] relation_type # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType] # The type of this relation. # @!attribute [rw] select_query # @return [::String] # The SELECT query which returns rows which this relation should contain. # @!attribute [rw] pre_operations # @return [::Array<::String>] # SQL statements to be executed before creating the relation. # @!attribute [rw] post_operations # @return [::Array<::String>] # SQL statements to be executed after creating the relation. # @!attribute [rw] incremental_table_config # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig] # Configures `INCREMENTAL_TABLE` settings for this relation. Only set if # `relation_type` is `INCREMENTAL_TABLE`. # @!attribute [rw] partition_expression # @return [::String] # The SQL expression used to partition the relation. # @!attribute [rw] cluster_expressions # @return [::Array<::String>] # A list of columns or SQL expressions used to cluster the table. # @!attribute [rw] partition_expiration_days # @return [::Integer] # Sets the partition expiration in days. # @!attribute [rw] require_partition_filter # @return [::Boolean] # Specifies whether queries on this table must include a predicate filter # that filters on the partitioning column. # @!attribute [rw] additional_options # @return [::Google::Protobuf::Map{::String => ::String}] # Additional options that will be provided as key/value pairs into the # options clause of a create table/view statement. See # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language # for more information on which options are supported. # @!attribute [rw] connection # @return [::String] # Optional. The connection specifying the credentials to be used to read # and write to external storage, such as Cloud Storage. The connection can # have the form `{project}.{location}.{connection_id}` or # `projects/{project}/locations/{location}/connections/{connection_id}`, # or be set to DEFAULT. # @!attribute [rw] table_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::TableFormat] # Optional. The table format for the BigQuery table. # @!attribute [rw] file_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::FileFormat] # Optional. The file format for the BigQuery table. # @!attribute [rw] storage_uri # @return [::String] # Optional. The fully qualified location prefix of the external folder # where table data is stored. The URI should be in the format # `gs://bucket/path_to_table/`. class Relation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Contains settings for relations of type `INCREMENTAL_TABLE`. # @!attribute [rw] incremental_select_query # @return [::String] # The SELECT query which returns rows which should be inserted into the # relation if it already exists and is not being refreshed. # @!attribute [rw] refresh_disabled # @return [::Boolean] # Whether this table should be protected from being refreshed. # @!attribute [rw] unique_key_parts # @return [::Array<::String>] # A set of columns or SQL expressions used to define row uniqueness. # If any duplicates are discovered (as defined by `unique_key_parts`), # only the newly selected rows (as defined by `incremental_select_query`) # will be included in the relation. # @!attribute [rw] update_partition_filter # @return [::String] # A SQL expression conditional used to limit the set of existing rows # considered for a merge operation (see `unique_key_parts` for more # information). # @!attribute [rw] incremental_pre_operations # @return [::Array<::String>] # SQL statements to be executed before inserting new rows into the # relation. # @!attribute [rw] incremental_post_operations # @return [::Array<::String>] # SQL statements to be executed after inserting new rows into the # relation. class IncrementalTableConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdditionalOptionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Indicates the type of this relation. module RelationType # Default value. This value is unused. RELATION_TYPE_UNSPECIFIED = 0 # The relation is a table. TABLE = 1 # The relation is a view. VIEW = 2 # The relation is an incrementalized table. INCREMENTAL_TABLE = 3 # The relation is a materialized view. MATERIALIZED_VIEW = 4 end # Supported table formats for BigQuery tables. module TableFormat # Default value. TABLE_FORMAT_UNSPECIFIED = 0 # Apache Iceberg format. ICEBERG = 1 end # Supported file formats for BigQuery tables. module FileFormat # Default value. FILE_FORMAT_UNSPECIFIED = 0 # Apache Parquet format. PARQUET = 1 end end # Represents a list of arbitrary database operations. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for any output relation and its columns. Only set if # `has_output` is true. # @!attribute [rw] queries # @return [::Array<::String>] # A list of arbitrary SQL statements that will be executed without # alteration. # @!attribute [rw] has_output # @return [::Boolean] # Whether these operations produce an output relation. class Operations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents an assertion upon a SQL query which is required return zero # rows. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] parent_action # @return [::Google::Cloud::Dataform::V1beta1::Target] # The parent action of this assertion. Only set if this assertion was # automatically generated. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] select_query # @return [::String] # The SELECT query which must return zero rows in order for this assertion # to succeed. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the assertion's automatically-generated view and its # columns. class Assertion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a relation which is not managed by Dataform but which may be # referenced by Dataform actions. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. Used as documentation only, # i.e. values here will result in no changes to the relation's metadata. class Declaration include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a notebook. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] contents # @return [::String] # The contents of the notebook. # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class Notebook include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a compiled Data Preparation entity # @!attribute [rw] contents_yaml # @return [::String] # The data preparation definition, stored as a YAML string. # # Note: The following fields are mutually exclusive: `contents_yaml`, `contents_sql`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] contents_sql # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::SqlDefinition] # SQL definition for a Data Preparation. Contains a SQL query and # additional context information. # # Note: The following fields are mutually exclusive: `contents_sql`, `contents_yaml`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class DataPreparation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Definition of a SQL Data Preparation # @!attribute [rw] query # @return [::String] # The SQL query representing the data preparation steps. Formatted as a # Pipe SQL query statement. # @!attribute [rw] error_table # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::ErrorTable] # Error table configuration, # @!attribute [rw] load # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::LoadConfig] # Load configuration. class SqlDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Error table information, used to write error data into a BigQuery # table. # @!attribute [rw] target # @return [::Google::Cloud::Dataform::V1beta1::Target] # Error Table target. # @!attribute [rw] retention_days # @return [::Integer] # Error table partition expiration in days. Only positive values are # allowed. class ErrorTable include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Simplified load configuration for actions # @!attribute [rw] replace # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Replace destination table # # Note: The following fields are mutually exclusive: `replace`, `append`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] append # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Append into destination table # # Note: The following fields are mutually exclusive: `append`, `replace`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] maximum # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value exceeds the previous maximum value for a # column in the destination table # # Note: The following fields are mutually exclusive: `maximum`, `replace`, `append`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] unique # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value of a column is not already present in # the destination table # # Note: The following fields are mutually exclusive: `unique`, `replace`, `append`, `maximum`. If a field in that set is populated, all other fields in the set will automatically be cleared. class LoadConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Simple load definition class SimpleLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Load definition for incremental load modes # @!attribute [rw] column # @return [::String] # Column name for incremental load modes class IncrementalLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#notebook ⇒ ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Notebook
Returns The notebook executed by this action.
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.
1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1881 class CompilationResultAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a database relation. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. # @!attribute [rw] relation_type # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType] # The type of this relation. # @!attribute [rw] select_query # @return [::String] # The SELECT query which returns rows which this relation should contain. # @!attribute [rw] pre_operations # @return [::Array<::String>] # SQL statements to be executed before creating the relation. # @!attribute [rw] post_operations # @return [::Array<::String>] # SQL statements to be executed after creating the relation. # @!attribute [rw] incremental_table_config # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig] # Configures `INCREMENTAL_TABLE` settings for this relation. Only set if # `relation_type` is `INCREMENTAL_TABLE`. # @!attribute [rw] partition_expression # @return [::String] # The SQL expression used to partition the relation. # @!attribute [rw] cluster_expressions # @return [::Array<::String>] # A list of columns or SQL expressions used to cluster the table. # @!attribute [rw] partition_expiration_days # @return [::Integer] # Sets the partition expiration in days. # @!attribute [rw] require_partition_filter # @return [::Boolean] # Specifies whether queries on this table must include a predicate filter # that filters on the partitioning column. # @!attribute [rw] additional_options # @return [::Google::Protobuf::Map{::String => ::String}] # Additional options that will be provided as key/value pairs into the # options clause of a create table/view statement. See # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language # for more information on which options are supported. # @!attribute [rw] connection # @return [::String] # Optional. The connection specifying the credentials to be used to read # and write to external storage, such as Cloud Storage. The connection can # have the form `{project}.{location}.{connection_id}` or # `projects/{project}/locations/{location}/connections/{connection_id}`, # or be set to DEFAULT. # @!attribute [rw] table_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::TableFormat] # Optional. The table format for the BigQuery table. # @!attribute [rw] file_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::FileFormat] # Optional. The file format for the BigQuery table. # @!attribute [rw] storage_uri # @return [::String] # Optional. The fully qualified location prefix of the external folder # where table data is stored. The URI should be in the format # `gs://bucket/path_to_table/`. class Relation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Contains settings for relations of type `INCREMENTAL_TABLE`. # @!attribute [rw] incremental_select_query # @return [::String] # The SELECT query which returns rows which should be inserted into the # relation if it already exists and is not being refreshed. # @!attribute [rw] refresh_disabled # @return [::Boolean] # Whether this table should be protected from being refreshed. # @!attribute [rw] unique_key_parts # @return [::Array<::String>] # A set of columns or SQL expressions used to define row uniqueness. # If any duplicates are discovered (as defined by `unique_key_parts`), # only the newly selected rows (as defined by `incremental_select_query`) # will be included in the relation. # @!attribute [rw] update_partition_filter # @return [::String] # A SQL expression conditional used to limit the set of existing rows # considered for a merge operation (see `unique_key_parts` for more # information). # @!attribute [rw] incremental_pre_operations # @return [::Array<::String>] # SQL statements to be executed before inserting new rows into the # relation. # @!attribute [rw] incremental_post_operations # @return [::Array<::String>] # SQL statements to be executed after inserting new rows into the # relation. class IncrementalTableConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdditionalOptionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Indicates the type of this relation. module RelationType # Default value. This value is unused. RELATION_TYPE_UNSPECIFIED = 0 # The relation is a table. TABLE = 1 # The relation is a view. VIEW = 2 # The relation is an incrementalized table. INCREMENTAL_TABLE = 3 # The relation is a materialized view. MATERIALIZED_VIEW = 4 end # Supported table formats for BigQuery tables. module TableFormat # Default value. TABLE_FORMAT_UNSPECIFIED = 0 # Apache Iceberg format. ICEBERG = 1 end # Supported file formats for BigQuery tables. module FileFormat # Default value. FILE_FORMAT_UNSPECIFIED = 0 # Apache Parquet format. PARQUET = 1 end end # Represents a list of arbitrary database operations. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for any output relation and its columns. Only set if # `has_output` is true. # @!attribute [rw] queries # @return [::Array<::String>] # A list of arbitrary SQL statements that will be executed without # alteration. # @!attribute [rw] has_output # @return [::Boolean] # Whether these operations produce an output relation. class Operations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents an assertion upon a SQL query which is required return zero # rows. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] parent_action # @return [::Google::Cloud::Dataform::V1beta1::Target] # The parent action of this assertion. Only set if this assertion was # automatically generated. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] select_query # @return [::String] # The SELECT query which must return zero rows in order for this assertion # to succeed. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the assertion's automatically-generated view and its # columns. class Assertion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a relation which is not managed by Dataform but which may be # referenced by Dataform actions. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. Used as documentation only, # i.e. values here will result in no changes to the relation's metadata. class Declaration include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a notebook. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] contents # @return [::String] # The contents of the notebook. # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class Notebook include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a compiled Data Preparation entity # @!attribute [rw] contents_yaml # @return [::String] # The data preparation definition, stored as a YAML string. # # Note: The following fields are mutually exclusive: `contents_yaml`, `contents_sql`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] contents_sql # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::SqlDefinition] # SQL definition for a Data Preparation. Contains a SQL query and # additional context information. # # Note: The following fields are mutually exclusive: `contents_sql`, `contents_yaml`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class DataPreparation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Definition of a SQL Data Preparation # @!attribute [rw] query # @return [::String] # The SQL query representing the data preparation steps. Formatted as a # Pipe SQL query statement. # @!attribute [rw] error_table # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::ErrorTable] # Error table configuration, # @!attribute [rw] load # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::LoadConfig] # Load configuration. class SqlDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Error table information, used to write error data into a BigQuery # table. # @!attribute [rw] target # @return [::Google::Cloud::Dataform::V1beta1::Target] # Error Table target. # @!attribute [rw] retention_days # @return [::Integer] # Error table partition expiration in days. Only positive values are # allowed. class ErrorTable include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Simplified load configuration for actions # @!attribute [rw] replace # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Replace destination table # # Note: The following fields are mutually exclusive: `replace`, `append`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] append # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Append into destination table # # Note: The following fields are mutually exclusive: `append`, `replace`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] maximum # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value exceeds the previous maximum value for a # column in the destination table # # Note: The following fields are mutually exclusive: `maximum`, `replace`, `append`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] unique # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value of a column is not already present in # the destination table # # Note: The following fields are mutually exclusive: `unique`, `replace`, `append`, `maximum`. If a field in that set is populated, all other fields in the set will automatically be cleared. class LoadConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Simple load definition class SimpleLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Load definition for incremental load modes # @!attribute [rw] column # @return [::String] # Column name for incremental load modes class IncrementalLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#operations ⇒ ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Operations
Returns The database operations executed by this action.
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.
1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1881 class CompilationResultAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a database relation. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. # @!attribute [rw] relation_type # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType] # The type of this relation. # @!attribute [rw] select_query # @return [::String] # The SELECT query which returns rows which this relation should contain. # @!attribute [rw] pre_operations # @return [::Array<::String>] # SQL statements to be executed before creating the relation. # @!attribute [rw] post_operations # @return [::Array<::String>] # SQL statements to be executed after creating the relation. # @!attribute [rw] incremental_table_config # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig] # Configures `INCREMENTAL_TABLE` settings for this relation. Only set if # `relation_type` is `INCREMENTAL_TABLE`. # @!attribute [rw] partition_expression # @return [::String] # The SQL expression used to partition the relation. # @!attribute [rw] cluster_expressions # @return [::Array<::String>] # A list of columns or SQL expressions used to cluster the table. # @!attribute [rw] partition_expiration_days # @return [::Integer] # Sets the partition expiration in days. # @!attribute [rw] require_partition_filter # @return [::Boolean] # Specifies whether queries on this table must include a predicate filter # that filters on the partitioning column. # @!attribute [rw] additional_options # @return [::Google::Protobuf::Map{::String => ::String}] # Additional options that will be provided as key/value pairs into the # options clause of a create table/view statement. See # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language # for more information on which options are supported. # @!attribute [rw] connection # @return [::String] # Optional. The connection specifying the credentials to be used to read # and write to external storage, such as Cloud Storage. The connection can # have the form `{project}.{location}.{connection_id}` or # `projects/{project}/locations/{location}/connections/{connection_id}`, # or be set to DEFAULT. # @!attribute [rw] table_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::TableFormat] # Optional. The table format for the BigQuery table. # @!attribute [rw] file_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::FileFormat] # Optional. The file format for the BigQuery table. # @!attribute [rw] storage_uri # @return [::String] # Optional. The fully qualified location prefix of the external folder # where table data is stored. The URI should be in the format # `gs://bucket/path_to_table/`. class Relation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Contains settings for relations of type `INCREMENTAL_TABLE`. # @!attribute [rw] incremental_select_query # @return [::String] # The SELECT query which returns rows which should be inserted into the # relation if it already exists and is not being refreshed. # @!attribute [rw] refresh_disabled # @return [::Boolean] # Whether this table should be protected from being refreshed. # @!attribute [rw] unique_key_parts # @return [::Array<::String>] # A set of columns or SQL expressions used to define row uniqueness. # If any duplicates are discovered (as defined by `unique_key_parts`), # only the newly selected rows (as defined by `incremental_select_query`) # will be included in the relation. # @!attribute [rw] update_partition_filter # @return [::String] # A SQL expression conditional used to limit the set of existing rows # considered for a merge operation (see `unique_key_parts` for more # information). # @!attribute [rw] incremental_pre_operations # @return [::Array<::String>] # SQL statements to be executed before inserting new rows into the # relation. # @!attribute [rw] incremental_post_operations # @return [::Array<::String>] # SQL statements to be executed after inserting new rows into the # relation. class IncrementalTableConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdditionalOptionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Indicates the type of this relation. module RelationType # Default value. This value is unused. RELATION_TYPE_UNSPECIFIED = 0 # The relation is a table. TABLE = 1 # The relation is a view. VIEW = 2 # The relation is an incrementalized table. INCREMENTAL_TABLE = 3 # The relation is a materialized view. MATERIALIZED_VIEW = 4 end # Supported table formats for BigQuery tables. module TableFormat # Default value. TABLE_FORMAT_UNSPECIFIED = 0 # Apache Iceberg format. ICEBERG = 1 end # Supported file formats for BigQuery tables. module FileFormat # Default value. FILE_FORMAT_UNSPECIFIED = 0 # Apache Parquet format. PARQUET = 1 end end # Represents a list of arbitrary database operations. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for any output relation and its columns. Only set if # `has_output` is true. # @!attribute [rw] queries # @return [::Array<::String>] # A list of arbitrary SQL statements that will be executed without # alteration. # @!attribute [rw] has_output # @return [::Boolean] # Whether these operations produce an output relation. class Operations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents an assertion upon a SQL query which is required return zero # rows. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] parent_action # @return [::Google::Cloud::Dataform::V1beta1::Target] # The parent action of this assertion. Only set if this assertion was # automatically generated. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] select_query # @return [::String] # The SELECT query which must return zero rows in order for this assertion # to succeed. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the assertion's automatically-generated view and its # columns. class Assertion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a relation which is not managed by Dataform but which may be # referenced by Dataform actions. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. Used as documentation only, # i.e. values here will result in no changes to the relation's metadata. class Declaration include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a notebook. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] contents # @return [::String] # The contents of the notebook. # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class Notebook include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a compiled Data Preparation entity # @!attribute [rw] contents_yaml # @return [::String] # The data preparation definition, stored as a YAML string. # # Note: The following fields are mutually exclusive: `contents_yaml`, `contents_sql`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] contents_sql # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::SqlDefinition] # SQL definition for a Data Preparation. Contains a SQL query and # additional context information. # # Note: The following fields are mutually exclusive: `contents_sql`, `contents_yaml`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class DataPreparation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Definition of a SQL Data Preparation # @!attribute [rw] query # @return [::String] # The SQL query representing the data preparation steps. Formatted as a # Pipe SQL query statement. # @!attribute [rw] error_table # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::ErrorTable] # Error table configuration, # @!attribute [rw] load # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::LoadConfig] # Load configuration. class SqlDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Error table information, used to write error data into a BigQuery # table. # @!attribute [rw] target # @return [::Google::Cloud::Dataform::V1beta1::Target] # Error Table target. # @!attribute [rw] retention_days # @return [::Integer] # Error table partition expiration in days. Only positive values are # allowed. class ErrorTable include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Simplified load configuration for actions # @!attribute [rw] replace # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Replace destination table # # Note: The following fields are mutually exclusive: `replace`, `append`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] append # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Append into destination table # # Note: The following fields are mutually exclusive: `append`, `replace`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] maximum # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value exceeds the previous maximum value for a # column in the destination table # # Note: The following fields are mutually exclusive: `maximum`, `replace`, `append`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] unique # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value of a column is not already present in # the destination table # # Note: The following fields are mutually exclusive: `unique`, `replace`, `append`, `maximum`. If a field in that set is populated, all other fields in the set will automatically be cleared. class LoadConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Simple load definition class SimpleLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Load definition for incremental load modes # @!attribute [rw] column # @return [::String] # Column name for incremental load modes class IncrementalLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#relation ⇒ ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation
Returns The database relation created/updated by this action.
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.
1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1881 class CompilationResultAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a database relation. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. # @!attribute [rw] relation_type # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType] # The type of this relation. # @!attribute [rw] select_query # @return [::String] # The SELECT query which returns rows which this relation should contain. # @!attribute [rw] pre_operations # @return [::Array<::String>] # SQL statements to be executed before creating the relation. # @!attribute [rw] post_operations # @return [::Array<::String>] # SQL statements to be executed after creating the relation. # @!attribute [rw] incremental_table_config # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig] # Configures `INCREMENTAL_TABLE` settings for this relation. Only set if # `relation_type` is `INCREMENTAL_TABLE`. # @!attribute [rw] partition_expression # @return [::String] # The SQL expression used to partition the relation. # @!attribute [rw] cluster_expressions # @return [::Array<::String>] # A list of columns or SQL expressions used to cluster the table. # @!attribute [rw] partition_expiration_days # @return [::Integer] # Sets the partition expiration in days. # @!attribute [rw] require_partition_filter # @return [::Boolean] # Specifies whether queries on this table must include a predicate filter # that filters on the partitioning column. # @!attribute [rw] additional_options # @return [::Google::Protobuf::Map{::String => ::String}] # Additional options that will be provided as key/value pairs into the # options clause of a create table/view statement. See # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language # for more information on which options are supported. # @!attribute [rw] connection # @return [::String] # Optional. The connection specifying the credentials to be used to read # and write to external storage, such as Cloud Storage. The connection can # have the form `{project}.{location}.{connection_id}` or # `projects/{project}/locations/{location}/connections/{connection_id}`, # or be set to DEFAULT. # @!attribute [rw] table_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::TableFormat] # Optional. The table format for the BigQuery table. # @!attribute [rw] file_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::FileFormat] # Optional. The file format for the BigQuery table. # @!attribute [rw] storage_uri # @return [::String] # Optional. The fully qualified location prefix of the external folder # where table data is stored. The URI should be in the format # `gs://bucket/path_to_table/`. class Relation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Contains settings for relations of type `INCREMENTAL_TABLE`. # @!attribute [rw] incremental_select_query # @return [::String] # The SELECT query which returns rows which should be inserted into the # relation if it already exists and is not being refreshed. # @!attribute [rw] refresh_disabled # @return [::Boolean] # Whether this table should be protected from being refreshed. # @!attribute [rw] unique_key_parts # @return [::Array<::String>] # A set of columns or SQL expressions used to define row uniqueness. # If any duplicates are discovered (as defined by `unique_key_parts`), # only the newly selected rows (as defined by `incremental_select_query`) # will be included in the relation. # @!attribute [rw] update_partition_filter # @return [::String] # A SQL expression conditional used to limit the set of existing rows # considered for a merge operation (see `unique_key_parts` for more # information). # @!attribute [rw] incremental_pre_operations # @return [::Array<::String>] # SQL statements to be executed before inserting new rows into the # relation. # @!attribute [rw] incremental_post_operations # @return [::Array<::String>] # SQL statements to be executed after inserting new rows into the # relation. class IncrementalTableConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdditionalOptionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Indicates the type of this relation. module RelationType # Default value. This value is unused. RELATION_TYPE_UNSPECIFIED = 0 # The relation is a table. TABLE = 1 # The relation is a view. VIEW = 2 # The relation is an incrementalized table. INCREMENTAL_TABLE = 3 # The relation is a materialized view. MATERIALIZED_VIEW = 4 end # Supported table formats for BigQuery tables. module TableFormat # Default value. TABLE_FORMAT_UNSPECIFIED = 0 # Apache Iceberg format. ICEBERG = 1 end # Supported file formats for BigQuery tables. module FileFormat # Default value. FILE_FORMAT_UNSPECIFIED = 0 # Apache Parquet format. PARQUET = 1 end end # Represents a list of arbitrary database operations. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for any output relation and its columns. Only set if # `has_output` is true. # @!attribute [rw] queries # @return [::Array<::String>] # A list of arbitrary SQL statements that will be executed without # alteration. # @!attribute [rw] has_output # @return [::Boolean] # Whether these operations produce an output relation. class Operations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents an assertion upon a SQL query which is required return zero # rows. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] parent_action # @return [::Google::Cloud::Dataform::V1beta1::Target] # The parent action of this assertion. Only set if this assertion was # automatically generated. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] select_query # @return [::String] # The SELECT query which must return zero rows in order for this assertion # to succeed. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the assertion's automatically-generated view and its # columns. class Assertion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a relation which is not managed by Dataform but which may be # referenced by Dataform actions. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. Used as documentation only, # i.e. values here will result in no changes to the relation's metadata. class Declaration include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a notebook. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] contents # @return [::String] # The contents of the notebook. # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class Notebook include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a compiled Data Preparation entity # @!attribute [rw] contents_yaml # @return [::String] # The data preparation definition, stored as a YAML string. # # Note: The following fields are mutually exclusive: `contents_yaml`, `contents_sql`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] contents_sql # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::SqlDefinition] # SQL definition for a Data Preparation. Contains a SQL query and # additional context information. # # Note: The following fields are mutually exclusive: `contents_sql`, `contents_yaml`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class DataPreparation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Definition of a SQL Data Preparation # @!attribute [rw] query # @return [::String] # The SQL query representing the data preparation steps. Formatted as a # Pipe SQL query statement. # @!attribute [rw] error_table # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::ErrorTable] # Error table configuration, # @!attribute [rw] load # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::LoadConfig] # Load configuration. class SqlDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Error table information, used to write error data into a BigQuery # table. # @!attribute [rw] target # @return [::Google::Cloud::Dataform::V1beta1::Target] # Error Table target. # @!attribute [rw] retention_days # @return [::Integer] # Error table partition expiration in days. Only positive values are # allowed. class ErrorTable include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Simplified load configuration for actions # @!attribute [rw] replace # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Replace destination table # # Note: The following fields are mutually exclusive: `replace`, `append`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] append # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Append into destination table # # Note: The following fields are mutually exclusive: `append`, `replace`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] maximum # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value exceeds the previous maximum value for a # column in the destination table # # Note: The following fields are mutually exclusive: `maximum`, `replace`, `append`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] unique # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value of a column is not already present in # the destination table # # Note: The following fields are mutually exclusive: `unique`, `replace`, `append`, `maximum`. If a field in that set is populated, all other fields in the set will automatically be cleared. class LoadConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Simple load definition class SimpleLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Load definition for incremental load modes # @!attribute [rw] column # @return [::String] # Column name for incremental load modes class IncrementalLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#target ⇒ ::Google::Cloud::Dataform::V1beta1::Target
Returns This action's identifier. Unique within the compilation result.
1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1881 class CompilationResultAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a database relation. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. # @!attribute [rw] relation_type # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType] # The type of this relation. # @!attribute [rw] select_query # @return [::String] # The SELECT query which returns rows which this relation should contain. # @!attribute [rw] pre_operations # @return [::Array<::String>] # SQL statements to be executed before creating the relation. # @!attribute [rw] post_operations # @return [::Array<::String>] # SQL statements to be executed after creating the relation. # @!attribute [rw] incremental_table_config # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig] # Configures `INCREMENTAL_TABLE` settings for this relation. Only set if # `relation_type` is `INCREMENTAL_TABLE`. # @!attribute [rw] partition_expression # @return [::String] # The SQL expression used to partition the relation. # @!attribute [rw] cluster_expressions # @return [::Array<::String>] # A list of columns or SQL expressions used to cluster the table. # @!attribute [rw] partition_expiration_days # @return [::Integer] # Sets the partition expiration in days. # @!attribute [rw] require_partition_filter # @return [::Boolean] # Specifies whether queries on this table must include a predicate filter # that filters on the partitioning column. # @!attribute [rw] additional_options # @return [::Google::Protobuf::Map{::String => ::String}] # Additional options that will be provided as key/value pairs into the # options clause of a create table/view statement. See # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language # for more information on which options are supported. # @!attribute [rw] connection # @return [::String] # Optional. The connection specifying the credentials to be used to read # and write to external storage, such as Cloud Storage. The connection can # have the form `{project}.{location}.{connection_id}` or # `projects/{project}/locations/{location}/connections/{connection_id}`, # or be set to DEFAULT. # @!attribute [rw] table_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::TableFormat] # Optional. The table format for the BigQuery table. # @!attribute [rw] file_format # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::FileFormat] # Optional. The file format for the BigQuery table. # @!attribute [rw] storage_uri # @return [::String] # Optional. The fully qualified location prefix of the external folder # where table data is stored. The URI should be in the format # `gs://bucket/path_to_table/`. class Relation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Contains settings for relations of type `INCREMENTAL_TABLE`. # @!attribute [rw] incremental_select_query # @return [::String] # The SELECT query which returns rows which should be inserted into the # relation if it already exists and is not being refreshed. # @!attribute [rw] refresh_disabled # @return [::Boolean] # Whether this table should be protected from being refreshed. # @!attribute [rw] unique_key_parts # @return [::Array<::String>] # A set of columns or SQL expressions used to define row uniqueness. # If any duplicates are discovered (as defined by `unique_key_parts`), # only the newly selected rows (as defined by `incremental_select_query`) # will be included in the relation. # @!attribute [rw] update_partition_filter # @return [::String] # A SQL expression conditional used to limit the set of existing rows # considered for a merge operation (see `unique_key_parts` for more # information). # @!attribute [rw] incremental_pre_operations # @return [::Array<::String>] # SQL statements to be executed before inserting new rows into the # relation. # @!attribute [rw] incremental_post_operations # @return [::Array<::String>] # SQL statements to be executed after inserting new rows into the # relation. class IncrementalTableConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdditionalOptionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Indicates the type of this relation. module RelationType # Default value. This value is unused. RELATION_TYPE_UNSPECIFIED = 0 # The relation is a table. TABLE = 1 # The relation is a view. VIEW = 2 # The relation is an incrementalized table. INCREMENTAL_TABLE = 3 # The relation is a materialized view. MATERIALIZED_VIEW = 4 end # Supported table formats for BigQuery tables. module TableFormat # Default value. TABLE_FORMAT_UNSPECIFIED = 0 # Apache Iceberg format. ICEBERG = 1 end # Supported file formats for BigQuery tables. module FileFormat # Default value. FILE_FORMAT_UNSPECIFIED = 0 # Apache Parquet format. PARQUET = 1 end end # Represents a list of arbitrary database operations. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for any output relation and its columns. Only set if # `has_output` is true. # @!attribute [rw] queries # @return [::Array<::String>] # A list of arbitrary SQL statements that will be executed without # alteration. # @!attribute [rw] has_output # @return [::Boolean] # Whether these operations produce an output relation. class Operations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents an assertion upon a SQL query which is required return zero # rows. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] parent_action # @return [::Google::Cloud::Dataform::V1beta1::Target] # The parent action of this assertion. Only set if this assertion was # automatically generated. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. # @!attribute [rw] select_query # @return [::String] # The SELECT query which must return zero rows in order for this assertion # to succeed. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the assertion's automatically-generated view and its # columns. class Assertion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a relation which is not managed by Dataform but which may be # referenced by Dataform actions. # @!attribute [rw] relation_descriptor # @return [::Google::Cloud::Dataform::V1beta1::RelationDescriptor] # Descriptor for the relation and its columns. Used as documentation only, # i.e. values here will result in no changes to the relation's metadata. class Declaration include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a notebook. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] contents # @return [::String] # The contents of the notebook. # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class Notebook include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Defines a compiled Data Preparation entity # @!attribute [rw] contents_yaml # @return [::String] # The data preparation definition, stored as a YAML string. # # Note: The following fields are mutually exclusive: `contents_yaml`, `contents_sql`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] contents_sql # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::SqlDefinition] # SQL definition for a Data Preparation. Contains a SQL query and # additional context information. # # Note: The following fields are mutually exclusive: `contents_sql`, `contents_yaml`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] dependency_targets # @return [::Array<::Google::Cloud::Dataform::V1beta1::Target>] # A list of actions that this action depends on. # @!attribute [rw] disabled # @return [::Boolean] # Whether this action is disabled (i.e. should not be run). # @!attribute [rw] tags # @return [::Array<::String>] # Arbitrary, user-defined tags on this action. class DataPreparation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Definition of a SQL Data Preparation # @!attribute [rw] query # @return [::String] # The SQL query representing the data preparation steps. Formatted as a # Pipe SQL query statement. # @!attribute [rw] error_table # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation::ErrorTable] # Error table configuration, # @!attribute [rw] load # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::LoadConfig] # Load configuration. class SqlDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Error table information, used to write error data into a BigQuery # table. # @!attribute [rw] target # @return [::Google::Cloud::Dataform::V1beta1::Target] # Error Table target. # @!attribute [rw] retention_days # @return [::Integer] # Error table partition expiration in days. Only positive values are # allowed. class ErrorTable include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Simplified load configuration for actions # @!attribute [rw] replace # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Replace destination table # # Note: The following fields are mutually exclusive: `replace`, `append`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] append # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::SimpleLoadMode] # Append into destination table # # Note: The following fields are mutually exclusive: `append`, `replace`, `maximum`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] maximum # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value exceeds the previous maximum value for a # column in the destination table # # Note: The following fields are mutually exclusive: `maximum`, `replace`, `append`, `unique`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] unique # @return [::Google::Cloud::Dataform::V1beta1::CompilationResultAction::IncrementalLoadMode] # Insert records where the value of a column is not already present in # the destination table # # Note: The following fields are mutually exclusive: `unique`, `replace`, `append`, `maximum`. If a field in that set is populated, all other fields in the set will automatically be cleared. class LoadConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Simple load definition class SimpleLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Load definition for incremental load modes # @!attribute [rw] column # @return [::String] # Column name for incremental load modes class IncrementalLoadMode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |