google-apis-bigquery_v2 0.75.0 → 0.76.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: acddc81a77096b0ae1f5ccbf71198b0a64111a352ba2155692f7d1ae1ba8063d
4
- data.tar.gz: 59dea40b84cab8e1427edda4bb397796bbc9f418dfddfb4d4066df7dc72fc89e
3
+ metadata.gz: a75dfa8d697ac62c036fc90ffa88c4e26c2b12cd3700fa957133d091abad5e5e
4
+ data.tar.gz: d1bf90517f518c7b58600596c42c27cf666af71b4bc684fe4794e878abf29d2c
5
5
  SHA512:
6
- metadata.gz: 980be8a1d5f3ea2380f5bcb2e7e4f271e212ce1ad04ca68ac010b6bef90dddd11d8e7fe38319552c5f36d1874d96e408eb4a8d92750587a3d10d0b0dee60454d
7
- data.tar.gz: 2c22579b584a02ecfbe1796b59601ac21055529b855ff3cbdf4dfd7aa8fc921b4d01c8a3723cb08a3b5db17e02b2a4ca4c78a442bccc7eec2fd5fa589780f7e9
6
+ metadata.gz: ea03fe75989bd6129c21fe50a8e55368530a328b72d11626cd72a077e5e1eaf506809dfdce22b8cc5321a58731455d5742ca2e9d4a45695679207d7dce51a655
7
+ data.tar.gz: 77db6fd56cd4833a0756cc2dc9e2345119d518149d418e7c90bdbd842f58864dc98faf2d045ce3b6a53303ef667bba99745c38e1b5767b3cfe657f333d759c1a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.76.0 (2024-08-18)
4
+
5
+ * Regenerated from discovery document revision 20240803
6
+
3
7
  ### v0.75.0 (2024-08-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20240727
@@ -1669,6 +1669,27 @@ module Google
1669
1669
  end
1670
1670
  end
1671
1671
 
1672
+ # Data policy option proto, it currently supports name only, will support
1673
+ # precedence later.
1674
+ class DataPolicyOption
1675
+ include Google::Apis::Core::Hashable
1676
+
1677
+ # Data policy resource name in the form of projects/project_id/locations/
1678
+ # location_id/dataPolicies/data_policy_id.
1679
+ # Corresponds to the JSON property `name`
1680
+ # @return [String]
1681
+ attr_accessor :name
1682
+
1683
+ def initialize(**args)
1684
+ update!(**args)
1685
+ end
1686
+
1687
+ # Update properties of this object
1688
+ def update!(**args)
1689
+ @name = args[:name] if args.key?(:name)
1690
+ end
1691
+ end
1692
+
1672
1693
  # Data split result. This contains references to the training and evaluation
1673
1694
  # data tables that were used to train the model.
1674
1695
  class DataSplitResult
@@ -3966,40 +3987,6 @@ module Google
3966
3987
  end
3967
3988
  end
3968
3989
 
3969
- # Metadata for value generation for an identity column.
3970
- class IdentityColumnInfo
3971
- include Google::Apis::Core::Hashable
3972
-
3973
- # Optional. Dictates when system generated values are used to populate the field.
3974
- # Corresponds to the JSON property `generatedMode`
3975
- # @return [String]
3976
- attr_accessor :generated_mode
3977
-
3978
- # Optional. The minimum difference between two successive generated values.
3979
- # Should be INTEGER compatible. Can be negative or positive but not 0. The
3980
- # default value is 1 if the field is not specified.
3981
- # Corresponds to the JSON property `increment`
3982
- # @return [String]
3983
- attr_accessor :increment
3984
-
3985
- # Optional. The first generated value. Should be INTEGER compatible. The default
3986
- # value is 1 if the field is not specified.
3987
- # Corresponds to the JSON property `start`
3988
- # @return [String]
3989
- attr_accessor :start
3990
-
3991
- def initialize(**args)
3992
- update!(**args)
3993
- end
3994
-
3995
- # Update properties of this object
3996
- def update!(**args)
3997
- @generated_mode = args[:generated_mode] if args.key?(:generated_mode)
3998
- @increment = args[:increment] if args.key?(:increment)
3999
- @start = args[:start] if args.key?(:start)
4000
- end
4001
- end
4002
-
4003
3990
  # Reason about why no search index was used in the search query (or sub-query).
4004
3991
  class IndexUnusedReason
4005
3992
  include Google::Apis::Core::Hashable
@@ -9975,6 +9962,11 @@ module Google
9975
9962
  # @return [String]
9976
9963
  attr_accessor :collation
9977
9964
 
9965
+ # Optional. Data policy options, will replace the data_policies.
9966
+ # Corresponds to the JSON property `dataPolicies`
9967
+ # @return [Array<Google::Apis::BigqueryV2::DataPolicyOption>]
9968
+ attr_accessor :data_policies
9969
+
9978
9970
  # Optional. A SQL expression to specify the [default value] (https://cloud.
