google-apis-bigqueryreservation_v1 0.35.0 → 0.37.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: 9a4138e897614b4ea16db793ca180d54dfb751d04684a18eb875f7c590b3aaf8
4
- data.tar.gz: 3df1c0ef0bc48f00f1b03ef31b2cac34dfd934cf26a79f26783fc16ddbefabbb
3
+ metadata.gz: a912005c909d4a7ce3495711ebabbbac39284c47de30e14e66302a6ef83a6d34
4
+ data.tar.gz: 031bfb7c27a15c3e2e12d8491b0bad9e50c89812f5bb2adb667f094ef020f2b4
5
5
  SHA512:
6
- metadata.gz: b16e9c21bb4bc777ae471d0cb3746313d806e9fe00fd5a795cb4b12603be7b1b5ff79b9857dab3689d27acb6fd7974694667897d69fd3d1989522a294dc7a0d2
7
- data.tar.gz: e1de262b662ebffa3b6cbb94707466ee7327f8d0fb8904034810a591deed06b407faeb3ceb55c722178017a720178c4289ce6a48005d6b6ec4280b52a84b3e52
6
+ metadata.gz: d702385be4de770f6b761bda0710b322cac7c3d08dd9d174acf22c456c0aaba24d7d7cae6a34bbc4ffeee111260a37e95c1c6098b99bf5288b45d65d1deabb08
7
+ data.tar.gz: 3127342792b3c4712ca39b2c08842e132a2fc553ec3e8c87e4f5e60a48cc18afe3a698f92ea014e8924e9235c614ef726c63bba3ba37194bf176d002f9c34e87
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-bigqueryreservation_v1
2
2
 
3
+ ### v0.37.0 (2024-11-03)
4
+
5
+ * Regenerated from discovery document revision 20241023
6
+
7
+ ### v0.36.0 (2024-09-29)
8
+
9
+ * Regenerated from discovery document revision 20240921
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.35.0 (2024-05-19)
4
13
 
5
14
  * Regenerated using generator version 0.15.0
@@ -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
@@ -138,13 +154,18 @@ module Google
138
154
  include Google::Apis::Core::Hashable
139
155
 
140
156
  # Output only. The end of the current commitment period. It is applicable only
141
- # for ACTIVE capacity commitments.
157
+ # for ACTIVE capacity commitments. Note after renewal, commitment_end_time is
158
+ # the time the renewed commitment expires. So itwould be at a time after
159
+ # commitment_start_time + committed period, because we don't change
160
+ # commitment_start_time ,
142
161
  # Corresponds to the JSON property `commitmentEndTime`
143
162
  # @return [String]
144
163
  attr_accessor :commitment_end_time
145
164
 
146
165
  # Output only. The start of the current commitment period. It is applicable only
147
- # for ACTIVE capacity commitments.
166
+ # for ACTIVE capacity commitments. Note after the commitment is renewed,
167
+ # commitment_start_time won't be changed. It refers to the start time of the
168
+ # original commitment.
148
169
  # Corresponds to the JSON property `commitmentStartTime`
149
170
  # @return [String]
150
171
  attr_accessor :commitment_start_time
@@ -430,6 +451,13 @@ module Google
430
451
  attr_accessor :ignore_idle_slots
431
452
  alias_method :ignore_idle_slots?, :ignore_idle_slots
432
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
+
433
461
  # Applicable only for reservations located within one of the BigQuery multi-
434
462
  # regions (US or EU). If set to true, this reservation is placed in the
435
463
  # organization's secondary region which is designated for disaster recovery
@@ -511,6 +539,7 @@ module Google
511
539
  @creation_time = args[:creation_time] if args.key?(:creation_time)
512
540
  @edition = args[:edition] if args.key?(:edition)
513
541
  @ignore_idle_slots = args[:ignore_idle_slots] if args.key?(:ignore_idle_slots)
542
+ @labels = args[:labels] if args.key?(:labels)
514
543
  @multi_region_auxiliary = args[:multi_region_auxiliary] if args.key?(:multi_region_auxiliary)
515
544
  @name = args[:name] if args.key?(:name)
516
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.35.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240318"
25
+ REVISION = "20241023"
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'
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.35.0
4
+ version: 0.37.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-05-26 00:00:00.000000000 Z
11
+ date: 2024-11-03 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.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.37.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.6
78
+ rubygems_version: 3.5.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for BigQuery Reservation API V1