Skip to content

Commit

Permalink
feat: Automated regeneration of dataplex v1 client (#20514)
Browse files Browse the repository at this point in the history
Auto-created at 2024-11-03 09:55:38 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Nov 3, 2024
1 parent 3af681f commit b8efced
Show file tree
Hide file tree
Showing 5 changed files with 389 additions and 2 deletions.
30 changes: 30 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136842,6 +136842,32 @@
"/dataplex:v1/GoogleCloudDataplexV1DataAttributeBindingPath/attributes": attributes
"/dataplex:v1/GoogleCloudDataplexV1DataAttributeBindingPath/attributes/attribute": attribute
"/dataplex:v1/GoogleCloudDataplexV1DataAttributeBindingPath/name": name
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoveryResult": google_cloud_dataplex_v1_data_discovery_result
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoveryResult/bigqueryPublishing": bigquery_publishing
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoveryResultBigQueryPublishing": google_cloud_dataplex_v1_data_discovery_result_big_query_publishing
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoveryResultBigQueryPublishing/dataset": dataset
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpec": google_cloud_dataplex_v1_data_discovery_spec
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpec/bigqueryPublishingConfig": bigquery_publishing_config
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpec/storageConfig": storage_config
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecBigQueryPublishingConfig": google_cloud_dataplex_v1_data_discovery_spec_big_query_publishing_config
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecBigQueryPublishingConfig/connection": connection
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecBigQueryPublishingConfig/tableType": table_type
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfig": google_cloud_dataplex_v1_data_discovery_spec_storage_config
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfig/csvOptions": csv_options
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfig/excludePatterns": exclude_patterns
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfig/excludePatterns/exclude_pattern": exclude_pattern
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfig/includePatterns": include_patterns
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfig/includePatterns/include_pattern": include_pattern
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfig/jsonOptions": json_options
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions": google_cloud_dataplex_v1_data_discovery_spec_storage_config_csv_options
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions/delimiter": delimiter
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions/encoding": encoding
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions/headerRows": header_rows
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions/quote": quote
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions/typeInferenceDisabled": type_inference_disabled
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions": google_cloud_dataplex_v1_data_discovery_spec_storage_config_json_options
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions/encoding": encoding
"/dataplex:v1/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions/typeInferenceDisabled": type_inference_disabled
"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResult": google_cloud_dataplex_v1_data_documentation_result
"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResult/queries": queries
"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResult/queries/query": query
Expand Down Expand Up @@ -137026,6 +137052,8 @@
"/dataplex:v1/GoogleCloudDataplexV1DataScan": google_cloud_dataplex_v1_data_scan
"/dataplex:v1/GoogleCloudDataplexV1DataScan/createTime": create_time
"/dataplex:v1/GoogleCloudDataplexV1DataScan/data": data
"/dataplex:v1/GoogleCloudDataplexV1DataScan/dataDiscoveryResult": data_discovery_result
"/dataplex:v1/GoogleCloudDataplexV1DataScan/dataDiscoverySpec": data_discovery_spec
"/dataplex:v1/GoogleCloudDataplexV1DataScan/dataDocumentationResult": data_documentation_result
"/dataplex:v1/GoogleCloudDataplexV1DataScan/dataDocumentationSpec": data_documentation_spec
"/dataplex:v1/GoogleCloudDataplexV1DataScan/dataProfileResult": data_profile_result
Expand Down Expand Up @@ -137093,6 +137121,8 @@
"/dataplex:v1/GoogleCloudDataplexV1DataScanExecutionStatus/latestJobStartTime": latest_job_start_time
"/dataplex:v1/GoogleCloudDataplexV1DataScanJob": google_cloud_dataplex_v1_data_scan_job
"/dataplex:v1/GoogleCloudDataplexV1DataScanJob/createTime": create_time
"/dataplex:v1/GoogleCloudDataplexV1DataScanJob/dataDiscoveryResult": data_discovery_result
"/dataplex:v1/GoogleCloudDataplexV1DataScanJob/dataDiscoverySpec": data_discovery_spec
"/dataplex:v1/GoogleCloudDataplexV1DataScanJob/dataDocumentationResult": data_documentation_result
"/dataplex:v1/GoogleCloudDataplexV1DataScanJob/dataDocumentationSpec": data_documentation_spec
"/dataplex:v1/GoogleCloudDataplexV1DataScanJob/dataProfileResult": data_profile_result
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-dataplex_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-dataplex_v1

### v0.66.0 (2024-11-03)

* Regenerated from discovery document revision 20241019

### v0.65.0 (2024-10-20)

* Regenerated from discovery document revision 20241001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1561,6 +1561,221 @@ def update!(**args)
end
end

# The output of a data discovery scan.
class GoogleCloudDataplexV1DataDiscoveryResult
include Google::Apis::Core::Hashable

# Describes BigQuery publishing configurations.
# Corresponds to the JSON property `bigqueryPublishing`
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoveryResultBigQueryPublishing]
attr_accessor :bigquery_publishing

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@bigquery_publishing = args[:bigquery_publishing] if args.key?(:bigquery_publishing)
end
end

