Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(all): auto-regenerate discovery clients #3042

Merged
merged 1 commit into from
Mar 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
308 changes: 299 additions & 9 deletions alloydb/v1beta/alloydb-api.json

Large diffs are not rendered by default.

260 changes: 255 additions & 5 deletions alloydb/v1beta/alloydb-gen.go

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions areainsights/v1/areainsights-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
}
}
},
"revision": "20250225",
"revision": "20250226",
"rootUrl": "https://areainsights.googleapis.com/",
"schemas": {
"Circle": {
Expand Down Expand Up @@ -227,7 +227,7 @@
"OPERATING_STATUS_TEMPORARILY_CLOSED"
],
"enumDescriptions": [
"Not specified. This placeholder value should not be used.",
"Not specified. This value should not be used.",
"The place is operational and its open during its defined hours.",
"The Place is no longer in business.",
"The place is temporarily closed and expected to reopen in the future."
Expand All @@ -237,7 +237,7 @@
"type": "array"
},
"priceLevels": {
"description": "Optional. Restricts results to places whose price level is included on this list. If price_level is not set, all price levels are included in the results.",
"description": "Optional. Restricts results to places whose price level is included on this list. If `price_levels` is not set, all price levels are included in the results.",
"items": {
"enum": [
"PRICE_LEVEL_UNSPECIFIED",
Expand All @@ -248,7 +248,7 @@
"PRICE_LEVEL_VERY_EXPENSIVE"
],
"enumDescriptions": [
"Place price level is unspecified or unknown.",
"Not specified. This value should not be used.",
"Place provides free services.",
"Place provides inexpensive services.",
"Place provides moderately priced services.",
Expand Down
8 changes: 4 additions & 4 deletions areainsights/v1/areainsights-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 22 additions & 1 deletion bigqueryreservation/v1/bigqueryreservation-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@
}
}
},
"revision": "20250211",
"revision": "20250218",
"rootUrl": "https://bigqueryreservation.googleapis.com/",
"schemas": {
"Assignment": {
Expand Down Expand Up @@ -1367,6 +1367,11 @@
"description": "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.",
"type": "object"
},
"maxSlots": {
"description": "Optional. The overall max slots for the reservation, covering slot_capacity (baseline), idle slots (if ignore_idle_slots is false) and scaled slots. If present, the reservation won't use more than the specified number of slots, even if there is demand and supply (from idle slots). NOTE: capping a reservation's idle slot usage is best effort and its usage may exceed the max_slots value. However, in terms of autoscale.current_slots (which accounts for the additional added slots), it will never exceed the max_slots - baseline. This field must be set together with the scaling_mode enum value, otherwise the request will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. If the max_slots and scaling_mode are set, the autoscale or autoscale.max_slots field must be unset. Otherwise the request will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. However, the autoscale field may still be in the output. The autopscale.max_slots will always show as 0 and the autoscaler.current_slots will represent the current slots from autoscaler excluding idle slots. For example, if the max_slots is 1000 and scaling_mode is AUTOSCALE_ONLY, then in the output, the autoscaler.max_slots will be 0 and the autoscaler.current_slots may be any value between 0 and 1000. If the max_slots is 1000, scaling_mode is ALL_SLOTS, the baseline is 100 and idle slots usage is 200, then in the output, the autoscaler.max_slots will be 0 and the autoscaler.current_slots will not be higher than 700. If the max_slots is 1000, scaling_mode is IDLE_SLOTS_ONLY, then in the output, the autoscaler field will be null. If the max_slots and scaling_mode are set, then the ignore_idle_slots field must be aligned with the scaling_mode enum value.(See details in ScalingMode comments). Otherwise the request will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. Please note, the max_slots is for user to manage the part of slots greater than the baseline. Therefore, we don't allow users to set max_slots smaller or equal to the baseline as it will not be meaningful. If the field is present and slot_capacity\u003e=max_slots, requests will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. Please note that if max_slots is set to 0, we will treat it as unset. Customers can set max_slots to 0 and set scaling_mode to SCALING_MODE_UNSPECIFIED to disable the max_slots feature.",
"format": "int64",
"type": "string"
},
"multiRegionAuxiliary": {
"description": "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.",
"type": "boolean"
Expand All @@ -1390,6 +1395,22 @@
"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.",
"readOnly": true
},
"scalingMode": {
"description": "The scaling mode for the reservation. If the field is present but max_slots is not present, requests will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.",
"enum": [
"SCALING_MODE_UNSPECIFIED",
"AUTOSCALE_ONLY",
"IDLE_SLOTS_ONLY",
"ALL_SLOTS"
],
"enumDescriptions": [
"Default value of ScalingMode.",
"The reservation will scale up only using slots from autoscaling. It will not use any idle slots even if there may be some available. The upper limit that autoscaling can scale up to will be max_slots - baseline. For example, if max_slots is 1000, baseline is 200 and customer sets ScalingMode to AUTOSCALE_ONLY, then autoscalerg will scale up to 800 slots and no idle slots will be used. Please note, in this mode, the ignore_idle_slots field must be set to true. Otherwise the request will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.",
"The reservation will scale up using only idle slots contributed by other reservations or from unassigned commitments. If no idle slots are available it will not scale up further. If the idle slots which it is using are reclaimed by the contributing reservation(s) it may be forced to scale down. The max idle slots the reservation can be max_slots - baseline capacity. For example, if max_slots is 1000, baseline is 200 and customer sets ScalingMode to IDLE_SLOTS_ONLY, 1. if there are 1000 idle slots available in other reservations, the reservation will scale up to 1000 slots with 200 baseline and 800 idle slots. 2. if there are 500 idle slots available in other reservations, the reservation will scale up to 700 slots with 200 baseline and 300 idle slots. Please note, in this mode, the reservation might not be able to scale up to max_slots. Please note, in this mode, the ignore_idle_slots field must be set to false. Otherwise the request will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.",
"The reservation will scale up using all slots available to it. It will use idle slots contributed by other reservations or from unassigned commitments first. If no idle slots are available it will scale up using autoscaling. For example, if max_slots is 1000, baseline is 200 and customer sets ScalingMode to ALL_SLOTS, 1. if there are 800 idle slots available in other reservations, the reservation will scale up to 1000 slots with 200 baseline and 800 idle slots. 2. if there are 500 idle slots available in other reservations, the reservation will scale up to 1000 slots with 200 baseline, 500 idle slots and 300 autoscaling slots. 3. if there are no idle slots available in other reservations, it will scale up to 1000 slots with 200 baseline and 800 autoscaling slots. Please note, in this mode, the ignore_idle_slots field must be set to false. Otherwise the request will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`."
],
"type": "string"
},
"secondaryLocation": {
"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).",
"type": "string"
Expand Down
76 changes: 76 additions & 0 deletions bigqueryreservation/v1/bigqueryreservation-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions datastream/v1/datastream-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@
}
}
},
"revision": "20250213",
"revision": "20250219",
"rootUrl": "https://datastream.googleapis.com/",
"schemas": {
"AppendOnly": {
Expand Down Expand Up @@ -3190,7 +3190,7 @@
"description": "Salesforce data source configuration."
},
"sourceConnectionProfile": {
"description": "Required. Source connection profile resoource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`",
"description": "Required. Source connection profile resource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`",
"type": "string"
},
"sqlServerSourceConfig": {
Expand Down
2 changes: 1 addition & 1 deletion datastream/v1/datastream-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading