google-apis-bigquery_v2 0.61.0 → 0.62.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: 749374b0e8eaf56745d43881ae520dc98592abc2a6b8e1cbff572c8c7d1f0cdc
4
- data.tar.gz: 7b653ecdd31efa37c795460450683bf13e86e5f89743c94bec5631149d464993
3
+ metadata.gz: c147544ceaeff2ae6c097b0fc08cf2c28343a76e670fa27cd25cba361a80d279
4
+ data.tar.gz: ac7079244bc70fa0b96ad031801cfad6f1662089788ef278a67137bf78ec7698
5
5
  SHA512:
6
- metadata.gz: 0e499ac1dd31e182d5fb918eb2b01169232168049bc625a717af31af75026ae993b244e86acb9e11da398204d47328b2d853f50e0bd15b709362ebe986a415b2
7
- data.tar.gz: 6650001e338ab0c54914a8227ba9ba2f6cd4644ccd59b00b6a220ac3da0b16fbd9939e039fec4bca357eee2b071115de6b2d4036cfb3f704a64fba69db774eae
6
+ metadata.gz: 95f4987f1d6e325a5457148f61415c945db2f4f24ff1a962e7ee0fc2d55772f2ee0a0933d783815e3e2c5f78d45b3ff4223de22c43451e4fa38f7d17bd628fcb
7
+ data.tar.gz: e8229d2f954c59b804697fcd92d9953618ba05f66cd7a7f2aa632d7017b45403e6c40f5c14cb56525e87cecb367c0d376a53163ecfb59cfc251485a6938c4c74
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.62.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240105
6
+ * Regenerated using generator version 0.13.0
7
+
3
8
  ### v0.61.0 (2023-11-19)
4
9
 
5
10
  * Regenerated from discovery document revision 20231111
@@ -1052,21 +1052,43 @@ module Google
1052
1052
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
1053
1053
  # email address that represents a Google group. For example, `admins@example.com`
1054
1054
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
1055
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
1056
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
1057
- # representing a user that has been recently deleted. For example, `alice@
1058
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
1059
- # reverts to `user:`emailid`` and the recovered user retains the role in the
1060
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
1061
- # (plus unique identifier) representing a service account that has been recently
1062
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
1055
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
1056
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
1057
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
1058
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
1059
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
1060
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
1061
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
1062
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
1063
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
1064
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
1065
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
1066
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
1067
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
1068
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
1069
+ # googleapis.com/projects/`project_number`/locations/global/
1070
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
1071
+ # All identities in a workload identity pool with a certain attribute. * `
1072
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
1073
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
1074
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
1075
+ # identifier) representing a user that has been recently deleted. For example, `
1076
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
1077
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
1078
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
1079
+ # address (plus unique identifier) representing a service account that has been
1080
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
1063
1081
  # 123456789012345678901`. If the service account is undeleted, this value
1064
1082
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
1065
1083
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
1066
1084
  # An email address (plus unique identifier) representing a Google group that has
1067
1085
  # been recently deleted. For example, `admins@example.com?uid=
1068
1086
  # 123456789012345678901`. If the group is recovered, this value reverts to `
1069
- # group:`emailid`` and the recovered group retains the role in the binding.
1087
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
1088
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
1089
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
1090
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
1091
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
1070
1092
  # Corresponds to the JSON property `members`
1071
1093
  # @return [Array<String>]
1072
1094
  attr_accessor :members
@@ -6124,6 +6146,11 @@ module Google
6124
6146
  # @return [Google::Apis::BigqueryV2::QueryParameterType]
6125
6147
  attr_accessor :array_type
6126
6148
 
6149
+ # [Optional] The element type of the range, if this is a range.
6150
+ # Corresponds to the JSON property `rangeElementType`
6151
+ # @return [Google::Apis::BigqueryV2::QueryParameterType]
6152
+ attr_accessor :range_element_type
6153
+
6127
6154
  # [Optional] The types of the fields of this struct, in order, if this is a
6128
6155
  # struct.
6129
6156
  # Corresponds to the JSON property `structTypes`
@@ -6142,6 +6169,7 @@ module Google
6142
6169
  # Update properties of this object
6143
6170
  def update!(**args)
6144
6171
  @array_type = args[:array_type] if args.key?(:array_type)
6172
+ @range_element_type = args[:range_element_type] if args.key?(:range_element_type)
6145
6173
  @struct_types = args[:struct_types] if args.key?(:struct_types)
