google-apis-bigquery_v2 0.66.0 → 0.67.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12b3b8f91c37e1f2672bbda0246599448b8faa5c2c09ebd751d6f1444565c3b4
4
- data.tar.gz: e350f146fa4164cfe9391f99787c52db8c95ddd9b699cf61a1334b23abedb9cc
3
+ metadata.gz: 99bd062a3aeb1b6dca6faebfe0f1d83cd93a2376d4ca52a919b0ffc12c56b1cf
4
+ data.tar.gz: b14edccafb3e5ebb04b26f64c348cc2e16f722f1eb872faed30e92270030839d
5
5
  SHA512:
6
- metadata.gz: 4e39e0d76bfa17f6cebce71f94c76cf2b7b52ea4f3269329dc39cc6538a0d59f2ff54faa6873e6fffef913913a632f10a510fdb423c642c5857335d10bffe9d2
7
- data.tar.gz: c1f456b56e776ec24a452b7e61d3678ecb7542b56fbd1e1dd1cd24be9de31beb7e66736cc3d12045a80dd011a4e33bb5e7cba2dc0eca2155fc710b2572c58720
6
+ metadata.gz: 9ae554e8caf0ecfc4085b50d2d0a236ba81f4579e5c3db807f32dfc0c855374bf9d1785bb0bbfa181cb7d6564044ce22514b9479c20afe4fa91a3e1fa5a59784
7
+ data.tar.gz: 9406a3a06d087de3d050175aa50223a9616353b84dc1361ff441e188a1d2baec0341ae98f3b8031501ca0b5c16a201b66faf662042a234706178d5704ff4f37d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.67.0 (2024-03-31)
4
+
5
+ * Regenerated from discovery document revision 20240323
6
+
3
7
  ### v0.66.0 (2024-03-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20240229
@@ -1789,6 +1789,13 @@ module Google
1789
1789
  # @return [String]
1790
1790
  attr_accessor :etag
1791
1791
 
1792
+ # Options defining open source compatible datasets living in the BigQuery
1793
+ # catalog. Contains metadata of open source database, schema or namespace
1794
+ # represented by the current dataset.
1795
+ # Corresponds to the JSON property `externalCatalogDatasetOptions`
1796
+ # @return [Google::Apis::BigqueryV2::ExternalCatalogDatasetOptions]
1797
+ attr_accessor :external_catalog_dataset_options
1798
+
1792
1799
  # Configures the access a dataset defined in an external metadata storage.
1793
1800
  # Corresponds to the JSON property `externalDatasetReference`
1794
1801
  # @return [Google::Apis::BigqueryV2::ExternalDatasetReference]
@@ -1908,6 +1915,7 @@ module Google
1908
1915
  @default_table_expiration_ms = args[:default_table_expiration_ms] if args.key?(:default_table_expiration_ms)
1909
1916
  @description = args[:description] if args.key?(:description)
1910
1917
  @etag = args[:etag] if args.key?(:etag)
1918
+ @external_catalog_dataset_options = args[:external_catalog_dataset_options] if args.key?(:external_catalog_dataset_options)
1911
1919
  @external_dataset_reference = args[:external_dataset_reference] if args.key?(:external_dataset_reference)
1912
1920
  @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
1913
1921
  @id = args[:id] if args.key?(:id)
@@ -2248,6 +2256,86 @@ module Google
2248
2256
  end
2249
2257
  end
2250
2258
 
