Skip to content

Commit 47de90d

Browse files
feat: Automated regeneration of apihub v1 client (#27893)
Auto-created at 2026-09-06 11:01:05 +0000 using the toys pull request generator.
1 parent 5f5586c commit 47de90d

6 files changed

Lines changed: 26 additions & 4 deletions

File tree

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50944,6 +50944,7 @@
5094450944
"/apihub:v1/GoogleCloudApihubV1AdditionalSpecContent/specContents": spec_contents
5094550945
"/apihub:v1/GoogleCloudApihubV1AdditionalSpecContent/updateTime": update_time
5094650946
"/apihub:v1/GoogleCloudApihubV1Addon": google_cloud_apihub_v1_addon
50947+
"/apihub:v1/GoogleCloudApihubV1Addon/boostSpecGeminiRegionId": boost_spec_gemini_region_id
5094750948
"/apihub:v1/GoogleCloudApihubV1Addon/config": config
5094850949
"/apihub:v1/GoogleCloudApihubV1Addon/createTime": create_time
5094950950
"/apihub:v1/GoogleCloudApihubV1Addon/dataSource": data_source

generated/google-apis-apihub_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-apihub_v1
22

3+
### v0.21.0 (2026-09-06)
4+
5+
* Regenerated from discovery document revision 20260831
6+
37
### v0.20.0 (2026-08-09)
48

59
* Regenerated from discovery document revision 20260729

generated/google-apis-apihub_v1/Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
google-apis-apihub_v1 (0.20.0)
4+
google-apis-apihub_v1 (0.21.0)
55
google-apis-core (>= 0.15.0, < 2.a)
66

77
GEM
@@ -105,7 +105,7 @@ CHECKSUMS
105105
faraday (2.14.3) sha256=1882247e6766615c8220b4392bf1d27f6ebb63d8e28267587cef1fb0bf37f278
106106
faraday-follow_redirects (0.5.0) sha256=5cde93c894b30943a5d2b93c2fe9284216a6b756f7af406a1e55f211d97d10ad
107107
faraday-net_http (3.4.4) sha256=0e78af151747ed1b00f33e25973b4bc220d7f16c00c39676817c8b12331eb588
108-
google-apis-apihub_v1 (0.20.0)
108+
google-apis-apihub_v1 (0.21.0)
109109
google-apis-core (1.2.1) sha256=3739030455277e3be90f2d07321ad4d0bf0d6b1ed820b2d092916d6cdef05337
110110
google-cloud-env (2.3.1) sha256=0faac01eb27be78c2591d64433663b1a114f8f7af55a4f819755426cac9178e7
111111
google-logging-utils (0.2.0) sha256=675462b4ea5affa825a3442694ca2d75d0069455a1d0956127207498fca3df7b

generated/google-apis-apihub_v1/lib/google/apis/apihub_v1/classes.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,21 @@ def update!(**args)
149149
class GoogleCloudApihubV1Addon
150150
include Google::Apis::Core::Hashable
151151

152+
# Output only. The Vertex AI region where the BoostSpec Gemini model calls run
153+
# for this API Hub instance. Populated only for the SpecGen addon (`system-spec-
154+
# generation`); other addons leave this field empty. `gemini-2.5-flash` is not
155+
# available in every API Hub region, so the effective region may differ from the
156+
# API Hub instance's own region. The value follows these semantics: - `""`:
157+
# BoostSpec is disabled in this region (the addon is not SpecGen, or the API Hub
158+
# instance region has no configured Gemini endpoint or fallback). - Equal to the
159+
# API Hub instance region: BoostSpec calls run in-region. - Differs from the API
160+
# Hub instance region: BoostSpec calls run in the specified fallback region.
161+
# Callers rendering this field can derive the three display states from this
162+
# single field combined with the API Hub instance region.
163+
# Corresponds to the JSON property `boostSpecGeminiRegionId`
164+
# @return [String]
165+
attr_accessor :boost_spec_gemini_region_id
166+
152167
# Configuration for the addon.
153168
# Corresponds to the JSON property `config`
154169
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1AddonConfig]
@@ -197,6 +212,7 @@ def initialize(**args)
197212

198213
# Update properties of this object
199214
def update!(**args)
215+
@boost_spec_gemini_region_id = args[:boost_spec_gemini_region_id] if args.key?(:boost_spec_gemini_region_id)
200216
@config = args[:config] if args.key?(:config)
201217
@create_time = args[:create_time] if args.key?(:create_time)
202218
@data_source = args[:data_source] if args.key?(:data_source)

generated/google-apis-apihub_v1/lib/google/apis/apihub_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ApihubV1
1818
# Version of the google-apis-apihub_v1 gem
19-
GEM_VERSION = "0.20.0"
19+
GEM_VERSION = "0.21.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.19.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260729"
25+
REVISION = "20260831"
2626
end
2727
end
2828
end

generated/google-apis-apihub_v1/lib/google/apis/apihub_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
957957
class GoogleCloudApihubV1Addon
958958
# @private
959959
class Representation < Google::Apis::Core::JsonRepresentation
960+
property :boost_spec_gemini_region_id, as: 'boostSpecGeminiRegionId'
960961
property :config, as: 'config', class: Google::Apis::ApihubV1::GoogleCloudApihubV1AddonConfig, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1AddonConfig::Representation
961962

962963
property :create_time, as: 'createTime'

0 commit comments

Comments
 (0)