Skip to content

Commit b8efced

Browse files
feat: Automated regeneration of dataplex v1 client (googleapis#20514)
Auto-created at 2024-11-03 09:55:38 +0000 using the toys pull request generator.
1 parent 3af681f commit b8efced

File tree

5 files changed

+389
-2
lines changed

5 files changed

+389
-2
lines changed

api_names_out.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136842,6 +136842,32 @@
136842136842
"/dataplex:v1/GoogleCloudDataplexV1DataAttributeBindingPath/attributes": attributes
136843136843
"/dataplex:v1/GoogleCloudDataplexV1DataAttributeBindingPath/attributes/attribute": attribute
136844136844
"/dataplex:v1/GoogleCloudDataplexV1DataAttributeBindingPath/name": name
136845+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoveryResult": google_cloud_dataplex_v1_data_discovery_result
136846+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoveryResult/bigqueryPublishing": bigquery_publishing
136847+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoveryResultBigQueryPublishing": google_cloud_dataplex_v1_data_discovery_result_big_query_publishing
136848+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoveryResultBigQueryPublishing/dataset": dataset
136849+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpec": google_cloud_dataplex_v1_data_discovery_spec
136850+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpec/bigqueryPublishingConfig": bigquery_publishing_config
136851+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpec/storageConfig": storage_config
136852+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecBigQueryPublishingConfig": google_cloud_dataplex_v1_data_discovery_spec_big_query_publishing_config
136853+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecBigQueryPublishingConfig/connection": connection
136854+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecBigQueryPublishingConfig/tableType": table_type
136855+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfig": google_cloud_dataplex_v1_data_discovery_spec_storage_config
136856+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfig/csvOptions": csv_options
136857+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfig/excludePatterns": exclude_patterns
136858+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfig/excludePatterns/exclude_pattern": exclude_pattern
136859+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfig/includePatterns": include_patterns
136860+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfig/includePatterns/include_pattern": include_pattern
136861+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfig/jsonOptions": json_options
136862+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions": google_cloud_dataplex_v1_data_discovery_spec_storage_config_csv_options
136863+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions/delimiter": delimiter
136864+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions/encoding": encoding
136865+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions/headerRows": header_rows
136866+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions/quote": quote
136867+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions/typeInferenceDisabled": type_inference_disabled
136868+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions": google_cloud_dataplex_v1_data_discovery_spec_storage_config_json_options
136869+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions/encoding": encoding
136870+
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions/typeInferenceDisabled": type_inference_disabled
136845136871
"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResult": google_cloud_dataplex_v1_data_documentation_result
136846136872
"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResult/queries": queries
136847136873
"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResult/queries/query": query
@@ -137026,6 +137052,8 @@
137026137052
"/dataplex:v1/GoogleCloudDataplexV1DataScan": google_cloud_dataplex_v1_data_scan
137027137053
"/dataplex:v1/GoogleCloudDataplexV1DataScan/createTime": create_time
137028137054
"/dataplex:v1/GoogleCloudDataplexV1DataScan/data": data
137055+
"/dataplex:v1/GoogleCloudDataplexV1DataScan/dataDiscoveryResult": data_discovery_result
137056+
"/dataplex:v1/GoogleCloudDataplexV1DataScan/dataDiscoverySpec": data_discovery_spec
137029137057
"/dataplex:v1/GoogleCloudDataplexV1DataScan/dataDocumentationResult": data_documentation_result
137030137058
"/dataplex:v1/GoogleCloudDataplexV1DataScan/dataDocumentationSpec": data_documentation_spec
137031137059
"/dataplex:v1/GoogleCloudDataplexV1DataScan/dataProfileResult": data_profile_result
@@ -137093,6 +137121,8 @@
137093137121
"/dataplex:v1/GoogleCloudDataplexV1DataScanExecutionStatus/latestJobStartTime": latest_job_start_time
137094137122
"/dataplex:v1/GoogleCloudDataplexV1DataScanJob": google_cloud_dataplex_v1_data_scan_job
137095137123
"/dataplex:v1/GoogleCloudDataplexV1DataScanJob/createTime": create_time
137124+
"/dataplex:v1/GoogleCloudDataplexV1DataScanJob/dataDiscoveryResult": data_discovery_result
137125+
"/dataplex:v1/GoogleCloudDataplexV1DataScanJob/dataDiscoverySpec": data_discovery_spec
137096137126
"/dataplex:v1/GoogleCloudDataplexV1DataScanJob/dataDocumentationResult": data_documentation_result
137097137127
"/dataplex:v1/GoogleCloudDataplexV1DataScanJob/dataDocumentationSpec": data_documentation_spec
137098137128
"/dataplex:v1/GoogleCloudDataplexV1DataScanJob/dataProfileResult": data_profile_result

generated/google-apis-dataplex_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-dataplex_v1
22

3+
### v0.66.0 (2024-11-03)
4+
5+
* Regenerated from discovery document revision 20241019
6+
37
### v0.65.0 (2024-10-20)
48

59
* Regenerated from discovery document revision 20241001

generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/classes.rb

Lines changed: 239 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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)

generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DataplexV1
1818
# Version of the google-apis-dataplex_v1 gem
19-
GEM_VERSION = "0.65.0"
19+
GEM_VERSION = "0.66.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241001"
25+
REVISION = "20241019"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)