2259
+ # Represents privacy policy associated with "differential privacy" method.
2260
+ class DifferentialPrivacyPolicy
2261
+ include Google::Apis::Core::Hashable
2262
+
2263
+ # Optional. The total delta budget for all queries against the privacy-protected
2264
+ # view. Each subscriber query against this view charges the amount of delta that
2265
+ # is pre-defined by the contributor through the privacy policy delta_per_query
2266
+ # field. If there is sufficient budget, then the subscriber query attempts to
2267
+ # complete. It might still fail due to other reasons, in which case the charge
2268
+ # is refunded. If there is insufficient budget the query is rejected. There
2269
+ # might be multiple charge attempts if a single query references multiple views.
2270
+ # In this case there must be sufficient budget for all charges or the query is
2271
+ # rejected and charges are refunded in best effort. The budget does not have a
2272
+ # refresh policy and can only be updated via ALTER VIEW or circumvented by
2273
+ # creating a new view that can be queried with a fresh budget.
2274
+ # Corresponds to the JSON property `deltaBudget`
2275
+ # @return [Float]
2276
+ attr_accessor :delta_budget
2277
+
2278
+ # Optional. The delta value that is used per query. Delta represents the
2279
+ # probability that any row will fail to be epsilon differentially private.
2280
+ # Indicates the risk associated with exposing aggregate rows in the result of a
2281
+ # query.
2282
+ # Corresponds to the JSON property `deltaPerQuery`
2283
+ # @return [Float]
2284
+ attr_accessor :delta_per_query
2285
+
2286
+ # Optional. The total epsilon budget for all queries against the privacy-
2287
+ # protected view. Each subscriber query against this view charges the amount of
2288
+ # epsilon they request in their query. If there is sufficient budget, then the
2289
+ # subscriber query attempts to complete. It might still fail due to other
2290
+ # reasons, in which case the charge is refunded. If there is insufficient budget
2291
+ # the query is rejected. There might be multiple charge attempts if a single
2292
+ # query references multiple views. In this case there must be sufficient budget
2293
+ # for all charges or the query is rejected and charges are refunded in best
2294
+ # effort. The budget does not have a refresh policy and can only be updated via
2295
+ # ALTER VIEW or circumvented by creating a new view that can be queried with a
2296
+ # fresh budget.
2297
+ # Corresponds to the JSON property `epsilonBudget`
2298
+ # @return [Float]
2299
+ attr_accessor :epsilon_budget
2300
+
2301
+ # Optional. The maximum epsilon value that a query can consume. If the
2302
+ # subscriber specifies epsilon as a parameter in a SELECT query, it must be less
2303
+ # than or equal to this value. The epsilon parameter controls the amount of
2304
+ # noise that is added to the groups — a higher epsilon means less noise.
2305
+ # Corresponds to the JSON property `maxEpsilonPerQuery`
2306
+ # @return [Float]
2307
+ attr_accessor :max_epsilon_per_query
2308
+
2309
+ # Optional. The maximum groups contributed value that is used per query.
2310
+ # Represents the maximum number of groups to which each protected entity can
2311
+ # contribute. Changing this value does not improve or worsen privacy. The best
2312
+ # value for accuracy and utility depends on the query and data.
2313
+ # Corresponds to the JSON property `maxGroupsContributed`
2314
+ # @return [Fixnum]
2315
+ attr_accessor :max_groups_contributed
2316
+
2317
+ # Optional. The privacy unit column associated with this policy. Differential
2318
+ # privacy policies can only have one privacy unit column per data source object (
2319
+ # table, view).
2320
+ # Corresponds to the JSON property `privacyUnitColumn`
2321
+ # @return [String]
2322
+ attr_accessor :privacy_unit_column
2323
+
2324
+ def initialize(**args)
2325
+ update!(**args)
2326
+ end
2327
+
2328
+ # Update properties of this object
2329
+ def update!(**args)
2330
+ @delta_budget = args[:delta_budget] if args.key?(:delta_budget)
2331
+ @delta_per_query = args[:delta_per_query] if args.key?(:delta_per_query)
2332
+ @epsilon_budget = args[:epsilon_budget] if args.key?(:epsilon_budget)
2333
+ @max_epsilon_per_query = args[:max_epsilon_per_query] if args.key?(:max_epsilon_per_query)
2334
+ @max_groups_contributed = args[:max_groups_contributed] if args.key?(:max_groups_contributed)
2335
+ @privacy_unit_column = args[:privacy_unit_column] if args.key?(:privacy_unit_column)
2336
+ end
2337
+ end
2338
+
2251
2339
  # Model evaluation metrics for dimensionality reduction models.
2252
2340
  class DimensionalityReductionMetrics
2253
2341
  include Google::Apis::Core::Hashable
@@ -2846,6 +2934,73 @@ module Google
2846
2934
  end
2847
2935
  end
2848
2936
 
