google-apis-bigqueryreservation_v1 0.48.0 → 0.49.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f871b63e378d9105c8cadf6352a1f29e09a2a4ef54ca637a8bde381e1be44330
|
|
4
|
+
data.tar.gz: aa180bb75223bbc920d66e99ba4389627998f2f74b0f1d9b3ec7283423352afe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d6f7931562669a681b6da04eab5508a0f4b87a14fc0986e668d9475ce27c9f9f18b426e484a90dbbd3c75992fee90cdb80203812c552e783b294ce3026828542
|
|
7
|
+
data.tar.gz: c1c74a4938a6d17826f7c3dd9472b8ea1cc25a009c4008ecd75d900503ff8df8e1db09b59af6f6873ff9a33834afc6be3f9ec40c5d3e7f49bf7c7aca14d6a895
|
data/CHANGELOG.md
CHANGED
|
@@ -58,6 +58,11 @@ module Google
|
|
|
58
58
|
# @return [String]
|
|
59
59
|
attr_accessor :name
|
|
60
60
|
|
|
61
|
+
# The scheduling policy controls how a reservation's resources are distributed.
|
|
62
|
+
# Corresponds to the JSON property `schedulingPolicy`
|
|
63
|
+
# @return [Google::Apis::BigqueryreservationV1::SchedulingPolicy]
|
|
64
|
+
attr_accessor :scheduling_policy
|
|
65
|
+
|
|
61
66
|
# Output only. State of the assignment.
|
|
62
67
|
# Corresponds to the JSON property `state`
|
|
63
68
|
# @return [String]
|
|
@@ -73,6 +78,7 @@ module Google
|
|
|
73
78
|
@enable_gemini_in_bigquery = args[:enable_gemini_in_bigquery] if args.key?(:enable_gemini_in_bigquery)
|
|
74
79
|
@job_type = args[:job_type] if args.key?(:job_type)
|
|
75
80
|
@name = args[:name] if args.key?(:name)
|
|
81
|
+
@scheduling_policy = args[:scheduling_policy] if args.key?(:scheduling_policy)
|
|
76
82
|
@state = args[:state] if args.key?(:state)
|
|
77
83
|
end
|
|
78
84
|
end
|
|
@@ -960,6 +966,11 @@ module Google
|
|
|
960
966
|
# @return [String]
|
|
961
967
|
attr_accessor :scaling_mode
|
|
962
968
|
|
|
969
|
+
# The scheduling policy controls how a reservation's resources are distributed.
|
|
970
|
+
# Corresponds to the JSON property `schedulingPolicy`
|
|
971
|
+
# @return [Google::Apis::BigqueryreservationV1::SchedulingPolicy]
|
|
972
|
+
attr_accessor :scheduling_policy
|
|
973
|
+
|
|
963
974
|
# Optional. The current location of the reservation's secondary replica. This
|
|
964
975
|
# field is only set for reservations using the managed disaster recovery feature.
|
|
965
976
|
# Users can set this in create reservation calls to create a failover
|
|
@@ -1009,6 +1020,7 @@ module Google
|
|
|
1009
1020
|
@replication_status = args[:replication_status] if args.key?(:replication_status)
|
|
1010
1021
|
@reservation_group = args[:reservation_group] if args.key?(:reservation_group)
|
|
1011
1022
|
@scaling_mode = args[:scaling_mode] if args.key?(:scaling_mode)
|
|
1023
|
+
@scheduling_policy = args[:scheduling_policy] if args.key?(:scheduling_policy)
|
|
1012
1024
|
@secondary_location = args[:secondary_location] if args.key?(:secondary_location)
|
|
1013
1025
|
@slot_capacity = args[:slot_capacity] if args.key?(:slot_capacity)
|
|
1014
1026
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
@@ -1037,6 +1049,35 @@ module Google
|
|
|
1037
1049
|
end
|
|
1038
1050
|
end
|
|
1039
1051
|
|
|
1052
|
+
# The scheduling policy controls how a reservation's resources are distributed.
|
|
1053
|
+
class SchedulingPolicy
|
|
1054
|
+
include Google::Apis::Core::Hashable
|
|
1055
|
+
|
|
1056
|
+
# Optional. If present and > 0, the reservation will attempt to limit the
|
|
1057
|
+
# concurrency of jobs running for any particular project within it to the given
|
|
1058
|
+
# value. This feature is not yet generally available.
|
|
1059
|
+
# Corresponds to the JSON property `concurrency`
|
|
1060
|
+
# @return [Fixnum]
|
|
1061
|
+
attr_accessor :concurrency
|
|
1062
|
+
|
|
1063
|
+
# Optional. If present and > 0, the reservation will attempt to limit the slot
|
|
1064
|
+
# consumption of queries running for any particular project within it to the
|
|
1065
|
+
# given value. This feature is not yet generally available.
|
|
1066
|
+
# Corresponds to the JSON property `maxSlots`
|
|
1067
|
+
# @return [Fixnum]
|
|
1068
|
+
attr_accessor :max_slots
|
|
1069
|
+
|
|
1070
|
+
def initialize(**args)
|
|
1071
|
+
update!(**args)
|
|
1072
|
+
end
|
|
1073
|
+
|
|
1074
|
+
# Update properties of this object
|
|
1075
|
+
def update!(**args)
|
|
1076
|
+
@concurrency = args[:concurrency] if args.key?(:concurrency)
|
|
1077
|
+
@max_slots = args[:max_slots] if args.key?(:max_slots)
|
|
1078
|
+
end
|
|
1079
|
+
end
|
|
1080
|
+
|
|
1040
1081
|
# The response for ReservationService.SearchAllAssignments.
|
|
1041
1082
|
class SearchAllAssignmentsResponse
|
|
1042
1083
|
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.
|
|
19
|
+
GEM_VERSION = "0.49.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 = "
|
|
25
|
+
REVISION = "20251009"
|
|
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.
|
|
4
|
+
version: 0.49.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.49.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:
|