google-apis-bigqueryreservation_v1 0.48.0 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 53e2399881ae26a4c565b8c146909a63a746805bbe01d6832cb9aa6b130e181c
4
- data.tar.gz: dd2566e1bd2f4572a78f3126c7d2de9107ad490dc79637ab1c749ac834c9dbaa
3
+ metadata.gz: 92fa0ed3015f0564ac8278eeb80eaf829422fcdab6c074afd7c77b530b0e6eca
4
+ data.tar.gz: c71cf42634035bf427ba1e11a5b6b9b30dd7f00f8f5bd7c14f0106618372513d
5
5
  SHA512:
6
- metadata.gz: 956fcd57afddfe627179884f7178c3bdfabf0f1e1e4167cd1eec09885f57150752e0cc3d1d10e72417857ac937a30dea61d05edf1ac62b53da93d4d913e88b49
7
- data.tar.gz: 7423a962bc9ac245b882f9b6a014356dbcdb880bd0021a09c1aceb13d88484517b8341c44319ac500acf00235fe6b734c62a52132f34e7c94296b6bd71353f91
6
+ metadata.gz: dc2e43ac377ed877a395d6e88d26d632972ec42a78e3c408780680284b448bc3a87b2d24e674c87d777d8aaae25e8bdd85717b190b792912c969d2b99a0fef1b
7
+ data.tar.gz: 5427e2ef8bb27f526db9eed56f29aa66fe9aa8565e2c8c64b925fb2b1af5e654d4a580389d689f05d24de11448f69db80ef06a0a4983893c44d8de77ecbf255d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-bigqueryreservation_v1
2
2
 
3
+ ### v0.50.0 (2026-01-18)
4
+
5
+ * Regenerated from discovery document revision 20260109
6
+
7
+ ### v0.49.0 (2025-10-26)
8
+
9
+ * Regenerated from discovery document revision 20251009
10
+
3
11
  ### v0.48.0 (2025-09-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20250907
@@ -33,13 +33,10 @@ module Google
33
33
  # @return [String]
34
34
  attr_accessor :assignee
35
35
 
36
- # Optional. This field controls if "Gemini in BigQuery" (https://cloud.google.
37
- # com/gemini/docs/bigquery/overview) features should be enabled for this
38
- # reservation assignment, which is not on by default. "Gemini in BigQuery" has a
39
- # distinct compliance posture from BigQuery. If this field is set to true, the
40
- # assignment job type is QUERY, and the parent reservation edition is
41
- # ENTERPRISE_PLUS, then the assignment will give the grantee project/
42
- # organization access to "Gemini in BigQuery" features.
36
+ # Optional. Deprecated: "Gemini in BigQuery" is now available by default for all
37
+ # BigQuery editions and should not be explicitly set. Controls if "Gemini in
38
+ # BigQuery" (https://cloud.google.com/gemini/docs/bigquery/overview) features
39
+ # should be enabled for this reservation assignment.
43
40
  # Corresponds to the JSON property `enableGeminiInBigquery`
44
41
  # @return [Boolean]
45
42
  attr_accessor :enable_gemini_in_bigquery
@@ -58,6 +55,11 @@ module Google
58
55
  # @return [String]
59
56
  attr_accessor :name
60
57
 
58
+ # The scheduling policy controls how a reservation's resources are distributed.
59
+ # Corresponds to the JSON property `schedulingPolicy`
60
+ # @return [Google::Apis::BigqueryreservationV1::SchedulingPolicy]
61
+ attr_accessor :scheduling_policy
62
+
61
63
  # Output only. State of the assignment.
62
64
  # Corresponds to the JSON property `state`
63
65
  # @return [String]
@@ -73,6 +75,7 @@ module Google
73
75
  @enable_gemini_in_bigquery = args[:enable_gemini_in_bigquery] if args.key?(:enable_gemini_in_bigquery)
74
76
  @job_type = args[:job_type] if args.key?(:job_type)
75
77
  @name = args[:name] if args.key?(:name)
78
+ @scheduling_policy = args[:scheduling_policy] if args.key?(:scheduling_policy)
76
79
  @state = args[:state] if args.key?(:state)
77
80
  end
78
81
  end
@@ -960,6 +963,11 @@ module Google
960
963
  # @return [String]
961
964
  attr_accessor :scaling_mode
962
965
 
966
+ # The scheduling policy controls how a reservation's resources are distributed.
967
+ # Corresponds to the JSON property `schedulingPolicy`
968
+ # @return [Google::Apis::BigqueryreservationV1::SchedulingPolicy]
969
+ attr_accessor :scheduling_policy
970
+
963
971
  # Optional. The current location of the reservation's secondary replica. This