2937
+ # Options defining open source compatible datasets living in the BigQuery
2938
+ # catalog. Contains metadata of open source database, schema or namespace
2939
+ # represented by the current dataset.
2940
+ class ExternalCatalogDatasetOptions
2941
+ include Google::Apis::Core::Hashable
2942
+
2943
+ # Optional. The storage location URI for all tables in the dataset. Equivalent
2944
+ # to hive metastore's database locationUri. Maximum length of 1024 characters.
2945
+ # Corresponds to the JSON property `defaultStorageLocationUri`
2946
+ # @return [String]
2947
+ attr_accessor :default_storage_location_uri
2948
+
2949
+ # Optional. A map of key value pairs defining the parameters and properties of
2950
+ # the open source schema. Maximum size of 2Mib.
2951
+ # Corresponds to the JSON property `parameters`
2952
+ # @return [Hash<String,String>]
2953
+ attr_accessor :parameters
2954
+
2955
+ def initialize(**args)
2956
+ update!(**args)
2957
+ end
2958
+
2959
+ # Update properties of this object
2960
+ def update!(**args)
2961
+ @default_storage_location_uri = args[:default_storage_location_uri] if args.key?(:default_storage_location_uri)
2962
+ @parameters = args[:parameters] if args.key?(:parameters)
2963
+ end
2964
+ end
2965
+
2966
+ # Metadata about open source compatible table. The fields contained in these
2967
+ # options correspond to hive metastore's table level properties.
2968
+ class ExternalCatalogTableOptions
2969
+ include Google::Apis::Core::Hashable
2970
+
2971
+ # Optional. The connection specifying the credentials to be used to read
2972
+ # external storage, such as Azure Blob, Cloud Storage, or S3. The connection is
2973
+ # needed to read the open source table from BigQuery Engine. The connection_id
2974
+ # can have the form `..` or `projects//locations//connections/`.
2975
+ # Corresponds to the JSON property `connectionId`
2976
+ # @return [String]
2977
+ attr_accessor :connection_id
2978
+
2979
+ # Optional. A map of key value pairs defining the parameters and properties of
2980
+ # the open source table. Corresponds with hive meta store table parameters.
2981
+ # Maximum size of 4Mib.
2982
+ # Corresponds to the JSON property `parameters`
2983
+ # @return [Hash<String,String>]
2984
+ attr_accessor :parameters
2985
+
2986
+ # Contains information about how a table's data is stored and accessed by open
2987
+ # source query engines.
2988
+ # Corresponds to the JSON property `storageDescriptor`
2989
+ # @return [Google::Apis::BigqueryV2::StorageDescriptor]
2990
+ attr_accessor :storage_descriptor
2991
+
2992
+ def initialize(**args)
2993
+ update!(**args)
2994
+ end
2995
+
2996
+ # Update properties of this object
2997
+ def update!(**args)
2998
+ @connection_id = args[:connection_id] if args.key?(:connection_id)
2999
+ @parameters = args[:parameters] if args.key?(:parameters)
3000
+ @storage_descriptor = args[:storage_descriptor] if args.key?(:storage_descriptor)
3001
+ end
3002
+ end
3003
+
2849
3004
  #
2850
3005
  class ExternalDataConfiguration
2851
3006
  include Google::Apis::Core::Hashable
@@ -5829,6 +5984,36 @@ module Google
5829
5984
  end
5830
5985
  end
5831
5986
 
5987
+ # Represents privacy policy associated with "join restrictions". Join
5988
+ # restriction gives data providers the ability to enforce joins on the '
5989
+ # join_allowed_columns' when data is queried from a privacy protected view.
5990
+ class JoinRestrictionPolicy
5991
+ include Google::Apis::Core::Hashable
5992
+
5993
+ # Optional. The only columns that joins are allowed on. This field is must be
5994
+ # specified for join_conditions JOIN_ANY and JOIN_ALL and it cannot be set for
5995
+ # JOIN_BLOCKED.
5996
+ # Corresponds to the JSON property `joinAllowedColumns`
5997
+ # @return [Array<String>]
5998
+ attr_accessor :join_allowed_columns
5999
+
6000
+ # Optional. Specifies if a join is required or not on queries for the view.
6001
+ # Default is JOIN_CONDITION_UNSPECIFIED.
6002
+ # Corresponds to the JSON property `joinCondition`
6003
+ # @return [String]
6004
+ attr_accessor :join_condition
6005
+
6006
+ def initialize(**args)
6007
+ update!(**args)
6008
+ end
6009
+
6010
+ # Update properties of this object
6011
+ def update!(**args)
6012
+ @join_allowed_columns = args[:join_allowed_columns] if args.key?(:join_allowed_columns)
6013
+ @join_condition = args[:join_condition] if args.key?(:join_condition)
6014
+ end
6015
+ end
6016
+
5832
6017
  # Json Options for load and make external tables.
5833
6018
  class JsonOptions
5834
6019
  include Google::Apis::Core::Hashable
@@ -6595,6 +6780,25 @@ module Google
6595
6780
  end
6596
6781
  end
6597
6782
 
6783
+ # Partition skew detailed information.
6784
+ class PartitionSkew
6785
+ include Google::Apis::Core::Hashable
6786
+
6787
+ # Output only. Source stages which produce skewed data.
6788
+ # Corresponds to the JSON property `skewSources`
6789
+ # @return [Array<Google::Apis::BigqueryV2::SkewSource>]
6790
+ attr_accessor :skew_sources
6791
+
6792
+ def initialize(**args)
6793
+ update!(**args)
6794
+ end
6795
+
6796
+ # Update properties of this object
6797
+ def update!(**args)
6798
+ @skew_sources = args[:skew_sources] if args.key?(:skew_sources)
6799
+ end
6800
+ end
6801
+
6598
6802
  # The partitioning column information.
6599
6803
  class PartitionedColumn
6600
6804
  include Google::Apis::Core::Hashable
@@ -6815,6 +7019,18 @@ module Google
6815
7019
  # @return [Google::Apis::BigqueryV2::AggregationThresholdPolicy]
6816
7020
  attr_accessor :aggregation_threshold_policy
6817
7021
 