6146
6174
  @type = args[:type] if args.key?(:type)
6147
6175
  end
@@ -6187,6 +6215,11 @@ module Google
6187
6215
  # @return [Array<Google::Apis::BigqueryV2::QueryParameterValue>]
6188
6216
  attr_accessor :array_values
6189
6217
 
6218
+ # [Optional] The range value, if this is a range type.
6219
+ # Corresponds to the JSON property `rangeValue`
6220
+ # @return [Google::Apis::BigqueryV2::QueryParameterValue::RangeValue]
6221
+ attr_accessor :range_value
6222
+
6190
6223
  # [Optional] The struct field values, in order of the struct type's declaration.
6191
6224
  # Corresponds to the JSON property `structValues`
6192
6225
  # @return [Hash<String,Google::Apis::BigqueryV2::QueryParameterValue>]
@@ -6204,9 +6237,35 @@ module Google
6204
6237
  # Update properties of this object
6205
6238
  def update!(**args)
6206
6239
  @array_values = args[:array_values] if args.key?(:array_values)
6240
+ @range_value = args[:range_value] if args.key?(:range_value)
6207
6241
  @struct_values = args[:struct_values] if args.key?(:struct_values)
6208
6242
  @value = args[:value] if args.key?(:value)
6209
6243
  end
6244
+
6245
+ # [Optional] The range value, if this is a range type.
6246
+ class RangeValue
6247
+ include Google::Apis::Core::Hashable
6248
+
6249
+ #
6250
+ # Corresponds to the JSON property `end`
6251
+ # @return [Google::Apis::BigqueryV2::QueryParameterValue]
6252
+ attr_accessor :end
6253
+
6254
+ #
6255
+ # Corresponds to the JSON property `start`
6256
+ # @return [Google::Apis::BigqueryV2::QueryParameterValue]
6257
+ attr_accessor :start
6258
+
6259
+ def initialize(**args)
6260
+ update!(**args)
6261
+ end
6262
+
6263
+ # Update properties of this object
6264
+ def update!(**args)
6265
+ @end = args[:end] if args.key?(:end)
6266
+ @start = args[:start] if args.key?(:start)
6267
+ end
6268
+ end
6210
6269
  end
6211
6270
 
6212
6271
  #
@@ -6632,6 +6691,33 @@ module Google
6632
6691
  end
6633
6692
  end
6634
6693
 
6694
+ # Represents the value of a range.
6695
+ class RangeValue
6696
+ include Google::Apis::Core::Hashable
6697
+
6698
+ # Optional. The end value of the range. A missing value represents an unbounded
6699
+ # end.
6700
+ # Corresponds to the JSON property `end`
6701
+ # @return [Google::Apis::BigqueryV2::QueryParameterValue]
6702
+ attr_accessor :end
6703
+
6704
+ # Optional. The start value of the range. A missing value represents an
6705
+ # unbounded start.
6706
+ # Corresponds to the JSON property `start`
6707
+ # @return [Google::Apis::BigqueryV2::QueryParameterValue]
6708
+ attr_accessor :start
6709
+
6710
+ def initialize(**args)
6711
+ update!(**args)
6712
+ end
6713
+
6714
+ # Update properties of this object
6715
+ def update!(**args)
6716
+ @end = args[:end] if args.key?(:end)
6717
+ @start = args[:start] if args.key?(:start)
6718
+ end
6719
+ end
6720
+
6635
6721
  # Evaluation metrics used by weighted-ALS models specified by feedback_type=
6636
6722
  # implicit.
6637
6723
  class RankingMetrics
@@ -6933,11 +7019,15 @@ module Google
6933
7019
  # @return [Google::Apis::BigqueryV2::SparkOptions]
6934
7020
  attr_accessor :spark_options
6935
7021
 
6936
- # Optional. Can be set for procedures only. If true (default), the definition
6937
- # body will be validated in the creation and the updates of the procedure. For
6938
- # procedures with an argument of ANY TYPE, the definition body validtion is not
6939
- # supported at creation/update time, and thus this field must be set to false
6940
- # explicitly.
7022
+ # Optional. Use this option to catch many common errors. Error checking is not
7023
+ # exhaustive, and successfully creating a procedure doesn't guarantee that the
7024
+ # procedure will successfully execute at runtime. If `strictMode` is set to `
7025
+ # TRUE`, the procedure body is further checked for errors such as non-existent
7026
+ # tables or columns. The `CREATE PROCEDURE` statement fails if the body fails
7027
+ # any of these checks. If `strictMode` is set to `FALSE`, the procedure body is
7028
+ # checked only for syntax. For procedures that invoke themselves recursively,
7029
+ # specify `strictMode=FALSE` to avoid non-existent procedure errors during
7030
+ # validation. Default value is `TRUE`.
6941
7031
  # Corresponds to the JSON property `strictMode`
