google-apis-bigqueryreservation_v1 0.22.0 → 0.24.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: 82692dbdf94a3030c6b49e269f08a2ebd5c06d25d4699cd050d4d0d596c2ad6f
|
4
|
+
data.tar.gz: 7489098557eefd0488aaf113471f22a1061c3b318d277a6023032da4f6c639f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d01c69c1cae12aee1a8d6f62b16080b182b20b5db3f7e09455bb8bf244fc0369e6588b3d98bb66e3d37af035ed9456db4b3f0a3fa296e462aeff7281602c0ea
|
7
|
+
data.tar.gz: 1129ccb8561294fac458f99ecacc8031d8424c58a5f2000c9f135d8a369dc3e33010353367df4ce552ab12c33368833df0f276b5b258c5393cca10cf2a308b15
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-bigqueryreservation_v1
|
2
2
|
|
3
|
+
### v0.24.0 (2023-02-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230201
|
6
|
+
|
7
|
+
### v0.23.0 (2023-01-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230121
|
10
|
+
* Regenerated using generator version 0.11.1
|
11
|
+
|
3
12
|
### v0.22.0 (2022-10-27)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20221016
|
@@ -64,6 +64,32 @@ module Google
|
|
64
64
|
end
|
65
65
|
end
|
66
66
|
|
67
|
+
# Auto scaling settings.
|
68
|
+
class Autoscale
|
69
|
+
include Google::Apis::Core::Hashable
|
70
|
+
|
71
|
+
# Output only. The slot capacity added to this reservation when autoscale
|
72
|
+
# happens. Will be between [0, max_slots].
|
73
|
+
# Corresponds to the JSON property `currentSlots`
|
74
|
+
# @return [Fixnum]
|
75
|
+
attr_accessor :current_slots
|
76
|
+
|
77
|
+
# Number of slots to be scaled when needed.
|
78
|
+
# Corresponds to the JSON property `maxSlots`
|
79
|
+
# @return [Fixnum]
|
80
|
+
attr_accessor :max_slots
|
81
|
+
|
82
|
+
def initialize(**args)
|
83
|
+
update!(**args)
|
84
|
+
end
|
85
|
+
|
86
|
+
# Update properties of this object
|
87
|
+
def update!(**args)
|
88
|
+
@current_slots = args[:current_slots] if args.key?(:current_slots)
|
89
|
+
@max_slots = args[:max_slots] if args.key?(:max_slots)
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
67
93
|
# Represents a BI Reservation.
|
68
94
|
class BiReservation
|
69
95
|
include Google::Apis::Core::Hashable
|
@@ -123,6 +149,11 @@ module Google
|
|
123
149
|
# @return [String]
|
124
150
|
attr_accessor :commitment_start_time
|
125
151
|
|
152
|
+
# Edition of the capacity commitment.
|
153
|
+
# Corresponds to the JSON property `edition`
|
154
|
+
# @return [String]
|
155
|
+
attr_accessor :edition
|
156
|
+
|
126
157
|
# The `Status` type defines a logical error model that is suitable for different
|
127
158
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
128
159
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -181,6 +212,7 @@ module Google
|
|
181
212
|
def update!(**args)
|
182
213
|
@commitment_end_time = args[:commitment_end_time] if args.key?(:commitment_end_time)
|
183
214
|
@commitment_start_time = args[:commitment_start_time] if args.key?(:commitment_start_time)
|
215
|
+
@edition = args[:edition] if args.key?(:edition)
|
184
216
|
@failure_status = args[:failure_status] if args.key?(:failure_status)
|
185
217
|
@multi_region_auxiliary = args[:multi_region_auxiliary] if args.key?(:multi_region_auxiliary)
|
186
218
|
@name = args[:name] if args.key?(:name)
|
@@ -334,6 +366,11 @@ module Google
|
|
334
366
|
class Reservation
|
335
367
|
include Google::Apis::Core::Hashable
|
336
368
|
|
369
|
+
# Auto scaling settings.
|
370
|
+
# Corresponds to the JSON property `autoscale`
|
371
|
+
# @return [Google::Apis::BigqueryreservationV1::Autoscale]
|
372
|
+
attr_accessor :autoscale
|
373
|
+
|
337
374
|
# Job concurrency target which sets a soft upper bound on the number of jobs
|
338
375
|
# that can run concurrently in this reservation. This is a soft target due to
|
339
376
|
# asynchronous nature of the system and various optimizations for small queries.
|
@@ -349,6 +386,11 @@ module Google
|
|
349
386
|
# @return [String]
|
350
387
|
attr_accessor :creation_time
|
351
388
|
|
389
|
+
# Edition of the reservation.
|
390
|
+
# Corresponds to the JSON property `edition`
|
391
|
+
# @return [String]
|
392
|
+
attr_accessor :edition
|
393
|
+
|
352
394
|
# If false, any query or pipeline job using this reservation will use idle slots
|
353
395
|
# from other reservations within the same admin project. If true, a query or
|
354
396
|
# pipeline job using this reservation will execute with the slot capacity
|
@@ -399,8 +441,10 @@ module Google
|
|
399
441
|
|
400
442
|
# Update properties of this object
|
401
443
|
def update!(**args)
|
444
|
+
@autoscale = args[:autoscale] if args.key?(:autoscale)
|
402
445
|
@concurrency = args[:concurrency] if args.key?(:concurrency)
|
403
446
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
447
|
+
@edition = args[:edition] if args.key?(:edition)
|
404
448
|
@ignore_idle_slots = args[:ignore_idle_slots] if args.key?(:ignore_idle_slots)
|
405
449
|
@multi_region_auxiliary = args[:multi_region_auxiliary] if args.key?(:multi_region_auxiliary)
|
406
450
|
@name = args[:name] if args.key?(:name)
|
@@ -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.24.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230201"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class Autoscale
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class BiReservation
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -128,6 +134,14 @@ module Google
|
|
128
134
|
end
|
129
135
|
end
|
130
136
|
|
137
|
+
class Autoscale
|
138
|
+
# @private
|
139
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
140
|
+
property :current_slots, :numeric_string => true, as: 'currentSlots'
|
141
|
+
property :max_slots, :numeric_string => true, as: 'maxSlots'
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
131
145
|
class BiReservation
|
132
146
|
# @private
|
133
147
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -144,6 +158,7 @@ module Google
|
|
144
158
|
class Representation < Google::Apis::Core::JsonRepresentation
|
145
159
|
property :commitment_end_time, as: 'commitmentEndTime'
|
146
160
|
property :commitment_start_time, as: 'commitmentStartTime'
|
161
|
+
property :edition, as: 'edition'
|
147
162
|
property :failure_status, as: 'failureStatus', class: Google::Apis::BigqueryreservationV1::Status, decorator: Google::Apis::BigqueryreservationV1::Status::Representation
|
148
163
|
|
149
164
|
property :multi_region_auxiliary, as: 'multiRegionAuxiliary'
|
@@ -205,8 +220,11 @@ module Google
|
|
205
220
|
class Reservation
|
206
221
|
# @private
|
207
222
|
class Representation < Google::Apis::Core::JsonRepresentation
|
223
|
+
property :autoscale, as: 'autoscale', class: Google::Apis::BigqueryreservationV1::Autoscale, decorator: Google::Apis::BigqueryreservationV1::Autoscale::Representation
|
224
|
+
|
208
225
|
property :concurrency, :numeric_string => true, as: 'concurrency'
|
209
226
|
property :creation_time, as: 'creationTime'
|
227
|
+
property :edition, as: 'edition'
|
210
228
|
property :ignore_idle_slots, as: 'ignoreIdleSlots'
|
211
229
|
property :multi_region_auxiliary, as: 'multiRegionAuxiliary'
|
212
230
|
property :name, as: 'name'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.24.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:
|
11
|
+
date: 2023-02-05 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-bigqueryreservation_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.24.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigqueryreservation_v1
|
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.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for BigQuery Reservation API V1
|