7022
+ # Represents privacy policy associated with "differential privacy" method.
7023
+ # Corresponds to the JSON property `differentialPrivacyPolicy`
7024
+ # @return [Google::Apis::BigqueryV2::DifferentialPrivacyPolicy]
7025
+ attr_accessor :differential_privacy_policy
7026
+
7027
+ # Represents privacy policy associated with "join restrictions". Join
7028
+ # restriction gives data providers the ability to enforce joins on the '
7029
+ # join_allowed_columns' when data is queried from a privacy protected view.
7030
+ # Corresponds to the JSON property `joinRestrictionPolicy`
7031
+ # @return [Google::Apis::BigqueryV2::JoinRestrictionPolicy]
7032
+ attr_accessor :join_restriction_policy
7033
+
6818
7034
  def initialize(**args)
6819
7035
  update!(**args)
6820
7036
  end
@@ -6822,6 +7038,8 @@ module Google
6822
7038
  # Update properties of this object
6823
7039
  def update!(**args)
6824
7040
  @aggregation_threshold_policy = args[:aggregation_threshold_policy] if args.key?(:aggregation_threshold_policy)
7041
+ @differential_privacy_policy = args[:differential_privacy_policy] if args.key?(:differential_privacy_policy)
7042
+ @join_restriction_policy = args[:join_restriction_policy] if args.key?(:join_restriction_policy)
6825
7043
  end
6826
7044
  end
6827
7045
 
@@ -8203,6 +8421,41 @@ module Google
8203
8421
  end
8204
8422
  end
8205
8423
 
8424
+ # Serializer and deserializer information.
8425
+ class SerDeInfo
8426
+ include Google::Apis::Core::Hashable
8427
+
8428
+ # Optional. Name of the SerDe. The maximum length is 256 characters.
8429
+ # Corresponds to the JSON property `name`
8430
+ # @return [String]
8431
+ attr_accessor :name
8432
+
8433
+ # Optional. Key-value pairs that define the initialization parameters for the
8434
+ # serialization library. Maximum size 10 Kib.
8435
+ # Corresponds to the JSON property `parameters`
8436
+ # @return [Hash<String,String>]
8437
+ attr_accessor :parameters
8438
+
8439
+ # Required. Specifies a fully-qualified class name of the serialization library
8440
+ # that is responsible for the translation of data between table representation
8441
+ # and the underlying low-level input and output format structures. The maximum
8442
+ # length is 256 characters.
8443
+ # Corresponds to the JSON property `serializationLibrary`
8444
+ # @return [String]
8445
+ attr_accessor :serialization_library
8446
+
8447
+ def initialize(**args)
8448
+ update!(**args)
8449
+ end
8450
+
8451
+ # Update properties of this object
8452
+ def update!(**args)
8453
+ @name = args[:name] if args.key?(:name)
8454
+ @parameters = args[:parameters] if args.key?(:parameters)
8455
+ @serialization_library = args[:serialization_library] if args.key?(:serialization_library)
8456
+ end
8457
+ end
8458
+
8206
8459
  # [Preview] Information related to sessions.
8207
8460
  class SessionInfo
8208
8461
  include Google::Apis::Core::Hashable
@@ -8275,6 +8528,25 @@ module Google
8275
8528
  end
8276
8529
  end
8277
8530
 
8531
+ # Details about source stages which produce skewed data.
8532
+ class SkewSource
8533
+ include Google::Apis::Core::Hashable
8534
+
8535
+ # Output only. Stage id of the skew source stage.
8536
+ # Corresponds to the JSON property `stageId`
8537
+ # @return [Fixnum]
8538
+ attr_accessor :stage_id
8539
+
8540
+ def initialize(**args)
8541
+ update!(**args)
8542
+ end
8543
+
8544
+ # Update properties of this object
8545
+ def update!(**args)
8546
+ @stage_id = args[:stage_id] if args.key?(:stage_id)
8547
+ end
8548
+ end
8549
+
8278
8550
  # Information about base table and snapshot time of the snapshot.
8279
8551
  class SnapshotDefinition
8280
8552
  include Google::Apis::Core::Hashable
@@ -8528,6 +8800,11 @@ module Google
8528
8800
  attr_accessor :insufficient_shuffle_quota
8529
8801
  alias_method :insufficient_shuffle_quota?, :insufficient_shuffle_quota
8530
8802
 
8803
+ # Partition skew detailed information.
8804
+ # Corresponds to the JSON property `partitionSkew`
8805
+ # @return [Google::Apis::BigqueryV2::PartitionSkew]
8806
+ attr_accessor :partition_skew
8807
+
8531
8808
  # Output only. True if the stage has a slot contention issue.
8532
8809
  # Corresponds to the JSON property `slotContention`
8533
8810
  # @return [Boolean]
@@ -8548,6 +8825,7 @@ module Google
8548
8825
  @bi_engine_reasons = args[:bi_engine_reasons] if args.key?(:bi_engine_reasons)
8549
8826
  @high_cardinality_joins = args[:high_cardinality_joins] if args.key?(:high_cardinality_joins)
8550
8827
  @insufficient_shuffle_quota = args[:insufficient_shuffle_quota] if args.key?(:insufficient_shuffle_quota)