6942
7032
  # @return [Boolean]
6943
7033
  attr_accessor :strict_mode
@@ -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.61.0"
19
+ GEM_VERSION = "0.62.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231111"
25
+ REVISION = "20240105"
26
26
  end
27
27
  end
28
28
  end
@@ -738,6 +738,12 @@ module Google
738
738
 
739
739
  class QueryParameterValue
740
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
741
+
742
+ class RangeValue
743
+ class Representation < Google::Apis::Core::JsonRepresentation; end
744
+
745
+ include Google::Apis::Core::JsonObjectSupport
746
+ end
741
747
 
742
748
  include Google::Apis::Core::JsonObjectSupport
743
749
  end
@@ -772,6 +778,12 @@ module Google
772
778
  include Google::Apis::Core::JsonObjectSupport
773
779
  end
774
780
 
781
+ class RangeValue
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
775
787
  class RankingMetrics
776
788
  class Representation < Google::Apis::Core::JsonRepresentation; end
777
789
 
@@ -2621,6 +2633,8 @@ module Google
2621
2633
  class Representation < Google::Apis::Core::JsonRepresentation
2622
2634
  property :array_type, as: 'arrayType', class: Google::Apis::BigqueryV2::QueryParameterType, decorator: Google::Apis::BigqueryV2::QueryParameterType::Representation
2623
2635
 
2636
+ property :range_element_type, as: 'rangeElementType', class: Google::Apis::BigqueryV2::QueryParameterType, decorator: Google::Apis::BigqueryV2::QueryParameterType::Representation
2637
+
2624
2638
  collection :struct_types, as: 'structTypes', class: Google::Apis::BigqueryV2::QueryParameterType::StructType, decorator: Google::Apis::BigqueryV2::QueryParameterType::StructType::Representation
2625
2639
 
2626
2640
  property :type, as: 'type'
@@ -2642,10 +2656,22 @@ module Google
2642
2656
  class Representation < Google::Apis::Core::JsonRepresentation
2643
2657
  collection :array_values, as: 'arrayValues', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
2644
2658
 
2659
+ property :range_value, as: 'rangeValue', class: Google::Apis::BigqueryV2::QueryParameterValue::RangeValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::RangeValue::Representation
2660
+
2645
2661
  hash :struct_values, as: 'structValues', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
2646
2662
 
2647
2663
  property :value, as: 'value'
2648
2664
  end
2665
+
2666
+ class RangeValue
2667
+ # @private
2668
+ class Representation < Google::Apis::Core::JsonRepresentation
2669
+ property :end, as: 'end', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
2670
+
2671
+ property :start, as: 'start', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
2672
+
2673
+ end
2674
+ end
2649
2675
  end
2650
2676
 
2651
2677
  class QueryRequest
@@ -2733,6 +2759,16 @@ module Google
2733
2759
  end
2734
2760
  end
2735
2761
 
2762
+ class RangeValue
2763
+ # @private
2764
+ class Representation < Google::Apis::Core::JsonRepresentation
2765
+ property :end, as: 'end', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
2766
+
2767
+ property :start, as: 'start', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
2768
+
2769
+ end
2770
+ end
2771
+
2736
2772
  class RankingMetrics
2737
2773
  # @private
2738
2774
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/bigquery/
34
34
  class BigqueryService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://bigquery.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -47,7 +49,7 @@ module Google
47
49
  attr_accessor :user_ip
48
50
 
49
51
  def initialize
50
- super('https://bigquery.googleapis.com/', 'bigquery/v2/',
52
+ super(DEFAULT_ENDPOINT_TEMPLATE, 'bigquery/v2/',
51
53
  client_name: 'google-apis-bigquery_v2',
52
54
  client_version: Google::Apis::BigqueryV2::GEM_VERSION)
53
55
  @batch_path = 'batch/bigquery/v2'
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.61.0
4
+ version: 0.62.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: 2023-11-19 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.61.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.62.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for BigQuery API V2