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, Declaration, Operations, Relation
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.
-
#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.
-
#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.
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1350 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. 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 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 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.
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1350 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. 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 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 end |
#declaration ⇒ ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Declaration
Returns The declaration declared by this action.
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1350 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. 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 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 end |
#file_path ⇒ ::String
Returns The full path including filename in which this action is located, relative to the workspace root.
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1350 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. 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 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 end |
#operations ⇒ ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Operations
Returns The database operations executed by this action.
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1350 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. 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 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 end |
#relation ⇒ ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation
Returns The database relation created/updated by this action.
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1350 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. 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 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 end |
#target ⇒ ::Google::Cloud::Dataform::V1beta1::Target
Returns This action's identifier. Unique within the compilation result.
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/dataform/v1beta1/dataform.rb', line 1350 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. 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 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 end |