|
29 | 29 | @SuppressWarnings("javadoc") |
30 | 30 | public final class GoogleCloudApihubV1Addon extends com.google.api.client.json.GenericJson { |
31 | 31 |
|
| 32 | + /** |
| 33 | + * Output only. The Vertex AI region where the BoostSpec Gemini model calls run for this API Hub |
| 34 | + * instance. Populated only for the SpecGen addon (`system-spec-generation`); other addons leave |
| 35 | + * this field empty. `gemini-2.5-flash` is not available in every API Hub region, so the effective |
| 36 | + * region may differ from the API Hub instance's own region. The value follows these semantics: - |
| 37 | + * `""`: BoostSpec is disabled in this region (the addon is not SpecGen, or the API Hub instance |
| 38 | + * region has no configured Gemini endpoint or fallback). - Equal to the API Hub instance region: |
| 39 | + * BoostSpec calls run in-region. - Differs from the API Hub instance region: BoostSpec calls run |
| 40 | + * in the specified fallback region. Callers rendering this field can derive the three display |
| 41 | + * states from this single field combined with the API Hub instance region. |
| 42 | + * The value may be {@code null}. |
| 43 | + */ |
| 44 | + @com.google.api.client.util.Key |
| 45 | + private java.lang.String boostSpecGeminiRegionId; |
| 46 | + |
32 | 47 | /** |
33 | 48 | * Required. The configuration of the addon. |
34 | 49 | * The value may be {@code null}. |
@@ -87,6 +102,39 @@ public final class GoogleCloudApihubV1Addon extends com.google.api.client.json.G |
87 | 102 | @com.google.api.client.util.Key |
88 | 103 | private String updateTime; |
89 | 104 |
|
| 105 | + /** |
| 106 | + * Output only. The Vertex AI region where the BoostSpec Gemini model calls run for this API Hub |
| 107 | + * instance. Populated only for the SpecGen addon (`system-spec-generation`); other addons leave |
| 108 | + * this field empty. `gemini-2.5-flash` is not available in every API Hub region, so the effective |
| 109 | + * region may differ from the API Hub instance's own region. The value follows these semantics: - |
| 110 | + * `""`: BoostSpec is disabled in this region (the addon is not SpecGen, or the API Hub instance |
| 111 | + * region has no configured Gemini endpoint or fallback). - Equal to the API Hub instance region: |
| 112 | + * BoostSpec calls run in-region. - Differs from the API Hub instance region: BoostSpec calls run |
| 113 | + * in the specified fallback region. Callers rendering this field can derive the three display |
| 114 | + * states from this single field combined with the API Hub instance region. |
| 115 | + * @return value or {@code null} for none |
| 116 | + */ |
| 117 | + public java.lang.String getBoostSpecGeminiRegionId() { |
| 118 | + return boostSpecGeminiRegionId; |
| 119 | + } |
| 120 | + |
| 121 | + /** |
| 122 | + * Output only. The Vertex AI region where the BoostSpec Gemini model calls run for this API Hub |
| 123 | + * instance. Populated only for the SpecGen addon (`system-spec-generation`); other addons leave |
| 124 | + * this field empty. `gemini-2.5-flash` is not available in every API Hub region, so the effective |
| 125 | + * region may differ from the API Hub instance's own region. The value follows these semantics: - |
| 126 | + * `""`: BoostSpec is disabled in this region (the addon is not SpecGen, or the API Hub instance |
| 127 | + * region has no configured Gemini endpoint or fallback). - Equal to the API Hub instance region: |
| 128 | + * BoostSpec calls run in-region. - Differs from the API Hub instance region: BoostSpec calls run |
| 129 | + * in the specified fallback region. Callers rendering this field can derive the three display |
| 130 | + * states from this single field combined with the API Hub instance region. |
| 131 | + * @param boostSpecGeminiRegionId boostSpecGeminiRegionId or {@code null} for none |
| 132 | + */ |
| 133 | + public GoogleCloudApihubV1Addon setBoostSpecGeminiRegionId(java.lang.String boostSpecGeminiRegionId) { |
| 134 | + this.boostSpecGeminiRegionId = boostSpecGeminiRegionId; |
| 135 | + return this; |
| 136 | + } |
| 137 | + |
90 | 138 | /** |
91 | 139 | * Required. The configuration of the addon. |
92 | 140 | * @return value or {@code null} for none |
|
0 commit comments