8828
+ @partition_skew = args[:partition_skew] if args.key?(:partition_skew)
8551
8829
  @slot_contention = args[:slot_contention] if args.key?(:slot_contention)
8552
8830
  @stage_id = args[:stage_id] if args.key?(:stage_id)
8553
8831
  end
@@ -8674,6 +8952,50 @@ module Google
8674
8952
  end
8675
8953
  end
8676
8954
 
8955
+ # Contains information about how a table's data is stored and accessed by open
8956
+ # source query engines.
8957
+ class StorageDescriptor
8958
+ include Google::Apis::Core::Hashable
8959
+
8960
+ # Optional. Specifies the fully qualified class name of the InputFormat (e.g. "
8961
+ # org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"). The maximum length is 128
8962
+ # characters.
8963
+ # Corresponds to the JSON property `inputFormat`
8964
+ # @return [String]
8965
+ attr_accessor :input_format
8966
+
8967
+ # Optional. The physical location of the table (e.g. 'gs://spark-dataproc-data/
8968
+ # pangea-data/case_sensitive/' or 'gs://spark-dataproc-data/pangea-data/*'). The
8969
+ # maximum length is 2056 bytes.
8970
+ # Corresponds to the JSON property `locationUri`
8971
+ # @return [String]
8972
+ attr_accessor :location_uri
8973
+
8974
+ # Optional. Specifies the fully qualified class name of the OutputFormat (e.g. "
8975
+ # org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat"). The maximum length is 128
8976
+ # characters.
8977
+ # Corresponds to the JSON property `outputFormat`
8978
+ # @return [String]
8979
+ attr_accessor :output_format
8980
+
8981
+ # Serializer and deserializer information.
8982
+ # Corresponds to the JSON property `serdeInfo`
8983
+ # @return [Google::Apis::BigqueryV2::SerDeInfo]
8984
+ attr_accessor :serde_info
8985
+
8986
+ def initialize(**args)
8987
+ update!(**args)
8988
+ end
8989
+
8990
+ # Update properties of this object
8991
+ def update!(**args)
8992
+ @input_format = args[:input_format] if args.key?(:input_format)
8993
+ @location_uri = args[:location_uri] if args.key?(:location_uri)
8994
+ @output_format = args[:output_format] if args.key?(:output_format)
8995
+ @serde_info = args[:serde_info] if args.key?(:serde_info)
8996
+ end
8997
+ end
8998
+
8677
8999
  #
8678
9000
  class Streamingbuffer
8679
9001
  include Google::Apis::Core::Hashable
@@ -8821,6 +9143,12 @@ module Google
8821
9143
  # @return [Fixnum]
8822
9144
  attr_accessor :expiration_time
8823
9145
 
9146
+ # Metadata about open source compatible table. The fields contained in these
9147
+ # options correspond to hive metastore's table level properties.
9148
+ # Corresponds to the JSON property `externalCatalogTableOptions`
9149
+ # @return [Google::Apis::BigqueryV2::ExternalCatalogTableOptions]
9150
+ attr_accessor :external_catalog_table_options
9151
+
8824
9152
  # Optional. Describes the data format, location, and other properties of a table
8825
9153
  # stored outside of BigQuery. By defining these properties, the data source can
8826
9154
  # then be queried as if it were a standard BigQuery table.
@@ -9069,6 +9397,7 @@ module Google
9069
9397
  @encryption_configuration = args[:encryption_configuration] if args.key?(:encryption_configuration)
9070
9398
  @etag = args[:etag] if args.key?(:etag)
9071
9399
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
9400
+ @external_catalog_table_options = args[:external_catalog_table_options] if args.key?(:external_catalog_table_options)
9072
9401
  @external_data_configuration = args[:external_data_configuration] if args.key?(:external_data_configuration)
9073
9402
  @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
9074
9403
  @id = args[:id] if args.key?(:id)
@@ -10778,8 +11107,8 @@ module Google
10778
11107
  class UndeleteDatasetRequest
10779
11108
  include Google::Apis::Core::Hashable
10780
11109
 
10781
- # Optional. The exact time when the dataset was deleted. If not specified, it
10782
- # will undelete the most recently deleted version.
11110
+ # Optional. The exact time when the dataset was deleted. If not specified, the
11111
+ # most recently deleted version is undeleted.
10783
11112
  # Corresponds to the JSON property `deletionTime`
10784
11113
  # @return [String]
10785
11114
  attr_accessor :deletion_time
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BigqueryV2
18
18
  # Version of the google-apis-bigquery_v2 gem
19
- GEM_VERSION = "0.66.0"
19
+ GEM_VERSION = "0.67.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240229"
25
+ REVISION = "20240323"
26
26
  end
27
27
  end
28
28
  end
@@ -304,6 +304,12 @@ module Google
304
304
  include Google::Apis::Core::JsonObjectSupport
305
305
  end
306
306
 
