google-apis-bigqueryreservation_v1 0.36.0 → 0.38.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/bigqueryreservation_v1/classes.rb +36 -12
- data/lib/google/apis/bigqueryreservation_v1/gem_version.rb +2 -2
- data/lib/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/lib/google/apis/bigqueryreservation_v1/service.rb +4 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b60257ac9e5f4cc4d7680cb524a3a6dc86166cd1be264808c363e4c0adc2d2e
|
4
|
+
data.tar.gz: 7d2003187675b93a9bfe67f2fbbc904f8174ed45d33627cbb3a032d3b2f12375
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b624ea78862dc06d4d45af2c087a9f5e216145514f023ff5c3a6d50f8a5d541a7c9094782a4f0287649aedc640fd4921959e0d8a02fc89d56eecb836ebed07a0
|
7
|
+
data.tar.gz: 3b6b7f6c3043d83f48ce5134302db83659c014ee8caf56b5aea9447eb6e701896a93b97c98bc00b576c50a351dd0b1f84950da937db4e90037ec84b33b82949b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-bigqueryreservation_v1
|
2
2
|
|
3
|
+
### v0.38.0 (2024-11-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241110
|
6
|
+
|
7
|
+
### v0.37.0 (2024-11-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241023
|
10
|
+
|
3
11
|
### v0.36.0 (2024-09-29)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240921
|
@@ -33,6 +33,18 @@ 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.
|
43
|
+
# Corresponds to the JSON property `enableGeminiInBigquery`
|
44
|
+
# @return [Boolean]
|
45
|
+
attr_accessor :enable_gemini_in_bigquery
|
46
|
+
alias_method :enable_gemini_in_bigquery?, :enable_gemini_in_bigquery
|
47
|
+
|
36
48
|
# Which type of jobs will use the reservation.
|
37
49
|
# Corresponds to the JSON property `jobType`
|
38
50
|
# @return [String]
|
@@ -58,6 +70,7 @@ module Google
|
|
58
70
|
# Update properties of this object
|
59
71
|
def update!(**args)
|
60
72
|
@assignee = args[:assignee] if args.key?(:assignee)
|
73
|
+
@enable_gemini_in_bigquery = args[:enable_gemini_in_bigquery] if args.key?(:enable_gemini_in_bigquery)
|
61
74
|
@job_type = args[:job_type] if args.key?(:job_type)
|
62
75
|
@name = args[:name] if args.key?(:name)
|
63
76
|
@state = args[:state] if args.key?(:state)
|
@@ -69,7 +82,10 @@ module Google
|
|
69
82
|
include Google::Apis::Core::Hashable
|
70
83
|
|
71
84
|
# Output only. The slot capacity added to this reservation when autoscale
|
72
|
-
# happens. Will be between [0, max_slots].
|
85
|
+
# happens. Will be between [0, max_slots]. Note: after users reduce max_slots,
|
86
|
+
# it may take a while before it can be propagated, so current_slots may stay in
|
87
|
+
# the original value and could be larger than max_slots for that brief period (
|
88
|
+
# less than one minute)
|
73
89
|
# Corresponds to the JSON property `currentSlots`
|
74
90
|
# @return [Fixnum]
|
75
91
|
attr_accessor :current_slots
|
@@ -411,7 +427,7 @@ module Google
|
|
411
427
|
# asynchronous nature of the system and various optimizations for small queries.
|
412
428
|
# Default value is 0 which means that concurrency target will be automatically
|
413
429
|
# computed by the system. NOTE: this field is exposed as target job concurrency
|
414
|
-
# in the Information Schema, DDL and
|
430
|
+
# in the Information Schema, DDL and BigQuery CLI.
|
415
431
|
# Corresponds to the JSON property `concurrency`
|
416
432
|
# @return [Fixnum]
|
417
433
|
attr_accessor :concurrency
|
@@ -435,6 +451,13 @@ module Google
|
|
435
451
|
attr_accessor :ignore_idle_slots
|
436
452
|
alias_method :ignore_idle_slots?, :ignore_idle_slots
|
437
453
|
|
454
|
+
# Optional. The labels associated with this reservation. You can use these to
|
455
|
+
# organize and group your reservations. You can set this property when inserting
|
456
|
+
# or updating a reservation.
|
457
|
+
# Corresponds to the JSON property `labels`
|
458
|
+
# @return [Hash<String,String>]
|
459
|
+
attr_accessor :labels
|
460
|
+
|
438
461
|
# Applicable only for reservations located within one of the BigQuery multi-
|
439
462
|
# regions (US or EU). If set to true, this reservation is placed in the
|
440
463
|
# organization's secondary region which is designated for disaster recovery
|
@@ -457,26 +480,26 @@ module Google
|
|
457
480
|
# Optional. The original primary location of the reservation which is set only
|
458
481
|
# during its creation and remains unchanged afterwards. It can be used by the
|
459
482
|
# customer to answer questions about disaster recovery billing. The field is
|
460
|
-
# output only for customers and should not be specified, however, the google.
|
461
|
-
# field_behavior is not set to OUTPUT_ONLY since these fields are set in
|
483
|
+
# output only for customers and should not be specified, however, the `google.
|
484
|
+
# api.field_behavior` is not set to `OUTPUT_ONLY` since these fields are set in
|
462
485
|
# rerouted requests sent across regions.
|
463
486
|
# Corresponds to the JSON property `originalPrimaryLocation`
|
464
487
|
# @return [String]
|
465
488
|
attr_accessor :original_primary_location
|
466
489
|
|
467
490
|
# Optional. The primary location of the reservation. The field is only
|
468
|
-
# meaningful for reservation used for
|
469
|
-
# is output only for customers and should not be specified
|
470
|
-
# api.field_behavior is not set to OUTPUT_ONLY since
|
471
|
-
# rerouted requests sent across regions.
|
491
|
+
# meaningful for a failover reservation that is used for managed disaster
|
492
|
+
# recovery. The field is output only for customers and should not be specified.
|
493
|
+
# However, the `google.api.field_behavior` is not set to `OUTPUT_ONLY` since
|
494
|
+
# these fields are set in rerouted requests sent across regions.
|
472
495
|
# Corresponds to the JSON property `primaryLocation`
|
473
496
|
# @return [String]
|
474
497
|
attr_accessor :primary_location
|
475
498
|
|
476
|
-
# Optional. The secondary location of the reservation
|
477
|
-
#
|
478
|
-
#
|
479
|
-
#
|
499
|
+
# Optional. The secondary location of the reservation that is used for managed
|
500
|
+
# disaster recovery. Customers can set this in create/update reservation calls
|
501
|
+
# to create a failover reservation or convert a non-failover reservation to a
|
502
|
+
# failover reservation.
|
480
503
|
# Corresponds to the JSON property `secondaryLocation`
|
481
504
|
# @return [String]
|
482
505
|
attr_accessor :secondary_location
|
@@ -516,6 +539,7 @@ module Google
|
|
516
539
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
517
540
|
@edition = args[:edition] if args.key?(:edition)
|
518
541
|
@ignore_idle_slots = args[:ignore_idle_slots] if args.key?(:ignore_idle_slots)
|
542
|
+
@labels = args[:labels] if args.key?(:labels)
|
519
543
|
@multi_region_auxiliary = args[:multi_region_auxiliary] if args.key?(:multi_region_auxiliary)
|
520
544
|
@name = args[:name] if args.key?(:name)
|
521
545
|
@original_primary_location = args[:original_primary_location] if args.key?(:original_primary_location)
|
@@ -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.38.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 = "
|
25
|
+
REVISION = "20241110"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -134,6 +134,7 @@ module Google
|
|
134
134
|
# @private
|
135
135
|
class Representation < Google::Apis::Core::JsonRepresentation
|
136
136
|
property :assignee, as: 'assignee'
|
137
|
+
property :enable_gemini_in_bigquery, as: 'enableGeminiInBigquery'
|
137
138
|
property :job_type, as: 'jobType'
|
138
139
|
property :name, as: 'name'
|
139
140
|
property :state, as: 'state'
|
@@ -240,6 +241,7 @@ module Google
|
|
240
241
|
property :creation_time, as: 'creationTime'
|
241
242
|
property :edition, as: 'edition'
|
242
243
|
property :ignore_idle_slots, as: 'ignoreIdleSlots'
|
244
|
+
hash :labels, as: 'labels'
|
243
245
|
property :multi_region_auxiliary, as: 'multiRegionAuxiliary'
|
244
246
|
property :name, as: 'name'
|
245
247
|
property :original_primary_location, as: 'originalPrimaryLocation'
|
@@ -564,10 +564,10 @@ module Google
|
|
564
564
|
execute_or_queue_command(command, &block)
|
565
565
|
end
|
566
566
|
|
567
|
-
#
|
568
|
-
# in the current secondary location, which will be promoted to the new
|
569
|
-
# location for the reservation. Attempting to failover a reservation in
|
570
|
-
# current primary location will fail with the error code `google.rpc.Code.
|
567
|
+
# Fail over a reservation to the secondary location. The operation should be
|
568
|
+
# done in the current secondary location, which will be promoted to the new
|
569
|
+
# primary location for the reservation. Attempting to failover a reservation in
|
570
|
+
# the current primary location will fail with the error code `google.rpc.Code.
|
571
571
|
# FAILED_PRECONDITION`.
|
572
572
|
# @param [String] name
|
573
573
|
# Required. Resource name of the reservation to failover. E.g., `projects/
|
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.38.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-
|
11
|
+
date: 2024-12-04 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.38.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.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for BigQuery Reservation API V1
|