Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c9d74be

Browse files
committedFeb 18, 2025
feat(bigqueryreservation): update the api
#### bigqueryreservation:v1 The following keys were added: - schemas.ReplicationStatus (Total Keys: 13) - schemas.Reservation.properties.replicationStatus (Total Keys: 2)
1 parent bd95112 commit c9d74be

File tree

2 files changed

+134
-1
lines changed

2 files changed

+134
-1
lines changed
 

‎docs/dyn/bigqueryreservation_v1.projects.locations.reservations.html

+98
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,20 @@ <h3>Method Details</h3>
134134
&quot;name&quot;: &quot;A String&quot;, # 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.
135135
&quot;originalPrimaryLocation&quot;: &quot;A String&quot;, # Output only. The location where the reservation was originally created. This is set only during the failover reservation&#x27;s creation. All billing charges for the failover reservation will be applied to this location.
136136
&quot;primaryLocation&quot;: &quot;A String&quot;, # Output only. The current location of the reservation&#x27;s primary replica. This field is only set for reservations using the managed disaster recovery feature.
137+
&quot;replicationStatus&quot;: { # Disaster Recovery(DR) replication status of the reservation. # Output only. The Disater Recovery(DR) replication status of the reservation. This is only available for the primary replica of DR/failover reservations and provides information about the both the staleness of the secondary and the last error encountered while trying to replicate changes from the primary to the secondary.
138+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
139+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
140+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
141+
{
142+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
143+
},
144+
],
145+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
146+
},
147+
&quot;lastErrorTime&quot;: &quot;A String&quot;, # Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
148+
&quot;lastReplicationTime&quot;: &quot;A String&quot;, # Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.
149+
&quot;softFailoverStartTime&quot;: &quot;A String&quot;, # Output only. The time at which a soft failover for the reservation and its associated datasets was initiated. After this field is set, all subsequent changes to the reservation will be rejected unless a hard failover overrides this operation. This field will be cleared once the failover is complete.
150+
},
137151
&quot;secondaryLocation&quot;: &quot;A String&quot;, # Optional. The current location of the reservation&#x27;s secondary replica. This field is only set for reservations using the managed disaster recovery feature. Users can set this in create reservation calls to create a failover reservation or in update reservation calls to convert a non-failover reservation to a failover reservation(or vice versa).
138152
&quot;slotCapacity&quot;: &quot;A String&quot;, # Baseline slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false, or autoscaling is enabled. The total slot_capacity of the reservation and its siblings may exceed the total slot_count of capacity commitments. In that case, the exceeding slots will be charged with the autoscale SKU. You can increase the number of baseline slots in a reservation every few minutes. If you want to decrease your baseline slots, you are limited to once an hour if you have recently changed your baseline slot capacity and your baseline slots exceed your committed slots. Otherwise, you can decrease your baseline slots every few minutes.
139153
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of the reservation.
@@ -164,6 +178,20 @@ <h3>Method Details</h3>
164178
&quot;name&quot;: &quot;A String&quot;, # 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.
165179
&quot;originalPrimaryLocation&quot;: &quot;A String&quot;, # Output only. The location where the reservation was originally created. This is set only during the failover reservation&#x27;s creation. All billing charges for the failover reservation will be applied to this location.
166180
&quot;primaryLocation&quot;: &quot;A String&quot;, # Output only. The current location of the reservation&#x27;s primary replica. This field is only set for reservations using the managed disaster recovery feature.
181+
&quot;replicationStatus&quot;: { # Disaster Recovery(DR) replication status of the reservation. # Output only. The Disater Recovery(DR) replication status of the reservation. This is only available for the primary replica of DR/failover reservations and provides information about the both the staleness of the secondary and the last error encountered while trying to replicate changes from the primary to the secondary.
182+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
183+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
184+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
185+
{
186+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
187+
},
188+
],
189+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
190+
},
191+
&quot;lastErrorTime&quot;: &quot;A String&quot;, # Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
192+
&quot;lastReplicationTime&quot;: &quot;A String&quot;, # Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.
193+
&quot;softFailoverStartTime&quot;: &quot;A String&quot;, # Output only. The time at which a soft failover for the reservation and its associated datasets was initiated. After this field is set, all subsequent changes to the reservation will be rejected unless a hard failover overrides this operation. This field will be cleared once the failover is complete.
194+
},
167195
&quot;secondaryLocation&quot;: &quot;A String&quot;, # Optional. The current location of the reservation&#x27;s secondary replica. This field is only set for reservations using the managed disaster recovery feature. Users can set this in create reservation calls to create a failover reservation or in update reservation calls to convert a non-failover reservation to a failover reservation(or vice versa).
168196
&quot;slotCapacity&quot;: &quot;A String&quot;, # Baseline slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false, or autoscaling is enabled. The total slot_capacity of the reservation and its siblings may exceed the total slot_count of capacity commitments. In that case, the exceeding slots will be charged with the autoscale SKU. You can increase the number of baseline slots in a reservation every few minutes. If you want to decrease your baseline slots, you are limited to once an hour if you have recently changed your baseline slot capacity and your baseline slots exceed your committed slots. Otherwise, you can decrease your baseline slots every few minutes.
169197
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of the reservation.
@@ -224,6 +252,20 @@ <h3>Method Details</h3>
224252
&quot;name&quot;: &quot;A String&quot;, # 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.
225253
&quot;originalPrimaryLocation&quot;: &quot;A String&quot;, # Output only. The location where the reservation was originally created. This is set only during the failover reservation&#x27;s creation. All billing charges for the failover reservation will be applied to this location.
226254
&quot;primaryLocation&quot;: &quot;A String&quot;, # Output only. The current location of the reservation&#x27;s primary replica. This field is only set for reservations using the managed disaster recovery feature.
255+
&quot;replicationStatus&quot;: { # Disaster Recovery(DR) replication status of the reservation. # Output only. The Disater Recovery(DR) replication status of the reservation. This is only available for the primary replica of DR/failover reservations and provides information about the both the staleness of the secondary and the last error encountered while trying to replicate changes from the primary to the secondary.
256+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
257+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
258+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
259+
{
260+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
261+
},
262+
],
263+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
264+
},
265+
&quot;lastErrorTime&quot;: &quot;A String&quot;, # Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
266+
&quot;lastReplicationTime&quot;: &quot;A String&quot;, # Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.
267+
&quot;softFailoverStartTime&quot;: &quot;A String&quot;, # Output only. The time at which a soft failover for the reservation and its associated datasets was initiated. After this field is set, all subsequent changes to the reservation will be rejected unless a hard failover overrides this operation. This field will be cleared once the failover is complete.
268+
},
227269
&quot;secondaryLocation&quot;: &quot;A String&quot;, # Optional. The current location of the reservation&#x27;s secondary replica. This field is only set for reservations using the managed disaster recovery feature. Users can set this in create reservation calls to create a failover reservation or in update reservation calls to convert a non-failover reservation to a failover reservation(or vice versa).
228270
&quot;slotCapacity&quot;: &quot;A String&quot;, # Baseline slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false, or autoscaling is enabled. The total slot_capacity of the reservation and its siblings may exceed the total slot_count of capacity commitments. In that case, the exceeding slots will be charged with the autoscale SKU. You can increase the number of baseline slots in a reservation every few minutes. If you want to decrease your baseline slots, you are limited to once an hour if you have recently changed your baseline slot capacity and your baseline slots exceed your committed slots. Otherwise, you can decrease your baseline slots every few minutes.
229271
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of the reservation.
@@ -260,6 +302,20 @@ <h3>Method Details</h3>
260302
&quot;name&quot;: &quot;A String&quot;, # 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.
261303
&quot;originalPrimaryLocation&quot;: &quot;A String&quot;, # Output only. The location where the reservation was originally created. This is set only during the failover reservation&#x27;s creation. All billing charges for the failover reservation will be applied to this location.
262304
&quot;primaryLocation&quot;: &quot;A String&quot;, # Output only. The current location of the reservation&#x27;s primary replica. This field is only set for reservations using the managed disaster recovery feature.
305+
&quot;replicationStatus&quot;: { # Disaster Recovery(DR) replication status of the reservation. # Output only. The Disater Recovery(DR) replication status of the reservation. This is only available for the primary replica of DR/failover reservations and provides information about the both the staleness of the secondary and the last error encountered while trying to replicate changes from the primary to the secondary.
306+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
307+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
308+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
309+
{
310+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
311+
},
312+
],
313+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
314+
},
315+
&quot;lastErrorTime&quot;: &quot;A String&quot;, # Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
316+
&quot;lastReplicationTime&quot;: &quot;A String&quot;, # Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.
317+
&quot;softFailoverStartTime&quot;: &quot;A String&quot;, # Output only. The time at which a soft failover for the reservation and its associated datasets was initiated. After this field is set, all subsequent changes to the reservation will be rejected unless a hard failover overrides this operation. This field will be cleared once the failover is complete.
318+
},
263319
&quot;secondaryLocation&quot;: &quot;A String&quot;, # Optional. The current location of the reservation&#x27;s secondary replica. This field is only set for reservations using the managed disaster recovery feature. Users can set this in create reservation calls to create a failover reservation or in update reservation calls to convert a non-failover reservation to a failover reservation(or vice versa).
264320
&quot;slotCapacity&quot;: &quot;A String&quot;, # Baseline slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false, or autoscaling is enabled. The total slot_capacity of the reservation and its siblings may exceed the total slot_count of capacity commitments. In that case, the exceeding slots will be charged with the autoscale SKU. You can increase the number of baseline slots in a reservation every few minutes. If you want to decrease your baseline slots, you are limited to once an hour if you have recently changed your baseline slot capacity and your baseline slots exceed your committed slots. Otherwise, you can decrease your baseline slots every few minutes.
265321
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of the reservation.
@@ -301,6 +357,20 @@ <h3>Method Details</h3>
301357
&quot;name&quot;: &quot;A String&quot;, # 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.
302358
&quot;originalPrimaryLocation&quot;: &quot;A String&quot;, # Output only. The location where the reservation was originally created. This is set only during the failover reservation&#x27;s creation. All billing charges for the failover reservation will be applied to this location.
303359
&quot;primaryLocation&quot;: &quot;A String&quot;, # Output only. The current location of the reservation&#x27;s primary replica. This field is only set for reservations using the managed disaster recovery feature.
360+
&quot;replicationStatus&quot;: { # Disaster Recovery(DR) replication status of the reservation. # Output only. The Disater Recovery(DR) replication status of the reservation. This is only available for the primary replica of DR/failover reservations and provides information about the both the staleness of the secondary and the last error encountered while trying to replicate changes from the primary to the secondary.
361+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
362+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
363+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
364+
{
365+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
366+
},
367+
],
368+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
369+
},
370+
&quot;lastErrorTime&quot;: &quot;A String&quot;, # Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
371+
&quot;lastReplicationTime&quot;: &quot;A String&quot;, # Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.
372+
&quot;softFailoverStartTime&quot;: &quot;A String&quot;, # Output only. The time at which a soft failover for the reservation and its associated datasets was initiated. After this field is set, all subsequent changes to the reservation will be rejected unless a hard failover overrides this operation. This field will be cleared once the failover is complete.
373+
},
304374
&quot;secondaryLocation&quot;: &quot;A String&quot;, # Optional. The current location of the reservation&#x27;s secondary replica. This field is only set for reservations using the managed disaster recovery feature. Users can set this in create reservation calls to create a failover reservation or in update reservation calls to convert a non-failover reservation to a failover reservation(or vice versa).
305375
&quot;slotCapacity&quot;: &quot;A String&quot;, # Baseline slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false, or autoscaling is enabled. The total slot_capacity of the reservation and its siblings may exceed the total slot_count of capacity commitments. In that case, the exceeding slots will be charged with the autoscale SKU. You can increase the number of baseline slots in a reservation every few minutes. If you want to decrease your baseline slots, you are limited to once an hour if you have recently changed your baseline slot capacity and your baseline slots exceed your committed slots. Otherwise, you can decrease your baseline slots every few minutes.
306376
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of the reservation.
@@ -348,6 +418,20 @@ <h3>Method Details</h3>
348418
&quot;name&quot;: &quot;A String&quot;, # 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.
349419
&quot;originalPrimaryLocation&quot;: &quot;A String&quot;, # Output only. The location where the reservation was originally created. This is set only during the failover reservation&#x27;s creation. All billing charges for the failover reservation will be applied to this location.
350420
&quot;primaryLocation&quot;: &quot;A String&quot;, # Output only. The current location of the reservation&#x27;s primary replica. This field is only set for reservations using the managed disaster recovery feature.
421+
&quot;replicationStatus&quot;: { # Disaster Recovery(DR) replication status of the reservation. # Output only. The Disater Recovery(DR) replication status of the reservation. This is only available for the primary replica of DR/failover reservations and provides information about the both the staleness of the secondary and the last error encountered while trying to replicate changes from the primary to the secondary.
422+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
423+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
424+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
425+
{
426+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
427+
},
428+
],
429+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
430+
},
431+
&quot;lastErrorTime&quot;: &quot;A String&quot;, # Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
432+
&quot;lastReplicationTime&quot;: &quot;A String&quot;, # Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.
433+
&quot;softFailoverStartTime&quot;: &quot;A String&quot;, # Output only. The time at which a soft failover for the reservation and its associated datasets was initiated. After this field is set, all subsequent changes to the reservation will be rejected unless a hard failover overrides this operation. This field will be cleared once the failover is complete.
434+
},
351435
&quot;secondaryLocation&quot;: &quot;A String&quot;, # Optional. The current location of the reservation&#x27;s secondary replica. This field is only set for reservations using the managed disaster recovery feature. Users can set this in create reservation calls to create a failover reservation or in update reservation calls to convert a non-failover reservation to a failover reservation(or vice versa).
352436
&quot;slotCapacity&quot;: &quot;A String&quot;, # Baseline slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false, or autoscaling is enabled. The total slot_capacity of the reservation and its siblings may exceed the total slot_count of capacity commitments. In that case, the exceeding slots will be charged with the autoscale SKU. You can increase the number of baseline slots in a reservation every few minutes. If you want to decrease your baseline slots, you are limited to once an hour if you have recently changed your baseline slot capacity and your baseline slots exceed your committed slots. Otherwise, you can decrease your baseline slots every few minutes.
353437
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of the reservation.
@@ -378,6 +462,20 @@ <h3>Method Details</h3>
378462
&quot;name&quot;: &quot;A String&quot;, # 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.
379463
&quot;originalPrimaryLocation&quot;: &quot;A String&quot;, # Output only. The location where the reservation was originally created. This is set only during the failover reservation&#x27;s creation. All billing charges for the failover reservation will be applied to this location.
380464
&quot;primaryLocation&quot;: &quot;A String&quot;, # Output only. The current location of the reservation&#x27;s primary replica. This field is only set for reservations using the managed disaster recovery feature.
465+
&quot;replicationStatus&quot;: { # Disaster Recovery(DR) replication status of the reservation. # Output only. The Disater Recovery(DR) replication status of the reservation. This is only available for the primary replica of DR/failover reservations and provides information about the both the staleness of the secondary and the last error encountered while trying to replicate changes from the primary to the secondary.
466+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
467+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
468+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
469+
{
470+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
471+
},
472+
],
473+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
474+
},
475+
&quot;lastErrorTime&quot;: &quot;A String&quot;, # Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
476+
&quot;lastReplicationTime&quot;: &quot;A String&quot;, # Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.
477+
&quot;softFailoverStartTime&quot;: &quot;A String&quot;, # Output only. The time at which a soft failover for the reservation and its associated datasets was initiated. After this field is set, all subsequent changes to the reservation will be rejected unless a hard failover overrides this operation. This field will be cleared once the failover is complete.
478+
},
381479
&quot;secondaryLocation&quot;: &quot;A String&quot;, # Optional. The current location of the reservation&#x27;s secondary replica. This field is only set for reservations using the managed disaster recovery feature. Users can set this in create reservation calls to create a failover reservation or in update reservation calls to convert a non-failover reservation to a failover reservation(or vice versa).
382480
&quot;slotCapacity&quot;: &quot;A String&quot;, # Baseline slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false, or autoscaling is enabled. The total slot_capacity of the reservation and its siblings may exceed the total slot_count of capacity commitments. In that case, the exceeding slots will be charged with the autoscale SKU. You can increase the number of baseline slots in a reservation every few minutes. If you want to decrease your baseline slots, you are limited to once an hour if you have recently changed your baseline slot capacity and your baseline slots exceed your committed slots. Otherwise, you can decrease your baseline slots every few minutes.
383481
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of the reservation.

