From 7422b44095c4aea91688d69c9ca87b31400d16c4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 24 May 2026 11:12:48 +0000 Subject: [PATCH] feat: Automated regeneration of bigquery v2 client --- api_names_out.yaml | 20 ++ .../google-apis-bigquery_v2/CHANGELOG.md | 4 + .../lib/google/apis/bigquery_v2/classes.rb | 183 ++++++++++++++++++ .../google/apis/bigquery_v2/gem_version.rb | 4 +- .../apis/bigquery_v2/representations.rb | 80 ++++++++ 5 files changed, 289 insertions(+), 2 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 6daf840d3ec..d077611de6a 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -60678,6 +60678,9 @@ "/bigquery:v2/DataFormatOptions/useInt64Timestamp": use_int64_timestamp "/bigquery:v2/DataMaskingStatistics": data_masking_statistics "/bigquery:v2/DataMaskingStatistics/dataMaskingApplied": data_masking_applied +"/bigquery:v2/DataPolicyList": data_policy_list +"/bigquery:v2/DataPolicyList/dataPolicies": data_policies +"/bigquery:v2/DataPolicyList/dataPolicies/data_policy": data_policy "/bigquery:v2/DataPolicyOption": data_policy_option "/bigquery:v2/DataPolicyOption/name": name "/bigquery:v2/DataSplitResult": data_split_result @@ -60908,6 +60911,7 @@ "/bigquery:v2/ExternalRuntimeOptions": external_runtime_options "/bigquery:v2/ExternalRuntimeOptions/containerCpu": container_cpu "/bigquery:v2/ExternalRuntimeOptions/containerMemory": container_memory +"/bigquery:v2/ExternalRuntimeOptions/containerRequestConcurrency": container_request_concurrency "/bigquery:v2/ExternalRuntimeOptions/maxBatchingRows": max_batching_rows "/bigquery:v2/ExternalRuntimeOptions/runtimeConnection": runtime_connection "/bigquery:v2/ExternalRuntimeOptions/runtimeVersion": runtime_version @@ -60930,6 +60934,8 @@ "/bigquery:v2/GenAiErrorStats": gen_ai_error_stats "/bigquery:v2/GenAiErrorStats/errors": errors "/bigquery:v2/GenAiErrorStats/errors/error": error +"/bigquery:v2/GenAiFunctionCacheStats": gen_ai_function_cache_stats +"/bigquery:v2/GenAiFunctionCacheStats/numCacheHitRows": num_cache_hit_rows "/bigquery:v2/GenAiFunctionCostOptimizationStats": gen_ai_function_cost_optimization_stats "/bigquery:v2/GenAiFunctionCostOptimizationStats/message": message "/bigquery:v2/GenAiFunctionCostOptimizationStats/numCostOptimizedRows": num_cost_optimized_rows @@ -60938,6 +60944,7 @@ "/bigquery:v2/GenAiFunctionErrorStats/errors/error": error "/bigquery:v2/GenAiFunctionErrorStats/numFailedRows": num_failed_rows "/bigquery:v2/GenAiFunctionStats": gen_ai_function_stats +"/bigquery:v2/GenAiFunctionStats/cacheStats": cache_stats "/bigquery:v2/GenAiFunctionStats/costOptimizationStats": cost_optimization_stats "/bigquery:v2/GenAiFunctionStats/errorStats": error_stats "/bigquery:v2/GenAiFunctionStats/functionName": function_name @@ -61409,6 +61416,9 @@ "/bigquery:v2/MaterializedViewStatus": materialized_view_status "/bigquery:v2/MaterializedViewStatus/lastRefreshStatus": last_refresh_status "/bigquery:v2/MaterializedViewStatus/refreshWatermark": refresh_watermark +"/bigquery:v2/MetadataCacheStalenessInsight": metadata_cache_staleness_insight +"/bigquery:v2/MetadataCacheStalenessInsight/avgPreviousStalenessMs": avg_previous_staleness_ms +"/bigquery:v2/MetadataCacheStalenessInsight/stalenessPercentageIncrease": staleness_percentage_increase "/bigquery:v2/MetadataCacheStatistics": metadata_cache_statistics "/bigquery:v2/MetadataCacheStatistics/tableMetadataCacheUsage": table_metadata_cache_usage "/bigquery:v2/MetadataCacheStatistics/tableMetadataCacheUsage/table_metadata_cache_usage": table_metadata_cache_usage @@ -61485,6 +61495,8 @@ "/bigquery:v2/PerformanceInsights/stagePerformanceChangeInsights/stage_performance_change_insight": stage_performance_change_insight "/bigquery:v2/PerformanceInsights/stagePerformanceStandaloneInsights": stage_performance_standalone_insights "/bigquery:v2/PerformanceInsights/stagePerformanceStandaloneInsights/stage_performance_standalone_insight": stage_performance_standalone_insight +"/bigquery:v2/PerformanceInsights/tableChangeInsights": table_change_insights +"/bigquery:v2/PerformanceInsights/tableChangeInsights/table_change_insight": table_change_insight "/bigquery:v2/Policy": policy "/bigquery:v2/Policy/auditConfigs": audit_configs "/bigquery:v2/Policy/auditConfigs/audit_config": audit_config @@ -61896,6 +61908,10 @@ "/bigquery:v2/Table/view": view "/bigquery:v2/TableCell": table_cell "/bigquery:v2/TableCell/v": v +"/bigquery:v2/TableChangeInsight": table_change_insight +"/bigquery:v2/TableChangeInsight/metadataCacheNotUsedButUsedPreviously": metadata_cache_not_used_but_used_previously +"/bigquery:v2/TableChangeInsight/metadataCacheStalenessInsight": metadata_cache_staleness_insight +"/bigquery:v2/TableChangeInsight/tableReference": table_reference "/bigquery:v2/TableConstraints": table_constraints "/bigquery:v2/TableConstraints/foreignKeys": foreign_keys "/bigquery:v2/TableConstraints/foreignKeys/foreign_key": foreign_key @@ -61955,8 +61971,12 @@ "/bigquery:v2/TableFieldSchema/categories/names/name": name "/bigquery:v2/TableFieldSchema/collation": collation "/bigquery:v2/TableFieldSchema/collationSpec": collation_spec +"/bigquery:v2/TableFieldSchema/dataGovernanceTagsInfo": data_governance_tags_info +"/bigquery:v2/TableFieldSchema/dataGovernanceTagsInfo/dataGovernanceTags": data_governance_tags +"/bigquery:v2/TableFieldSchema/dataGovernanceTagsInfo/dataGovernanceTags/data_governance_tag": data_governance_tag "/bigquery:v2/TableFieldSchema/dataPolicies": data_policies "/bigquery:v2/TableFieldSchema/dataPolicies/data_policy": data_policy +"/bigquery:v2/TableFieldSchema/dataPolicyList": data_policy_list "/bigquery:v2/TableFieldSchema/defaultValueExpression": default_value_expression "/bigquery:v2/TableFieldSchema/description": description "/bigquery:v2/TableFieldSchema/fields": fields diff --git a/generated/google-apis-bigquery_v2/CHANGELOG.md b/generated/google-apis-bigquery_v2/CHANGELOG.md index 51161bf0aac..fc2626531c5 100644 --- a/generated/google-apis-bigquery_v2/CHANGELOG.md +++ b/generated/google-apis-bigquery_v2/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-bigquery_v2 +### v0.102.0 (2026-05-24) + +* Regenerated from discovery document revision 20260429 + ### v0.101.0 (2026-04-19) * Regenerated from discovery document revision 20260314 diff --git a/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/classes.rb b/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/classes.rb index c2007552a9a..f3ee8e86c3a 100644 --- a/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/classes.rb +++ b/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/classes.rb @@ -1778,6 +1778,28 @@ def update!(**args) end end + # A list of data policy options. For more information, see [Mask data by + # applying data policies to a column](https://docs.cloud.google.com/bigquery/ + # docs/column-data-masking#data-policies-on-column). + class DataPolicyList + include Google::Apis::Core::Hashable + + # Contains a list of data policy options. At most 9 data policies are allowed + # per field. + # Corresponds to the JSON property `dataPolicies` + # @return [Array] + attr_accessor :data_policies + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_policies = args[:data_policies] if args.key?(:data_policies) + end + end + # Data policy option. For more information, see [Mask data by applying data # policies to a column](https://docs.cloud.google.com/bigquery/docs/column-data- # masking#data-policies-on-column). @@ -3546,6 +3568,12 @@ class ExternalRuntimeOptions # @return [String] attr_accessor :container_memory + # Optional. Maximum number of requests that a Cloud Run instance can handle + # concurrently. If absent or if `0`, a default concurrency is used. + # Corresponds to the JSON property `containerRequestConcurrency` + # @return [Fixnum] + attr_accessor :container_request_concurrency + # Optional. Maximum number of rows in each batch sent to the external runtime. # If absent or if 0, BigQuery dynamically decides the number of rows in a batch. # Corresponds to the JSON property `maxBatchingRows` @@ -3572,6 +3600,7 @@ def initialize(**args) def update!(**args) @container_cpu = args[:container_cpu] if args.key?(:container_cpu) @container_memory = args[:container_memory] if args.key?(:container_memory) + @container_request_concurrency = args[:container_request_concurrency] if args.key?(:container_request_concurrency) @max_batching_rows = args[:max_batching_rows] if args.key?(:max_batching_rows) @runtime_connection = args[:runtime_connection] if args.key?(:runtime_connection) @runtime_version = args[:runtime_version] if args.key?(:runtime_version) @@ -3736,6 +3765,25 @@ def update!(**args) end end + # Provides cache statistics for a GenAi function call. + class GenAiFunctionCacheStats + include Google::Apis::Core::Hashable + + # Number of rows served from cache. + # Corresponds to the JSON property `numCacheHitRows` + # @return [Fixnum] + attr_accessor :num_cache_hit_rows + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @num_cache_hit_rows = args[:num_cache_hit_rows] if args.key?(:num_cache_hit_rows) + end + end + # Provides cost optimization statistics for a GenAi function call. class GenAiFunctionCostOptimizationStats include Google::Apis::Core::Hashable @@ -3790,6 +3838,11 @@ def update!(**args) class GenAiFunctionStats include Google::Apis::Core::Hashable + # Provides cache statistics for a GenAi function call. + # Corresponds to the JSON property `cacheStats` + # @return [Google::Apis::BigqueryV2::GenAiFunctionCacheStats] + attr_accessor :cache_stats + # Provides cost optimization statistics for a GenAi function call. # Corresponds to the JSON property `costOptimizationStats` # @return [Google::Apis::BigqueryV2::GenAiFunctionCostOptimizationStats] @@ -3822,6 +3875,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @cache_stats = args[:cache_stats] if args.key?(:cache_stats) @cost_optimization_stats = args[:cost_optimization_stats] if args.key?(:cost_optimization_stats) @error_stats = args[:error_stats] if args.key?(:error_stats) @function_name = args[:function_name] if args.key?(:function_name) @@ -7253,6 +7307,33 @@ def update!(**args) end end + # Column Metadata Index staleness detailed infnormation. + class MetadataCacheStalenessInsight + include Google::Apis::Core::Hashable + + # Output only. Average column metadata index staleness of previous runs with the + # same query hash. + # Corresponds to the JSON property `avgPreviousStalenessMs` + # @return [String] + attr_accessor :avg_previous_staleness_ms + + # Output only. The percent increase in staleness between the current job and the + # average staleness of previous jobs with the same query hash. + # Corresponds to the JSON property `stalenessPercentageIncrease` + # @return [Float] + attr_accessor :staleness_percentage_increase + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @avg_previous_staleness_ms = args[:avg_previous_staleness_ms] if args.key?(:avg_previous_staleness_ms) + @staleness_percentage_increase = args[:staleness_percentage_increase] if args.key?(:staleness_percentage_increase) + end + end + # Statistics for metadata caching in queried tables. class MetadataCacheStatistics include Google::Apis::Core::Hashable @@ -7751,6 +7832,12 @@ class PerformanceInsights # @return [Array] attr_accessor :stage_performance_standalone_insights + # Output only. Performance insights for table-level attributes that changed + # compared to previous runs. + # Corresponds to the JSON property `tableChangeInsights` + # @return [Array] + attr_accessor :table_change_insights + def initialize(**args) update!(**args) end @@ -7760,6 +7847,7 @@ def update!(**args) @avg_previous_execution_ms = args[:avg_previous_execution_ms] if args.key?(:avg_previous_execution_ms) @stage_performance_change_insights = args[:stage_performance_change_insights] if args.key?(:stage_performance_change_insights) @stage_performance_standalone_insights = args[:stage_performance_standalone_insights] if args.key?(:stage_performance_standalone_insights) + @table_change_insights = args[:table_change_insights] if args.key?(:table_change_insights) end end @@ -10749,6 +10837,40 @@ def update!(**args) end end + # Table-level performance insights compared to previous runs. These insights don' + # t apply to specific query stages, rather they apply to the whole table. + class TableChangeInsight + include Google::Apis::Core::Hashable + + # Output only. True if the table's column metadata index was not used in the + # current job, but was used in a previous job with the same query hash. + # Corresponds to the JSON property `metadataCacheNotUsedButUsedPreviously` + # @return [Boolean] + attr_accessor :metadata_cache_not_used_but_used_previously + alias_method :metadata_cache_not_used_but_used_previously?, :metadata_cache_not_used_but_used_previously + + # Column Metadata Index staleness detailed infnormation. + # Corresponds to the JSON property `metadataCacheStalenessInsight` + # @return [Google::Apis::BigqueryV2::MetadataCacheStalenessInsight] + attr_accessor :metadata_cache_staleness_insight + + # Output only. The table that was queried. + # Corresponds to the JSON property `tableReference` + # @return [Google::Apis::BigqueryV2::TableReference] + attr_accessor :table_reference + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata_cache_not_used_but_used_previously = args[:metadata_cache_not_used_but_used_previously] if args.key?(:metadata_cache_not_used_but_used_previously) + @metadata_cache_staleness_insight = args[:metadata_cache_staleness_insight] if args.key?(:metadata_cache_staleness_insight) + @table_reference = args[:table_reference] if args.key?(:table_reference) + end + end + # The TableConstraints defines the primary key and foreign key. class TableConstraints include Google::Apis::Core::Hashable @@ -11083,12 +11205,34 @@ class TableFieldSchema # @return [String] attr_accessor :collation + # Optional. Specifies the data governance tags on this field. This field works + # with other column-level security fields as follows: - Precedence: If a data + # governance tag is attached to a column, it takes precedence over the policy + # tag attached to the column. However, if a data policy is attached to a column, + # it takes precedence over the data governance tag. - Patching behavior (how + # this field behaves during a `Table.patch` schema update): - Unset: If the ` + # data_governance_tags_info` field is omitted from the update request, the + # existing tags on the column are preserved. - Empty Field: To clear data + # governance tags from a column, send the `data_governance_tags_info` field as + # an empty object. This will remove all tags from the column. - Updating tags: + # To replace existing tag, send the field with the new tag. + # Corresponds to the JSON property `dataGovernanceTagsInfo` + # @return [Google::Apis::BigqueryV2::TableFieldSchema::DataGovernanceTagsInfo] + attr_accessor :data_governance_tags_info + # Optional. Data policies attached to this field, used for field-level access # control. # Corresponds to the JSON property `dataPolicies` # @return [Array] attr_accessor :data_policies + # A list of data policy options. For more information, see [Mask data by + # applying data policies to a column](https://docs.cloud.google.com/bigquery/ + # docs/column-data-masking#data-policies-on-column). + # Corresponds to the JSON property `dataPolicyList` + # @return [Google::Apis::BigqueryV2::DataPolicyList] + attr_accessor :data_policy_list + # Optional. A SQL expression to specify the [default value] (https://cloud. # google.com/bigquery/docs/default-values) for this field. # Corresponds to the JSON property `defaultValueExpression` @@ -11207,7 +11351,9 @@ def initialize(**args) def update!(**args) @categories = args[:categories] if args.key?(:categories) @collation = args[:collation] if args.key?(:collation) + @data_governance_tags_info = args[:data_governance_tags_info] if args.key?(:data_governance_tags_info) @data_policies = args[:data_policies] if args.key?(:data_policies) + @data_policy_list = args[:data_policy_list] if args.key?(:data_policy_list) @default_value_expression = args[:default_value_expression] if args.key?(:default_value_expression) @description = args[:description] if args.key?(:description) @fields = args[:fields] if args.key?(:fields) @@ -11244,6 +11390,43 @@ def update!(**args) end end + # Optional. Specifies the data governance tags on this field. This field works + # with other column-level security fields as follows: - Precedence: If a data + # governance tag is attached to a column, it takes precedence over the policy + # tag attached to the column. However, if a data policy is attached to a column, + # it takes precedence over the data governance tag. - Patching behavior (how + # this field behaves during a `Table.patch` schema update): - Unset: If the ` + # data_governance_tags_info` field is omitted from the update request, the + # existing tags on the column are preserved. - Empty Field: To clear data + # governance tags from a column, send the `data_governance_tags_info` field as + # an empty object. This will remove all tags from the column. - Updating tags: + # To replace existing tag, send the field with the new tag. + class DataGovernanceTagsInfo + include Google::Apis::Core::Hashable + + # Optional. The data governance tags added to this field are used for field- + # level access control. Only one data governance tag is currently supported on a + # field. Tag keys are globally unique. Tag key is expected to be in the + # namespaced format, for example "123456789012/pii" where 123456789012 is the ID + # of the parent organization or project resource for this tag key. Tag value is + # expected to be the short name, for example "sensitive". See [Tag definitions]( + # https://cloud.google.com/iam/docs/tags-access-control#definitions) for more + # details. For example: "123456789012/pii": "sensitive", "myProject/cost_center": + # "sales" + # Corresponds to the JSON property `dataGovernanceTags` + # @return [Hash] + attr_accessor :data_governance_tags + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_governance_tags = args[:data_governance_tags] if args.key?(:data_governance_tags) + end + end + # Optional. The policy tags attached to this field, used for field-level access # control. If not set, defaults to empty policy_tags. class PolicyTags diff --git a/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/gem_version.rb b/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/gem_version.rb index 9923b60ef68..9d0e491f5f7 100644 --- a/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/gem_version.rb +++ b/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module BigqueryV2 # Version of the google-apis-bigquery_v2 gem - GEM_VERSION = "0.101.0" + GEM_VERSION = "0.102.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 = "20260314" + REVISION = "20260429" end end end diff --git a/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/representations.rb b/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/representations.rb index 5657c7e0030..a44e0cf409d 100644 --- a/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/representations.rb +++ b/generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/representations.rb @@ -262,6 +262,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class DataPolicyList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class DataPolicyOption class Representation < Google::Apis::Core::JsonRepresentation; end @@ -472,6 +478,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GenAiFunctionCacheStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GenAiFunctionCostOptimizationStats class Representation < Google::Apis::Core::JsonRepresentation; end @@ -820,6 +832,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class MetadataCacheStalenessInsight + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MetadataCacheStatistics class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1246,6 +1264,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class TableChangeInsight + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TableConstraints class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1315,6 +1339,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class DataGovernanceTagsInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PolicyTags class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1865,6 +1895,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class DataPolicyList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :data_policies, as: 'dataPolicies', class: Google::Apis::BigqueryV2::DataPolicyOption, decorator: Google::Apis::BigqueryV2::DataPolicyOption::Representation + + end + end + class DataPolicyOption # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2261,6 +2299,7 @@ class ExternalRuntimeOptions class Representation < Google::Apis::Core::JsonRepresentation property :container_cpu, as: 'containerCpu' property :container_memory, as: 'containerMemory' + property :container_request_concurrency, :numeric_string => true, as: 'containerRequestConcurrency' property :max_batching_rows, :numeric_string => true, as: 'maxBatchingRows' property :runtime_connection, as: 'runtimeConnection' property :runtime_version, as: 'runtimeVersion' @@ -2311,6 +2350,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GenAiFunctionCacheStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :num_cache_hit_rows, :numeric_string => true, as: 'numCacheHitRows' + end + end + class GenAiFunctionCostOptimizationStats # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2330,6 +2376,8 @@ class Representation < Google::Apis::Core::JsonRepresentation class GenAiFunctionStats # @private class Representation < Google::Apis::Core::JsonRepresentation + property :cache_stats, as: 'cacheStats', class: Google::Apis::BigqueryV2::GenAiFunctionCacheStats, decorator: Google::Apis::BigqueryV2::GenAiFunctionCacheStats::Representation + property :cost_optimization_stats, as: 'costOptimizationStats', class: Google::Apis::BigqueryV2::GenAiFunctionCostOptimizationStats, decorator: Google::Apis::BigqueryV2::GenAiFunctionCostOptimizationStats::Representation property :error_stats, as: 'errorStats', class: Google::Apis::BigqueryV2::GenAiFunctionErrorStats, decorator: Google::Apis::BigqueryV2::GenAiFunctionErrorStats::Representation @@ -3161,6 +3209,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class MetadataCacheStalenessInsight + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :avg_previous_staleness_ms, as: 'avgPreviousStalenessMs' + property :staleness_percentage_increase, as: 'stalenessPercentageIncrease' + end + end + class MetadataCacheStatistics # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3303,6 +3359,8 @@ class Representation < Google::Apis::Core::JsonRepresentation collection :stage_performance_standalone_insights, as: 'stagePerformanceStandaloneInsights', class: Google::Apis::BigqueryV2::StagePerformanceStandaloneInsight, decorator: Google::Apis::BigqueryV2::StagePerformanceStandaloneInsight::Representation + collection :table_change_insights, as: 'tableChangeInsights', class: Google::Apis::BigqueryV2::TableChangeInsight, decorator: Google::Apis::BigqueryV2::TableChangeInsight::Representation + end end @@ -4033,6 +4091,17 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class TableChangeInsight + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata_cache_not_used_but_used_previously, as: 'metadataCacheNotUsedButUsedPreviously' + property :metadata_cache_staleness_insight, as: 'metadataCacheStalenessInsight', class: Google::Apis::BigqueryV2::MetadataCacheStalenessInsight, decorator: Google::Apis::BigqueryV2::MetadataCacheStalenessInsight::Representation + + property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation + + end + end + class TableConstraints # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4135,8 +4204,12 @@ class Representation < Google::Apis::Core::JsonRepresentation property :categories, as: 'categories', class: Google::Apis::BigqueryV2::TableFieldSchema::Categories, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Categories::Representation property :collation, as: 'collation' + property :data_governance_tags_info, as: 'dataGovernanceTagsInfo', class: Google::Apis::BigqueryV2::TableFieldSchema::DataGovernanceTagsInfo, decorator: Google::Apis::BigqueryV2::TableFieldSchema::DataGovernanceTagsInfo::Representation + collection :data_policies, as: 'dataPolicies', class: Google::Apis::BigqueryV2::DataPolicyOption, decorator: Google::Apis::BigqueryV2::DataPolicyOption::Representation + property :data_policy_list, as: 'dataPolicyList', class: Google::Apis::BigqueryV2::DataPolicyList, decorator: Google::Apis::BigqueryV2::DataPolicyList::Representation + property :default_value_expression, as: 'defaultValueExpression' property :description, as: 'description' collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::TableFieldSchema, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Representation @@ -4165,6 +4238,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class DataGovernanceTagsInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :data_governance_tags, as: 'dataGovernanceTags' + end + end + class PolicyTags # @private class Representation < Google::Apis::Core::JsonRepresentation