@@ -1561,6 +1561,221 @@ def update!(**args)
15611561 end
15621562 end
15631563
1564+ # The output of a data discovery scan.
1565+ class GoogleCloudDataplexV1DataDiscoveryResult
1566+ include Google ::Apis ::Core ::Hashable
1567+
1568+ # Describes BigQuery publishing configurations.
1569+ # Corresponds to the JSON property `bigqueryPublishing`
1570+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoveryResultBigQueryPublishing]
1571+ attr_accessor :bigquery_publishing
1572+
1573+ def initialize ( **args )
1574+ update! ( **args )
1575+ end
1576+
1577+ # Update properties of this object
1578+ def update! ( **args )
1579+ @bigquery_publishing = args [ :bigquery_publishing ] if args . key? ( :bigquery_publishing )
1580+ end
1581+ end
1582+
1583+ # Describes BigQuery publishing configurations.
1584+ class GoogleCloudDataplexV1DataDiscoveryResultBigQueryPublishing
1585+ include Google ::Apis ::Core ::Hashable
1586+
1587+ # Output only. The BigQuery dataset to publish to. It takes the form projects/`
1588+ # project_id`/datasets/`dataset_id`. If not set, the service creates a default
1589+ # publishing dataset.
1590+ # Corresponds to the JSON property `dataset`
1591+ # @return [String]
1592+ attr_accessor :dataset
1593+
1594+ def initialize ( **args )
1595+ update! ( **args )
1596+ end
1597+
1598+ # Update properties of this object
1599+ def update! ( **args )
1600+ @dataset = args [ :dataset ] if args . key? ( :dataset )
1601+ end
1602+ end
1603+
1604+ # Spec for a data discovery scan.
1605+ class GoogleCloudDataplexV1DataDiscoverySpec
1606+ include Google ::Apis ::Core ::Hashable
1607+
1608+ # Describes BigQuery publishing configurations.
1609+ # Corresponds to the JSON property `bigqueryPublishingConfig`
1610+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecBigQueryPublishingConfig]
1611+ attr_accessor :bigquery_publishing_config
1612+
1613+ # Configurations related to Cloud Storage as the data source.
1614+ # Corresponds to the JSON property `storageConfig`
1615+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecStorageConfig]
1616+ attr_accessor :storage_config
1617+
1618+ def initialize ( **args )
1619+ update! ( **args )
1620+ end
1621+
1622+ # Update properties of this object
1623+ def update! ( **args )
1624+ @bigquery_publishing_config = args [ :bigquery_publishing_config ] if args . key? ( :bigquery_publishing_config )
1625+ @storage_config = args [ :storage_config ] if args . key? ( :storage_config )
1626+ end
1627+ end
1628+
1629+ # Describes BigQuery publishing configurations.
1630+ class GoogleCloudDataplexV1DataDiscoverySpecBigQueryPublishingConfig
1631+ include Google ::Apis ::Core ::Hashable
1632+
1633+ # Optional. The BigQuery connection used to create BigLake tables. Must be in
1634+ # the form projects/`project_id`/locations/`location_id`/connections/`
1635+ # connection_id`
1636+ # Corresponds to the JSON property `connection`
1637+ # @return [String]
1638+ attr_accessor :connection
1639+
1640+ # Optional. Determines whether to publish discovered tables as BigLake external
1641+ # tables or non-BigLake external tables.
1642+ # Corresponds to the JSON property `tableType`
1643+ # @return [String]
1644+ attr_accessor :table_type
1645+
1646+ def initialize ( **args )
1647+ update! ( **args )
1648+ end
1649+
1650+ # Update properties of this object
1651+ def update! ( **args )
1652+ @connection = args [ :connection ] if args . key? ( :connection )
1653+ @table_type = args [ :table_type ] if args . key? ( :table_type )
1654+ end
1655+ end
1656+
1657+ # Configurations related to Cloud Storage as the data source.
1658+ class GoogleCloudDataplexV1DataDiscoverySpecStorageConfig
1659+ include Google ::Apis ::Core ::Hashable
1660+
1661+ # Describes CSV and similar semi-structured data formats.
1662+ # Corresponds to the JSON property `csvOptions`
1663+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions]
1664+ attr_accessor :csv_options
1665+
1666+ # Optional. Defines the data to exclude during discovery. Provide a list of
1667+ # patterns that identify the data to exclude. For Cloud Storage bucket assets,
1668+ # these patterns are interpreted as glob patterns used to match object names.
1669+ # For BigQuery dataset assets, these patterns are interpreted as patterns to
1670+ # match table names.
1671+ # Corresponds to the JSON property `excludePatterns`
1672+ # @return [Array<String>]
1673+ attr_accessor :exclude_patterns
1674+
1675+ # Optional. Defines the data to include during discovery when only a subset of
1676+ # the data should be considered. Provide a list of patterns that identify the
1677+ # data to include. For Cloud Storage bucket assets, these patterns are
1678+ # interpreted as glob patterns used to match object names. For BigQuery dataset
1679+ # assets, these patterns are interpreted as patterns to match table names.
1680+ # Corresponds to the JSON property `includePatterns`
1681+ # @return [Array<String>]
1682+ attr_accessor :include_patterns
1683+
1684+ # Describes JSON data format.
1685+ # Corresponds to the JSON property `jsonOptions`
1686+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions]
1687+ attr_accessor :json_options
1688+
1689+ def initialize ( **args )
1690+ update! ( **args )
1691+ end
1692+
1693+ # Update properties of this object
1694+ def update! ( **args )
1695+ @csv_options = args [ :csv_options ] if args . key? ( :csv_options )
1696+ @exclude_patterns = args [ :exclude_patterns ] if args . key? ( :exclude_patterns )
1697+ @include_patterns = args [ :include_patterns ] if args . key? ( :include_patterns )
1698+ @json_options = args [ :json_options ] if args . key? ( :json_options )
1699+ end
1700+ end
1701+
1702+ # Describes CSV and similar semi-structured data formats.
1703+ class GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions
1704+ include Google ::Apis ::Core ::Hashable
1705+
1706+ # Optional. The delimiter that is used to separate values. The default is , (
1707+ # comma).
1708+ # Corresponds to the JSON property `delimiter`
1709+ # @return [String]
1710+ attr_accessor :delimiter
1711+
1712+ # Optional. The character encoding of the data. The default is UTF-8.
1713+ # Corresponds to the JSON property `encoding`
1714+ # @return [String]
1715+ attr_accessor :encoding
1716+
1717+ # Optional. The number of rows to interpret as header rows that should be
1718+ # skipped when reading data rows.
1719+ # Corresponds to the JSON property `headerRows`
1720+ # @return [Fixnum]
1721+ attr_accessor :header_rows
1722+
1723+ # Optional. The character used to quote column values. Accepts " (double
1724+ # quotation mark) or ' (single quotation mark). If unspecified, defaults to " (
1725+ # double quotation mark).
1726+ # Corresponds to the JSON property `quote`
1727+ # @return [String]
1728+ attr_accessor :quote
1729+
1730+ # Optional. Whether to disable the inference of data types for CSV data. If true,
1731+ # all columns are registered as strings.
1732+ # Corresponds to the JSON property `typeInferenceDisabled`
1733+ # @return [Boolean]
1734+ attr_accessor :type_inference_disabled
1735+ alias_method :type_inference_disabled? , :type_inference_disabled
1736+
1737+ def initialize ( **args )
1738+ update! ( **args )
1739+ end
1740+
1741+ # Update properties of this object
1742+ def update! ( **args )
1743+ @delimiter = args [ :delimiter ] if args . key? ( :delimiter )
1744+ @encoding = args [ :encoding ] if args . key? ( :encoding )
1745+ @header_rows = args [ :header_rows ] if args . key? ( :header_rows )
1746+ @quote = args [ :quote ] if args . key? ( :quote )
1747+ @type_inference_disabled = args [ :type_inference_disabled ] if args . key? ( :type_inference_disabled )
1748+ end
1749+ end
1750+
1751+ # Describes JSON data format.
1752+ class GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions
1753+ include Google ::Apis ::Core ::Hashable
1754+
1755+ # Optional. The character encoding of the data. The default is UTF-8.
1756+ # Corresponds to the JSON property `encoding`
1757+ # @return [String]
1758+ attr_accessor :encoding
1759+
1760+ # Optional. Whether to disable the inference of data types for JSON data. If
1761+ # true, all columns are registered as their primitive types (strings, number, or
1762+ # boolean).
1763+ # Corresponds to the JSON property `typeInferenceDisabled`
1764+ # @return [Boolean]
1765+ attr_accessor :type_inference_disabled
1766+ alias_method :type_inference_disabled? , :type_inference_disabled
1767+
1768+ def initialize ( **args )
1769+ update! ( **args )
1770+ end
1771+
1772+ # Update properties of this object
1773+ def update! ( **args )
1774+ @encoding = args [ :encoding ] if args . key? ( :encoding )
1775+ @type_inference_disabled = args [ :type_inference_disabled ] if args . key? ( :type_inference_disabled )
1776+ end
1777+ end
1778+
15641779 # DataProfileResult defines the output of DataProfileScan. Each field of the
15651780 # table will have field type specific profile result.
15661781 class GoogleCloudDataplexV1DataProfileResult
@@ -2980,6 +3195,16 @@ class GoogleCloudDataplexV1DataScan
29803195 # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataSource]
29813196 attr_accessor :data
29823197
3198+ # The output of a data discovery scan.
3199+ # Corresponds to the JSON property `dataDiscoveryResult`
3200+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoveryResult]
3201+ attr_accessor :data_discovery_result
3202+
3203+ # Spec for a data discovery scan.
3204+ # Corresponds to the JSON property `dataDiscoverySpec`
3205+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpec]
3206+ attr_accessor :data_discovery_spec
3207+
29833208 # DataProfileResult defines the output of DataProfileScan. Each field of the
29843209 # table will have field type specific profile result.
29853210 # Corresponds to the JSON property `dataProfileResult`
@@ -3062,6 +3287,8 @@ def initialize(**args)
30623287 def update! ( **args )
30633288 @create_time = args [ :create_time ] if args . key? ( :create_time )
30643289 @data = args [ :data ] if args . key? ( :data )
3290+ @data_discovery_result = args [ :data_discovery_result ] if args . key? ( :data_discovery_result )
3291+ @data_discovery_spec = args [ :data_discovery_spec ] if args . key? ( :data_discovery_spec )
30653292 @data_profile_result = args [ :data_profile_result ] if args . key? ( :data_profile_result )
30663293 @data_profile_spec = args [ :data_profile_spec ] if args . key? ( :data_profile_spec )
30673294 @data_quality_result = args [ :data_quality_result ] if args . key? ( :data_quality_result )
@@ -3439,6 +3666,16 @@ class GoogleCloudDataplexV1DataScanJob
34393666 # @return [String]
34403667 attr_accessor :create_time
34413668
3669+ # The output of a data discovery scan.
3670+ # Corresponds to the JSON property `dataDiscoveryResult`
3671+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoveryResult]
3672+ attr_accessor :data_discovery_result
3673+
3674+ # Spec for a data discovery scan.
3675+ # Corresponds to the JSON property `dataDiscoverySpec`
3676+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpec]
3677+ attr_accessor :data_discovery_spec
3678+
34423679 # DataProfileResult defines the output of DataProfileScan. Each field of the
34433680 # table will have field type specific profile result.
34443681 # Corresponds to the JSON property `dataProfileResult`
@@ -3505,6 +3742,8 @@ def initialize(**args)
35053742 # Update properties of this object
35063743 def update! ( **args )
35073744 @create_time = args [ :create_time ] if args . key? ( :create_time )
3745+ @data_discovery_result = args [ :data_discovery_result ] if args . key? ( :data_discovery_result )
3746+ @data_discovery_spec = args [ :data_discovery_spec ] if args . key? ( :data_discovery_spec )
35083747 @data_profile_result = args [ :data_profile_result ] if args . key? ( :data_profile_result )
35093748 @data_profile_spec = args [ :data_profile_spec ] if args . key? ( :data_profile_spec )
35103749 @data_quality_result = args [ :data_quality_result ] if args . key? ( :data_quality_result )
0 commit comments