9979
9971
  # google.com/bigquery/docs/default-values) for this field.
9980
9972
  # Corresponds to the JSON property `defaultValueExpression`
@@ -9998,11 +9990,6 @@ module Google
9998
9990
  # @return [String]
9999
9991
  attr_accessor :foreign_type_definition
10000
9992
 
10001
- # Metadata for value generation for an identity column.
10002
- # Corresponds to the JSON property `identityColumnInfo`
10003
- # @return [Google::Apis::BigqueryV2::IdentityColumnInfo]
10004
- attr_accessor :identity_column_info
10005
-
10006
9993
  # Optional. Maximum length of values of this field for STRINGS or BYTES. If
10007
9994
  # max_length is not specified, no maximum length constraint is imposed on this
10008
9995
  # field. If type = "STRING", then max_length represents the maximum UTF-8 length
@@ -10085,11 +10072,11 @@ module Google
10085
10072
  def update!(**args)
10086
10073
  @categories = args[:categories] if args.key?(:categories)
10087
10074
  @collation = args[:collation] if args.key?(:collation)
10075
+ @data_policies = args[:data_policies] if args.key?(:data_policies)
10088
10076
  @default_value_expression = args[:default_value_expression] if args.key?(:default_value_expression)
10089
10077
  @description = args[:description] if args.key?(:description)
10090
10078
  @fields = args[:fields] if args.key?(:fields)
10091
10079
  @foreign_type_definition = args[:foreign_type_definition] if args.key?(:foreign_type_definition)
10092
- @identity_column_info = args[:identity_column_info] if args.key?(:identity_column_info)
10093
10080
  @max_length = args[:max_length] if args.key?(:max_length)
10094
10081
  @mode = args[:mode] if args.key?(:mode)
10095
10082
  @name = args[:name] if args.key?(:name)
@@ -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.75.0"
19
+ GEM_VERSION = "0.76.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240727"
25
+ REVISION = "20240803"
26
26
  end
27
27
  end
28
28
  end
@@ -250,6 +250,12 @@ module Google
250
250
  include Google::Apis::Core::JsonObjectSupport
251
251
  end
252
252
 
253
+ class DataPolicyOption
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
253
259
  class DataSplitResult
254
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
261
 
@@ -502,12 +508,6 @@ module Google
502
508
  include Google::Apis::Core::JsonObjectSupport
503
509
  end
504
510
 
505
- class IdentityColumnInfo
506
- class Representation < Google::Apis::Core::JsonRepresentation; end
507
-
508
- include Google::Apis::Core::JsonObjectSupport
509
- end
510
-
511
511
  class IndexUnusedReason
512
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
513
 
@@ -1734,6 +1734,13 @@ module Google
1734
1734
  end
1735
1735
  end
1736
1736
 
1737
+ class DataPolicyOption
1738
+ # @private
1739
+ class Representation < Google::Apis::Core::JsonRepresentation
1740
+ property :name, as: 'name'
1741
+ end
1742
+ end
1743
+
1737
1744
  class DataSplitResult
1738
1745
  # @private
1739
1746
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2290,15 +2297,6 @@ module Google
2290
2297
  end
2291
2298
  end
2292
2299
 
2293
- class IdentityColumnInfo
2294
- # @private
2295
- class Representation < Google::Apis::Core::JsonRepresentation
2296
- property :generated_mode, as: 'generatedMode'
2297
- property :increment, as: 'increment'
2298
- property :start, as: 'start'
2299
- end
2300
- end
2301
-
2302
2300
  class IndexUnusedReason
2303
2301
  # @private
2304
2302
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3790,13 +3788,13 @@ module Google
3790
3788
  property :categories, as: 'categories', class: Google::Apis::BigqueryV2::TableFieldSchema::Categories, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Categories::Representation
3791
3789
 
3792
3790
  property :collation, as: 'collation'
3791
+ collection :data_policies, as: 'dataPolicies', class: Google::Apis::BigqueryV2::DataPolicyOption, decorator: Google::Apis::BigqueryV2::DataPolicyOption::Representation
3792
+
3793
3793
  property :default_value_expression, as: 'defaultValueExpression'
3794
3794
  property :description, as: 'description'
3795
3795
  collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::TableFieldSchema, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Representation
3796
3796
 
3797
3797
  property :foreign_type_definition, as: 'foreignTypeDefinition'
3798
- property :identity_column_info, as: 'identityColumnInfo', class: Google::Apis::BigqueryV2::IdentityColumnInfo, decorator: Google::Apis::BigqueryV2::IdentityColumnInfo::Representation
3799
-
3800
3798
  property :max_length, :numeric_string => true, as: 'maxLength'
3801
3799
  property :mode, as: 'mode'
3802
3800
  property :name, as: 'name'
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.75.0
4
+ version: 0.76.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-08-11 00:00:00.000000000 Z
11
+ date: 2024-08-18 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.75.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.76.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: []