307
+ class DifferentialPrivacyPolicy
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
307
313
  class DimensionalityReductionMetrics
308
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
315
 
@@ -388,6 +394,18 @@ module Google
388
394
  include Google::Apis::Core::JsonObjectSupport
389
395
  end
390
396
 
397
+ class ExternalCatalogDatasetOptions
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class ExternalCatalogTableOptions
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
391
409
  class ExternalDataConfiguration
392
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
411
 
@@ -634,6 +652,12 @@ module Google
634
652
  include Google::Apis::Core::JsonObjectSupport
635
653
  end
636
654
 
655
+ class JoinRestrictionPolicy
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
637
661
  class JsonOptions
638
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
639
663
 
@@ -760,6 +784,12 @@ module Google
760
784
  include Google::Apis::Core::JsonObjectSupport
761
785
  end
762
786
 
787
+ class PartitionSkew
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
763
793
  class PartitionedColumn
764
794
  class Representation < Google::Apis::Core::JsonRepresentation; end
765
795
 
@@ -964,6 +994,12 @@ module Google
964
994
  include Google::Apis::Core::JsonObjectSupport
965
995
  end
966
996
 
997
+ class SerDeInfo
998
+ class Representation < Google::Apis::Core::JsonRepresentation; end
999
+
1000
+ include Google::Apis::Core::JsonObjectSupport
1001
+ end
1002
+
967
1003
  class SessionInfo
968
1004
  class Representation < Google::Apis::Core::JsonRepresentation; end
969
1005
 
@@ -976,6 +1012,12 @@ module Google
976
1012
  include Google::Apis::Core::JsonObjectSupport
977
1013
  end
978
1014
 
1015
+ class SkewSource
1016
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1017
+
1018
+ include Google::Apis::Core::JsonObjectSupport
1019
+ end
1020
+
979
1021
  class SnapshotDefinition
980
1022
  class Representation < Google::Apis::Core::JsonRepresentation; end
981
1023
 
@@ -1036,6 +1078,12 @@ module Google
1036
1078
  include Google::Apis::Core::JsonObjectSupport
1037
1079
  end
1038
1080
 
1081
+ class StorageDescriptor
1082
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1083
+
1084
+ include Google::Apis::Core::JsonObjectSupport
1085
+ end
1086
+
1039
1087
  class Streamingbuffer
1040
1088
  class Representation < Google::Apis::Core::JsonRepresentation; end
1041
1089
 
@@ -1690,6 +1738,8 @@ module Google
1690
1738
  property :default_table_expiration_ms, :numeric_string => true, as: 'defaultTableExpirationMs'
1691
1739
  property :description, as: 'description'
1692
1740
  property :etag, as: 'etag'
1741
+ property :external_catalog_dataset_options, as: 'externalCatalogDatasetOptions', class: Google::Apis::BigqueryV2::ExternalCatalogDatasetOptions, decorator: Google::Apis::BigqueryV2::ExternalCatalogDatasetOptions::Representation
1742
+
1693
1743
  property :external_dataset_reference, as: 'externalDatasetReference', class: Google::Apis::BigqueryV2::ExternalDatasetReference, decorator: Google::Apis::BigqueryV2::ExternalDatasetReference::Representation
1694
1744
 
1695
1745
  property :friendly_name, as: 'friendlyName'
@@ -1793,6 +1843,18 @@ module Google
1793
1843
  end
1794
1844
  end
1795
1845
 
1846
+ class DifferentialPrivacyPolicy
1847
+ # @private
1848
+ class Representation < Google::Apis::Core::JsonRepresentation
1849
+ property :delta_budget, as: 'deltaBudget'
1850
+ property :delta_per_query, as: 'deltaPerQuery'
1851
+ property :epsilon_budget, as: 'epsilonBudget'
1852
+ property :max_epsilon_per_query, as: 'maxEpsilonPerQuery'
1853
+ property :max_groups_contributed, :numeric_string => true, as: 'maxGroupsContributed'
1854
+ property :privacy_unit_column, as: 'privacyUnitColumn'
1855
+ end
1856
+ end
1857
+
1796
1858
  class DimensionalityReductionMetrics
1797
1859
  # @private
1798
1860
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1951,6 +2013,24 @@ module Google
1951
2013
  end
1952
2014
  end
1953
2015
 
2016
+ class ExternalCatalogDatasetOptions
2017
+ # @private
2018
+ class Representation < Google::Apis::Core::JsonRepresentation
2019
+ property :default_storage_location_uri, as: 'defaultStorageLocationUri'
2020
+ hash :parameters, as: 'parameters'
2021
+ end
2022
+ end
2023
+
2024
+ class ExternalCatalogTableOptions
2025
+ # @private
2026
+ class Representation < Google::Apis::Core::JsonRepresentation
2027
+ property :connection_id, as: 'connectionId'
2028
+ hash :parameters, as: 'parameters'
2029
+ property :storage_descriptor, as: 'storageDescriptor', class: Google::Apis::BigqueryV2::StorageDescriptor, decorator: Google::Apis::BigqueryV2::StorageDescriptor::Representation
2030
+
2031
+ end
2032
+ end
2033
+
1954
2034
  class ExternalDataConfiguration