‎googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json

+36-1
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@
935935
}
936936
}
937937
},
938-
"revision": "20241231",
938+
"revision": "20250211",
939939
"rootUrl": "https://bigqueryreservation.googleapis.com/",
940940
"schemas": {
941941
"Assignment": {
@@ -1291,6 +1291,36 @@ false
12911291
},
12921292
"type": "object"
12931293
},
1294+
"ReplicationStatus": {
1295+
"description": "Disaster Recovery(DR) replication status of the reservation.",
1296+
"id": "ReplicationStatus",
1297+
"properties": {
1298+
"error": {
1299+
"$ref": "Status",
1300+
"description": "Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.",
1301+
"readOnly": true
1302+
},
1303+
"lastErrorTime": {
1304+
"description": "Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.",
1305+
"format": "google-datetime",
1306+
"readOnly": true,
1307+
"type": "string"
1308+
},
1309+
"lastReplicationTime": {
1310+
"description": "Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.",
1311+
"format": "google-datetime",
1312+
"readOnly": true,
1313+
"type": "string"
1314+
},
1315+
"softFailoverStartTime": {
1316+
"description": "Output only. The time at which a soft failover for the reservation and its associated datasets was initiated. After this field is set, all subsequent changes to the reservation will be rejected unless a hard failover overrides this operation. This field will be cleared once the failover is complete.",
1317+
"format": "google-datetime",
1318+
"readOnly": true,
1319+
"type": "string"
1320+
}
1321+
},
1322+
"type": "object"
1323+
},
12941324
"Reservation": {
12951325
"description": "A reservation is a mechanism used to guarantee slots to users.",
12961326
"id": "Reservation",
@@ -1355,6 +1385,11 @@ false
13551385
"readOnly": true,
13561386
"type": "string"
13571387
},
1388+
"replicationStatus": {
1389+
"$ref": "ReplicationStatus",
1390+
"description": "Output only. The Disater Recovery(DR) replication status of the reservation. This is only available for the primary replica of DR/failover reservations and provides information about the both the staleness of the secondary and the last error encountered while trying to replicate changes from the primary to the secondary.",
1391+
"readOnly": true
1392+
},
13581393
"secondaryLocation": {
13591394
"description": "Optional. The current location of the reservation's secondary replica. This field is only set for reservations using the managed disaster recovery feature. Users can set this in create reservation calls to create a failover reservation or in update reservation calls to convert a non-failover reservation to a failover reservation(or vice versa).",
13601395
"type": "string"

0 commit comments

Comments
 (0)
Please sign in to comment.