# Describes BigQuery publishing configurations.
class GoogleCloudDataplexV1DataDiscoveryResultBigQueryPublishing
include Google::Apis::Core::Hashable

# Output only. The BigQuery dataset to publish to. It takes the form projects/`
# project_id`/datasets/`dataset_id`. If not set, the service creates a default
# publishing dataset.
# Corresponds to the JSON property `dataset`
# @return [String]
attr_accessor :dataset

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@dataset = args[:dataset] if args.key?(:dataset)
end
end

# Spec for a data discovery scan.
class GoogleCloudDataplexV1DataDiscoverySpec
include Google::Apis::Core::Hashable

# Describes BigQuery publishing configurations.
# Corresponds to the JSON property `bigqueryPublishingConfig`
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecBigQueryPublishingConfig]
attr_accessor :bigquery_publishing_config

# Configurations related to Cloud Storage as the data source.
# Corresponds to the JSON property `storageConfig`
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecStorageConfig]
attr_accessor :storage_config

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@bigquery_publishing_config = args[:bigquery_publishing_config] if args.key?(:bigquery_publishing_config)
@storage_config = args[:storage_config] if args.key?(:storage_config)
end
end

# Describes BigQuery publishing configurations.
class GoogleCloudDataplexV1DataDiscoverySpecBigQueryPublishingConfig
include Google::Apis::Core::Hashable

# Optional. The BigQuery connection used to create BigLake tables. Must be in
# the form projects/`project_id`/locations/`location_id`/connections/`
# connection_id`
# Corresponds to the JSON property `connection`
# @return [String]
attr_accessor :connection

# Optional. Determines whether to publish discovered tables as BigLake external
# tables or non-BigLake external tables.
# Corresponds to the JSON property `tableType`
# @return [String]
attr_accessor :table_type

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@connection = args[:connection] if args.key?(:connection)
@table_type = args[:table_type] if args.key?(:table_type)
end
end

# Configurations related to Cloud Storage as the data source.
class GoogleCloudDataplexV1DataDiscoverySpecStorageConfig
include Google::Apis::Core::Hashable

# Describes CSV and similar semi-structured data formats.
# Corresponds to the JSON property `csvOptions`
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions]
attr_accessor :csv_options

# Optional. Defines the data to exclude during discovery. Provide a list of
# patterns that identify the data to exclude. For Cloud Storage bucket assets,
# these patterns are interpreted as glob patterns used to match object names.
# For BigQuery dataset assets, these patterns are interpreted as patterns to
# match table names.
# Corresponds to the JSON property `excludePatterns`
# @return [Array<String>]
attr_accessor :exclude_patterns

# Optional. Defines the data to include during discovery when only a subset of
# the data should be considered. Provide a list of patterns that identify the
# data to include. For Cloud Storage bucket assets, these patterns are
# interpreted as glob patterns used to match object names. For BigQuery dataset
# assets, these patterns are interpreted as patterns to match table names.
# Corresponds to the JSON property `includePatterns`
# @return [Array<String>]
attr_accessor :include_patterns

# Describes JSON data format.
# Corresponds to the JSON property `jsonOptions`
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions]
attr_accessor :json_options

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@csv_options = args[:csv_options] if args.key?(:csv_options)
@exclude_patterns = args[:exclude_patterns] if args.key?(:exclude_patterns)
@include_patterns = args[:include_patterns] if args.key?(:include_patterns)
@json_options = args[:json_options] if args.key?(:json_options)
end
end

# Describes CSV and similar semi-structured data formats.
class GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions
include Google::Apis::Core::Hashable

# Optional. The delimiter that is used to separate values. The default is , (
# comma).
# Corresponds to the JSON property `delimiter`
# @return [String]
attr_accessor :delimiter

# Optional. The character encoding of the data. The default is UTF-8.
# Corresponds to the JSON property `encoding`
# @return [String]
attr_accessor :encoding

# Optional. The number of rows to interpret as header rows that should be
# skipped when reading data rows.
# Corresponds to the JSON property `headerRows`
# @return [Fixnum]
attr_accessor :header_rows