1955
2035
  # @private
1956
2036
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2647,6 +2727,14 @@ module Google
2647
2727
  end
2648
2728
  end
2649
2729
 
2730
+ class JoinRestrictionPolicy
2731
+ # @private
2732
+ class Representation < Google::Apis::Core::JsonRepresentation
2733
+ collection :join_allowed_columns, as: 'joinAllowedColumns'
2734
+ property :join_condition, as: 'joinCondition'
2735
+ end
2736
+ end
2737
+
2650
2738
  class JsonOptions
2651
2739
  # @private
2652
2740
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2865,6 +2953,14 @@ module Google
2865
2953
  end
2866
2954
  end
2867
2955
 
2956
+ class PartitionSkew
2957
+ # @private
2958
+ class Representation < Google::Apis::Core::JsonRepresentation
2959
+ collection :skew_sources, as: 'skewSources', class: Google::Apis::BigqueryV2::SkewSource, decorator: Google::Apis::BigqueryV2::SkewSource::Representation
2960
+
2961
+ end
2962
+ end
2963
+
2868
2964
  class PartitionedColumn
2869
2965
  # @private
2870
2966
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2918,6 +3014,10 @@ module Google
2918
3014
  class Representation < Google::Apis::Core::JsonRepresentation
2919
3015
  property :aggregation_threshold_policy, as: 'aggregationThresholdPolicy', class: Google::Apis::BigqueryV2::AggregationThresholdPolicy, decorator: Google::Apis::BigqueryV2::AggregationThresholdPolicy::Representation
2920
3016
 
3017
+ property :differential_privacy_policy, as: 'differentialPrivacyPolicy', class: Google::Apis::BigqueryV2::DifferentialPrivacyPolicy, decorator: Google::Apis::BigqueryV2::DifferentialPrivacyPolicy::Representation
3018
+
3019
+ property :join_restriction_policy, as: 'joinRestrictionPolicy', class: Google::Apis::BigqueryV2::JoinRestrictionPolicy, decorator: Google::Apis::BigqueryV2::JoinRestrictionPolicy::Representation
3020
+
2921
3021
  end
2922
3022
  end
2923
3023
 
@@ -3263,6 +3363,15 @@ module Google
3263
3363
  end
3264
3364
  end
3265
3365
 
3366
+ class SerDeInfo
3367
+ # @private
3368
+ class Representation < Google::Apis::Core::JsonRepresentation
3369
+ property :name, as: 'name'
3370
+ hash :parameters, as: 'parameters'
3371
+ property :serialization_library, as: 'serializationLibrary'
3372
+ end
3373
+ end
3374
+
3266
3375
  class SessionInfo
3267
3376
  # @private
3268
3377
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3279,6 +3388,13 @@ module Google
3279
3388
  end
3280
3389
  end
3281
3390
 
3391
+ class SkewSource
3392
+ # @private
3393
+ class Representation < Google::Apis::Core::JsonRepresentation
3394
+ property :stage_id, :numeric_string => true, as: 'stageId'
3395
+ end
3396
+ end
3397
+
3282
3398
  class SnapshotDefinition
3283
3399
  # @private
3284
3400
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3343,6 +3459,8 @@ module Google
3343
3459
  collection :high_cardinality_joins, as: 'highCardinalityJoins', class: Google::Apis::BigqueryV2::HighCardinalityJoin, decorator: Google::Apis::BigqueryV2::HighCardinalityJoin::Representation
3344
3460
 
3345
3461
  property :insufficient_shuffle_quota, as: 'insufficientShuffleQuota'
3462
+ property :partition_skew, as: 'partitionSkew', class: Google::Apis::BigqueryV2::PartitionSkew, decorator: Google::Apis::BigqueryV2::PartitionSkew::Representation
3463
+
3346
3464
  property :slot_contention, as: 'slotContention'
3347
3465
  property :stage_id, :numeric_string => true, as: 'stageId'
3348
3466
  end
@@ -3386,6 +3504,17 @@ module Google
3386
3504
  end
3387
3505
  end
3388
3506
 
3507
+ class StorageDescriptor
3508
+ # @private
3509
+ class Representation < Google::Apis::Core::JsonRepresentation
3510
+ property :input_format, as: 'inputFormat'
3511
+ property :location_uri, as: 'locationUri'
3512
+ property :output_format, as: 'outputFormat'
3513
+ property :serde_info, as: 'serdeInfo', class: Google::Apis::BigqueryV2::SerDeInfo, decorator: Google::Apis::BigqueryV2::SerDeInfo::Representation
3514
+
3515
+ end
3516
+ end
3517
+
3389
3518
  class Streamingbuffer