964
972
  # field is only set for reservations using the managed disaster recovery feature.
965
973
  # Users can set this in create reservation calls to create a failover
@@ -1009,6 +1017,7 @@ module Google
1009
1017
  @replication_status = args[:replication_status] if args.key?(:replication_status)
1010
1018
  @reservation_group = args[:reservation_group] if args.key?(:reservation_group)
1011
1019
  @scaling_mode = args[:scaling_mode] if args.key?(:scaling_mode)
1020
+ @scheduling_policy = args[:scheduling_policy] if args.key?(:scheduling_policy)
1012
1021
  @secondary_location = args[:secondary_location] if args.key?(:secondary_location)
1013
1022
  @slot_capacity = args[:slot_capacity] if args.key?(:slot_capacity)
1014
1023
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -1037,6 +1046,35 @@ module Google
1037
1046
  end
1038
1047
  end
1039
1048
 
1049
+ # The scheduling policy controls how a reservation's resources are distributed.
1050
+ class SchedulingPolicy
1051
+ include Google::Apis::Core::Hashable
1052
+
1053
+ # Optional. If present and > 0, the reservation will attempt to limit the
1054
+ # concurrency of jobs running for any particular project within it to the given
1055
+ # value. This feature is not yet generally available.
1056
+ # Corresponds to the JSON property `concurrency`
1057
+ # @return [Fixnum]
1058
+ attr_accessor :concurrency
1059
+
1060
+ # Optional. If present and > 0, the reservation will attempt to limit the slot
1061
+ # consumption of queries running for any particular project within it to the
1062
+ # given value. This feature is not yet generally available.
1063
+ # Corresponds to the JSON property `maxSlots`
1064
+ # @return [Fixnum]
1065
+ attr_accessor :max_slots
1066
+
1067
+ def initialize(**args)
1068
+ update!(**args)
1069
+ end
1070
+
1071
+ # Update properties of this object
1072
+ def update!(**args)
1073
+ @concurrency = args[:concurrency] if args.key?(:concurrency)
1074
+ @max_slots = args[:max_slots] if args.key?(:max_slots)
1075
+ end
1076
+ end
1077
+
1040
1078
  # The response for ReservationService.SearchAllAssignments.
1041
1079
  class SearchAllAssignmentsResponse
1042
1080
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BigqueryreservationV1
18
18
  # Version of the google-apis-bigqueryreservation_v1 gem
19
- GEM_VERSION = "0.48.0"
19
+ GEM_VERSION = "0.50.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250907"
25
+ REVISION = "20260109"
26
26
  end
27
27
  end
28
28
  end
@@ -142,6 +142,12 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class SchedulingPolicy
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
145
151
  class SearchAllAssignmentsResponse
146
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
153
 
@@ -203,6 +209,8 @@ module Google
203
209
  property :enable_gemini_in_bigquery, as: 'enableGeminiInBigquery'
204
210
  property :job_type, as: 'jobType'
205
211
  property :name, as: 'name'
212
+ property :scheduling_policy, as: 'schedulingPolicy', class: Google::Apis::BigqueryreservationV1::SchedulingPolicy, decorator: Google::Apis::BigqueryreservationV1::SchedulingPolicy::Representation
213
+
206
214
  property :state, as: 'state'
207
215
  end
208
216
  end
@@ -388,6 +396,8 @@ module Google
388
396
 
389
397
  property :reservation_group, as: 'reservationGroup'
390
398
  property :scaling_mode, as: 'scalingMode'
399
+ property :scheduling_policy, as: 'schedulingPolicy', class: Google::Apis::BigqueryreservationV1::SchedulingPolicy, decorator: Google::Apis::BigqueryreservationV1::SchedulingPolicy::Representation
400
+
391
401
  property :secondary_location, as: 'secondaryLocation'
392
402
  property :slot_capacity, :numeric_string => true, as: 'slotCapacity'
393
403
  property :update_time, as: 'updateTime'
@@ -401,6 +411,14 @@ module Google
401
411
  end
402
412
  end
403
413
 
414
+ class SchedulingPolicy
415
+ # @private
416
+ class Representation < Google::Apis::Core::JsonRepresentation
417
+ property :concurrency, :numeric_string => true, as: 'concurrency'
418
+ property :max_slots, :numeric_string => true, as: 'maxSlots'
419
+ end
420
+ end
421
+
404
422
  class SearchAllAssignmentsResponse
405
423
  # @private
406
424
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigqueryreservation_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigqueryreservation_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.48.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.50.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigqueryreservation_v1
62
62
  rdoc_options: []
63
63
  require_paths: