Skip to content

Commit 6b3b382

Browse files
Add deprecation notice for multi_region_auxiliary field in BQ reservation (#11220) (#18803)
[upstream:4f0795e8d59c162bef7d179cc4212d54af33e2c7] Signed-off-by: Modular Magician <[email protected]>
1 parent 3bf3d1e commit 6b3b382

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.changelog/11220.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:deprecation
2+
bigqueryreservation: deprecated `multi_region_auxiliary` on `google_bigquery_reservation`.
3+
```

google/services/bigqueryreservation/resource_bigquery_reservation.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@ Examples: US, EU, asia-northeast1. The default value is US.`,
116116
Default: "US",
117117
},
118118
"multi_region_auxiliary": {
119-
Type: schema.TypeBool,
120-
Optional: true,
119+
Type: schema.TypeBool,
120+
Optional: true,
121+
Deprecated: "`multi_region_auxiliary` is deprecated and will be removed in a future major release. This field is no longer supported by the BigQuery Reservation API.",
121122
Description: `Applicable only for reservations located within one of the BigQuery multi-regions (US or EU).
122123
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.`,
123124
},

website/docs/r/bigquery_reservation.html.markdown

+3-1
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,12 @@ The following arguments are supported:
8181
Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.
8282

8383
* `multi_region_auxiliary` -
84-
(Optional)
84+
(Optional, Deprecated)
8585
Applicable only for reservations located within one of the BigQuery multi-regions (US or EU).
8686
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.
8787

88+
~> **Warning:** `multi_region_auxiliary` is deprecated and will be removed in a future major release. This field is no longer supported by the BigQuery Reservation API.
89+
8890
* `edition` -
8991
(Optional)
9092
The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS

0 commit comments

Comments
 (0)