diff --git a/api_names_out.yaml b/api_names_out.yaml index 41bf745ccbe..84075366f5f 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -153089,9 +153089,24 @@ "/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResult": google_cloud_dataplex_v1_data_documentation_result "/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResult/queries": queries "/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResult/queries/query": query +"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResult/tableResult": table_result +"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultField": google_cloud_dataplex_v1_data_documentation_result_field +"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultField/description": description +"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultField/fields": fields +"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultField/fields/field": field +"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultField/name": name "/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultQuery": google_cloud_dataplex_v1_data_documentation_result_query "/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultQuery/description": description "/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultQuery/sql": sql +"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultSchema": google_cloud_dataplex_v1_data_documentation_result_schema +"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultSchema/fields": fields +"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultSchema/fields/field": field +"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultTableResult": google_cloud_dataplex_v1_data_documentation_result_table_result +"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultTableResult/name": name +"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultTableResult/overview": overview +"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultTableResult/queries": queries +"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultTableResult/queries/query": query +"/dataplex:v1/GoogleCloudDataplexV1DataDocumentationResultTableResult/schema": schema "/dataplex:v1/GoogleCloudDataplexV1DataDocumentationSpec": google_cloud_dataplex_v1_data_documentation_spec "/dataplex:v1/GoogleCloudDataplexV1DataProfileResult": google_cloud_dataplex_v1_data_profile_result "/dataplex:v1/GoogleCloudDataplexV1DataProfileResult/postScanActionsResult": post_scan_actions_result diff --git a/generated/google-apis-dataplex_v1/CHANGELOG.md b/generated/google-apis-dataplex_v1/CHANGELOG.md index 2091bf71da0..9c6b0f71673 100644 --- a/generated/google-apis-dataplex_v1/CHANGELOG.md +++ b/generated/google-apis-dataplex_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-dataplex_v1 +### v0.87.0 (2025-09-28) + +* Regenerated from discovery document revision 20250919 + ### v0.86.0 (2025-09-21) * Regenerated from discovery document revision 20250915 diff --git a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/classes.rb b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/classes.rb index c5f5ddfac1e..ed2826f7c26 100644 --- a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/classes.rb +++ b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/classes.rb @@ -1913,6 +1913,152 @@ def update!(**args) end end + # The output of a DataDocumentation scan. + class GoogleCloudDataplexV1DataDocumentationResult + include Google::Apis::Core::Hashable + + # Generated metadata about the table. + # Corresponds to the JSON property `tableResult` + # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultTableResult] + attr_accessor :table_result + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table_result = args[:table_result] if args.key?(:table_result) + end + end + + # Column of a table with generated metadata and nested fields. + class GoogleCloudDataplexV1DataDocumentationResultField + include Google::Apis::Core::Hashable + + # Output only. Generated description for columns and fields. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Output only. Nested fields. + # Corresponds to the JSON property `fields` + # @return [Array] + attr_accessor :fields + + # Output only. The name of the column. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @fields = args[:fields] if args.key?(:fields) + @name = args[:name] if args.key?(:name) + end + end + + # A sample SQL query in data documentation. + class GoogleCloudDataplexV1DataDocumentationResultQuery + include Google::Apis::Core::Hashable + + # Output only. The description for the query. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Output only. The SQL query string which can be executed. + # Corresponds to the JSON property `sql` + # @return [String] + attr_accessor :sql + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @sql = args[:sql] if args.key?(:sql) + end + end + + # Schema of the table with generated metadata of columns. + class GoogleCloudDataplexV1DataDocumentationResultSchema + include Google::Apis::Core::Hashable + + # Output only. The list of columns. + # Corresponds to the JSON property `fields` + # @return [Array] + attr_accessor :fields + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + end + end + + # Generated metadata about the table. + class GoogleCloudDataplexV1DataDocumentationResultTableResult + include Google::Apis::Core::Hashable + + # Output only. The service-qualified full resource name of the cloud resource. + # Ex: bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/ + # TABLE_ID + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. Generated description of the table. + # Corresponds to the JSON property `overview` + # @return [String] + attr_accessor :overview + + # Output only. Sample SQL queries for the table. + # Corresponds to the JSON property `queries` + # @return [Array] + attr_accessor :queries + + # Schema of the table with generated metadata of columns. + # Corresponds to the JSON property `schema` + # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultSchema] + attr_accessor :schema + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @overview = args[:overview] if args.key?(:overview) + @queries = args[:queries] if args.key?(:queries) + @schema = args[:schema] if args.key?(:schema) + end + end + + # DataDocumentation scan related spec. + class GoogleCloudDataplexV1DataDocumentationSpec + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # DataProfileResult defines the output of DataProfileScan. Each field of the # table will have field type specific profile result. class GoogleCloudDataplexV1DataProfileResult @@ -3367,7 +3513,11 @@ def update!(**args) # data profiling (https://cloud.google.com/dataplex/docs/data-profiling-overview) # . Data discovery: scans data in Cloud Storage buckets to extract and then # catalog metadata. For more information, see Discover and catalog Cloud Storage - # data (https://cloud.google.com/bigquery/docs/automatic-discovery). + # data (https://cloud.google.com/bigquery/docs/automatic-discovery). Data + # documentation: analyzes the table details and generates insights including + # descriptions and sample SQL queries for the table. For more information, see + # Generate data insights in BigQuery (https://cloud.google.com/bigquery/docs/ + # data-insights). class GoogleCloudDataplexV1DataScan include Google::Apis::Core::Hashable @@ -3391,6 +3541,16 @@ class GoogleCloudDataplexV1DataScan # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpec] attr_accessor :data_discovery_spec + # The output of a DataDocumentation scan. + # Corresponds to the JSON property `dataDocumentationResult` + # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResult] + attr_accessor :data_documentation_result + + # DataDocumentation scan related spec. + # Corresponds to the JSON property `dataDocumentationSpec` + # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationSpec] + attr_accessor :data_documentation_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` @@ -3476,6 +3636,8 @@ def update!(**args) @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_documentation_result = args[:data_documentation_result] if args.key?(:data_documentation_result) + @data_documentation_spec = args[:data_documentation_spec] if args.key?(:data_documentation_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) @@ -3890,6 +4052,16 @@ class GoogleCloudDataplexV1DataScanJob # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpec] attr_accessor :data_discovery_spec + # The output of a DataDocumentation scan. + # Corresponds to the JSON property `dataDocumentationResult` + # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResult] + attr_accessor :data_documentation_result + + # DataDocumentation scan related spec. + # Corresponds to the JSON property `dataDocumentationSpec` + # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationSpec] + attr_accessor :data_documentation_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` @@ -3958,6 +4130,8 @@ 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_documentation_result = args[:data_documentation_result] if args.key?(:data_documentation_result) + @data_documentation_spec = args[:data_documentation_spec] if args.key?(:data_documentation_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) @@ -3988,8 +4162,8 @@ class GoogleCloudDataplexV1DataSource # a DataScan job to scan against. The field could either be: Cloud Storage # bucket for DataDiscoveryScan Format: //storage.googleapis.com/projects/ # PROJECT_ID/buckets/BUCKET_ID or BigQuery table of type "TABLE" for - # DataProfileScan/DataQualityScan Format: //bigquery.googleapis.com/projects/ - # PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID + # DataProfileScan/DataQualityScan/DataDocumentationScan Format: //bigquery. + # googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID # Corresponds to the JSON property `resource` # @return [String] attr_accessor :resource diff --git a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/gem_version.rb b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/gem_version.rb index fad1ccd5c82..62d78db4f87 100644 --- a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/gem_version.rb +++ b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DataplexV1 # Version of the google-apis-dataplex_v1 gem - GEM_VERSION = "0.86.0" + GEM_VERSION = "0.87.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250915" + REVISION = "20250919" end end end diff --git a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/representations.rb b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/representations.rb index 556b85c0412..132a4816283 100644 --- a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/representations.rb +++ b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/representations.rb @@ -298,6 +298,42 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDataplexV1DataDocumentationResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDataplexV1DataDocumentationResultField + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDataplexV1DataDocumentationResultQuery + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDataplexV1DataDocumentationResultSchema + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDataplexV1DataDocumentationResultTableResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDataplexV1DataDocumentationSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDataplexV1DataProfileResult class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1895,6 +1931,58 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDataplexV1DataDocumentationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :table_result, as: 'tableResult', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultTableResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultTableResult::Representation + + end + end + + class GoogleCloudDataplexV1DataDocumentationResultField + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + collection :fields, as: 'fields', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultField, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultField::Representation + + property :name, as: 'name' + end + end + + class GoogleCloudDataplexV1DataDocumentationResultQuery + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :sql, as: 'sql' + end + end + + class GoogleCloudDataplexV1DataDocumentationResultSchema + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :fields, as: 'fields', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultField, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultField::Representation + + end + end + + class GoogleCloudDataplexV1DataDocumentationResultTableResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :overview, as: 'overview' + collection :queries, as: 'queries', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultQuery, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultQuery::Representation + + property :schema, as: 'schema', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultSchema, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultSchema::Representation + + end + end + + class GoogleCloudDataplexV1DataDocumentationSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class GoogleCloudDataplexV1DataProfileResult # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2313,6 +2401,10 @@ class Representation < Google::Apis::Core::JsonRepresentation property :data_discovery_spec, as: 'dataDiscoverySpec', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpec, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpec::Representation + property :data_documentation_result, as: 'dataDocumentationResult', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResult::Representation + + property :data_documentation_spec, as: 'dataDocumentationSpec', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationSpec, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationSpec::Representation + property :data_profile_result, as: 'dataProfileResult', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResult::Representation property :data_profile_spec, as: 'dataProfileSpec', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpec, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpec::Representation @@ -2450,6 +2542,10 @@ class Representation < Google::Apis::Core::JsonRepresentation property :data_discovery_spec, as: 'dataDiscoverySpec', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpec, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpec::Representation + property :data_documentation_result, as: 'dataDocumentationResult', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResult::Representation + + property :data_documentation_spec, as: 'dataDocumentationSpec', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationSpec, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationSpec::Representation + property :data_profile_result, as: 'dataProfileResult', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResult::Representation property :data_profile_spec, as: 'dataProfileSpec', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpec, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpec::Representation