Skip to content

Commit f7ca4e2

Browse files
feat: Automated regeneration of BigQueryReservation client (googleapis#12424)
Auto-created at 2024-10-28 13:13:26 +0000 using the toys pull request generator.
1 parent bf8e393 commit f7ca4e2

File tree

6 files changed

+10
-4
lines changed

6 files changed

+10
-4
lines changed

clients/big_query_reservation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_big_query_reservation, "~> 0.19"}]
14+
[{:google_api_big_query_reservation, "~> 0.20"}]
1515
end
1616
```
1717

clients/big_query_reservation/lib/google_api/big_query_reservation/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.BigQueryReservation.V1 do
2020
API client metadata for GoogleApi.BigQueryReservation.V1.
2121
"""
2222

23-
@discovery_revision "20240921"
23+
@discovery_revision "20241023"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/big_query_reservation/lib/google_api/big_query_reservation/v1/model/assignment.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ defmodule GoogleApi.BigQueryReservation.V1.Model.Assignment do
2222
## Attributes
2323
2424
* `assignee` (*type:* `String.t`, *default:* `nil`) - The resource which will use the reservation. E.g. `projects/myproject`, `folders/123`, or `organizations/456`.
25+
* `enableGeminiInBigquery` (*type:* `boolean()`, *default:* `nil`) - Optional. This field controls if "Gemini in BigQuery" (https://cloud.google.com/gemini/docs/bigquery/overview) features should be enabled for this reservation assignment, which is not on by default. "Gemini in BigQuery" has a distinct compliance posture from BigQuery. If this field is set to true, the assignment job type is QUERY, and the parent reservation edition is ENTERPRISE_PLUS, then the assignment will give the grantee project/organization access to "Gemini in BigQuery" features.
2526
* `jobType` (*type:* `String.t`, *default:* `nil`) - Which type of jobs will use the reservation.
2627
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Name of the resource. E.g.: `projects/myproject/locations/US/reservations/team1-prod/assignments/123`. The assignment_id must only contain lower case alphanumeric characters or dashes and the max length is 64 characters.
2728
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. State of the assignment.
@@ -31,12 +32,14 @@ defmodule GoogleApi.BigQueryReservation.V1.Model.Assignment do
3132

3233
@type t :: %__MODULE__{
3334
:assignee => String.t() | nil,
35+
:enableGeminiInBigquery => boolean() | nil,
3436
:jobType => String.t() | nil,
3537
:name => String.t() | nil,
3638
:state => String.t() | nil
3739
}
3840

3941
field(:assignee)
42+
field(:enableGeminiInBigquery)
4043
field(:jobType)
4144
field(:name)
4245
field(:state)

clients/big_query_reservation/lib/google_api/big_query_reservation/v1/model/autoscale.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.BigQueryReservation.V1.Model.Autoscale do
2121
2222
## Attributes
2323
24-
* `currentSlots` (*type:* `String.t`, *default:* `nil`) - Output only. The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots].
24+
* `currentSlots` (*type:* `String.t`, *default:* `nil`) - Output only. The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots]. Note: after users reduce max_slots, it may take a while before it can be propagated, so current_slots may stay in the original value and could be larger than max_slots for that brief period (less than one minute)
2525
* `maxSlots` (*type:* `String.t`, *default:* `nil`) - Number of slots to be scaled when needed.
2626
"""
2727

clients/big_query_reservation/lib/google_api/big_query_reservation/v1/model/reservation.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ defmodule GoogleApi.BigQueryReservation.V1.Model.Reservation do
2626
* `creationTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. Creation time of the reservation.
2727
* `edition` (*type:* `String.t`, *default:* `nil`) - Edition of the reservation.
2828
* `ignoreIdleSlots` (*type:* `boolean()`, *default:* `nil`) - If false, any query or pipeline job using this reservation will use idle slots from other reservations within the same admin project. If true, a query or pipeline job using this reservation will execute with the slot capacity specified in the slot_capacity field at most.
29+
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. The labels associated with this reservation. You can use these to organize and group your reservations. You can set this property when inserting or updating a reservation.
2930
* `multiRegionAuxiliary` (*type:* `boolean()`, *default:* `nil`) - Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
3031
* `name` (*type:* `String.t`, *default:* `nil`) - The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`. The reservation_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
3132
* `originalPrimaryLocation` (*type:* `String.t`, *default:* `nil`) - Optional. The original primary location of the reservation which is set only during its creation and remains unchanged afterwards. It can be used by the customer to answer questions about disaster recovery billing. The field is output only for customers and should not be specified, however, the google.api.field_behavior is not set to OUTPUT_ONLY since these fields are set in rerouted requests sent across regions.
@@ -43,6 +44,7 @@ defmodule GoogleApi.BigQueryReservation.V1.Model.Reservation do
4344
:creationTime => DateTime.t() | nil,
4445
:edition => String.t() | nil,
4546
:ignoreIdleSlots => boolean() | nil,
47+
:labels => map() | nil,
4648
:multiRegionAuxiliary => boolean() | nil,
4749
:name => String.t() | nil,
4850
:originalPrimaryLocation => String.t() | nil,
@@ -57,6 +59,7 @@ defmodule GoogleApi.BigQueryReservation.V1.Model.Reservation do
5759
field(:creationTime, as: DateTime)
5860
field(:edition)
5961
field(:ignoreIdleSlots)
62+
field(:labels, type: :map)
6063
field(:multiRegionAuxiliary)
6164
field(:name)
6265
field(:originalPrimaryLocation)

clients/big_query_reservation/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.BigQueryReservation.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.19.1"
21+
@version "0.20.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)