# Optional. The character used to quote column values. Accepts " (double
# quotation mark) or ' (single quotation mark). If unspecified, defaults to " (
# double quotation mark).
# Corresponds to the JSON property `quote`
# @return [String]
attr_accessor :quote

# Optional. Whether to disable the inference of data types for CSV data. If true,
# all columns are registered as strings.
# Corresponds to the JSON property `typeInferenceDisabled`
# @return [Boolean]
attr_accessor :type_inference_disabled
alias_method :type_inference_disabled?, :type_inference_disabled

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@delimiter = args[:delimiter] if args.key?(:delimiter)
@encoding = args[:encoding] if args.key?(:encoding)
@header_rows = args[:header_rows] if args.key?(:header_rows)
@quote = args[:quote] if args.key?(:quote)
@type_inference_disabled = args[:type_inference_disabled] if args.key?(:type_inference_disabled)
end
end

# Describes JSON data format.
class GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions
include Google::Apis::Core::Hashable

# Optional. The character encoding of the data. The default is UTF-8.
# Corresponds to the JSON property `encoding`
# @return [String]
attr_accessor :encoding

# Optional. Whether to disable the inference of data types for JSON data. If
# true, all columns are registered as their primitive types (strings, number, or
# boolean).
# Corresponds to the JSON property `typeInferenceDisabled`
# @return [Boolean]
attr_accessor :type_inference_disabled
alias_method :type_inference_disabled?, :type_inference_disabled

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@encoding = args[:encoding] if args.key?(:encoding)
@type_inference_disabled = args[:type_inference_disabled] if args.key?(:type_inference_disabled)
end
end

# DataProfileResult defines the output of DataProfileScan. Each field of the
# table will have field type specific profile result.
class GoogleCloudDataplexV1DataProfileResult
Expand Down Expand Up @@ -2980,6 +3195,16 @@ class GoogleCloudDataplexV1DataScan
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataSource]
attr_accessor :data

# The output of a data discovery scan.
# Corresponds to the JSON property `dataDiscoveryResult`
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoveryResult]
attr_accessor :data_discovery_result

# Spec for a data discovery scan.
# Corresponds to the JSON property `dataDiscoverySpec`
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpec]
attr_accessor :data_discovery_spec

# DataProfileResult defines the output of DataProfileScan. Each field of the
# table will have field type specific profile result.
# Corresponds to the JSON property `dataProfileResult`
Expand Down Expand Up @@ -3062,6 +3287,8 @@ def initialize(**args)
def update!(**args)
@create_time = args[:create_time] if args.key?(:create_time)
@data = args[:data] if args.key?(:data)
@data_discovery_result = args[:data_discovery_result] if args.key?(:data_discovery_result)
@data_discovery_spec = args[:data_discovery_spec] if args.key?(:data_discovery_spec)
@data_profile_result = args[:data_profile_result] if args.key?(:data_profile_result)
@data_profile_spec = args[:data_profile_spec] if args.key?(:data_profile_spec)
@data_quality_result = args[:data_quality_result] if args.key?(:data_quality_result)
Expand Down Expand Up @@ -3439,6 +3666,16 @@ class GoogleCloudDataplexV1DataScanJob
# @return [String]
attr_accessor :create_time

# The output of a data discovery scan.
# Corresponds to the JSON property `dataDiscoveryResult`
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoveryResult]
attr_accessor :data_discovery_result

# Spec for a data discovery scan.
# Corresponds to the JSON property `dataDiscoverySpec`
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpec]
attr_accessor :data_discovery_spec

# DataProfileResult defines the output of DataProfileScan. Each field of the
# table will have field type specific profile result.
# Corresponds to the JSON property `dataProfileResult`
Expand Down Expand Up @@ -3505,6 +3742,8 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@create_time = args[:create_time] if args.key?(:create_time)
@data_discovery_result = args[:data_discovery_result] if args.key?(:data_discovery_result)
@data_discovery_spec = args[:data_discovery_spec] if args.key?(:data_discovery_spec)
@data_profile_result = args[:data_profile_result] if args.key?(:data_profile_result)
@data_profile_spec = args[:data_profile_spec] if args.key?(:data_profile_spec)
@data_quality_result = args[:data_quality_result] if args.key?(:data_quality_result)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module DataplexV1
# Version of the google-apis-dataplex_v1 gem
GEM_VERSION = "0.65.0"
GEM_VERSION = "0.66.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20241001"
REVISION = "20241019"
end
end
end
Loading

0 comments on commit b8efced

Please sign in to comment.