3390
3519
  # @private
3391
3520
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3428,6 +3557,8 @@ module Google
3428
3557
 
3429
3558
  property :etag, as: 'etag'
3430
3559
  property :expiration_time, :numeric_string => true, as: 'expirationTime'
3560
+ property :external_catalog_table_options, as: 'externalCatalogTableOptions', class: Google::Apis::BigqueryV2::ExternalCatalogTableOptions, decorator: Google::Apis::BigqueryV2::ExternalCatalogTableOptions::Representation
3561
+
3431
3562
  property :external_data_configuration, as: 'externalDataConfiguration', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation
3432
3563
 
3433
3564
  property :friendly_name, as: 'friendlyName'
@@ -946,6 +946,42 @@ module Google
946
946
  execute_or_queue_command(command, &block)
947
947
  end
948
948
 
949
+ # Gets the access control policy for a resource. Returns an empty policy if the
950
+ # resource exists and does not have a policy set.
951
+ # @param [String] resource
952
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
953
+ # names](https://cloud.google.com/apis/design/resource_names) for the
954
+ # appropriate value for this field.
955
+ # @param [Google::Apis::BigqueryV2::GetIamPolicyRequest] get_iam_policy_request_object
956
+ # @param [String] fields
957
+ # Selector specifying which fields to include in a partial response.
958
+ # @param [String] quota_user
959
+ # Available to use for quota purposes for server-side applications. Can be any
960
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
961
+ # @param [Google::Apis::RequestOptions] options
962
+ # Request-specific options
963
+ #
964
+ # @yield [result, err] Result & error if block supplied
965
+ # @yieldparam result [Google::Apis::BigqueryV2::Policy] parsed result object
966
+ # @yieldparam err [StandardError] error object if request failed
967
+ #
968
+ # @return [Google::Apis::BigqueryV2::Policy]
969
+ #
970
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
971
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
972
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
973
+ def get_routine_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
974
+ command = make_simple_command(:post, '{+resource}:getIamPolicy', options)
975
+ command.request_representation = Google::Apis::BigqueryV2::GetIamPolicyRequest::Representation
976
+ command.request_object = get_iam_policy_request_object
977
+ command.response_representation = Google::Apis::BigqueryV2::Policy::Representation
978
+ command.response_class = Google::Apis::BigqueryV2::Policy
979
+ command.params['resource'] = resource unless resource.nil?
980
+ command.query['fields'] = fields unless fields.nil?
981
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
982
+ execute_or_queue_command(command, &block)
983
+ end
984
+
949
985
  # Creates a new routine in the dataset.
950
986
  # @param [String] project_id
951
987
  # Required. Project ID of the new routine
@@ -1033,6 +1069,43 @@ module Google
1033
1069
  execute_or_queue_command(command, &block)
1034
1070
  end
1035
1071
 
1072
+ # Sets the access control policy on the specified resource. Replaces any
1073
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1074
+ # PERMISSION_DENIED` errors.
1075
+ # @param [String] resource
1076
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
1077
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1078
+ # appropriate value for this field.
1079
+ # @param [Google::Apis::BigqueryV2::SetIamPolicyRequest] set_iam_policy_request_object
1080
+ # @param [String] fields
1081
+ # Selector specifying which fields to include in a partial response.
1082
+ # @param [String] quota_user
1083
+ # Available to use for quota purposes for server-side applications. Can be any
1084
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1085
+ # @param [Google::Apis::RequestOptions] options
1086
+ # Request-specific options
1087
+ #
1088
+ # @yield [result, err] Result & error if block supplied
1089
+ # @yieldparam result [Google::Apis::BigqueryV2::Policy] parsed result object
1090
+ # @yieldparam err [StandardError] error object if request failed
1091
+ #
1092
+ # @return [Google::Apis::BigqueryV2::Policy]
1093
+ #
1094
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1095
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1096
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1097
+ def set_routine_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1098
+ command = make_simple_command(:post, '{+resource}:setIamPolicy', options)
1099
+ command.request_representation = Google::Apis::BigqueryV2::SetIamPolicyRequest::Representation
1100
+ command.request_object = set_iam_policy_request_object
1101
+ command.response_representation = Google::Apis::BigqueryV2::Policy::Representation
1102
+ command.response_class = Google::Apis::BigqueryV2::Policy
1103
+ command.params['resource'] = resource unless resource.nil?
1104
+ command.query['fields'] = fields unless fields.nil?
1105
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1106
+ execute_or_queue_command(command, &block)
1107
+ end
1108
+
1036
1109
  # Updates information in an existing routine. The update method replaces the
1037
1110
  # entire Routine resource.
1038
1111
  # @param [String] project_id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigquery_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.66.0
4
+ version: 0.67.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-10 00:00:00.000000000 Z
11
+ date: 2024-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.66.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.67.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2
63
63
  post_install_message:
64
64
  rdoc_options: []