Skip to content

Commit 6ba4220

Browse files
[#23232] Add region url_parameter to google_vertex_ai_index_endpoint_deployed_index (#14236) (#23247)
[upstream:04fa6d55b60584ef3dce627a5cdee8f410f938d0] Signed-off-by: Modular Magician <[email protected]>
1 parent 79c077b commit 6ba4220

5 files changed

+287
-238
lines changed

.changelog/14236.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
vertexai: added missing region url_param in `google_vertex_ai_index_endpoint_deployed_index`
3+
```

google/services/vertexai/resource_vertex_ai_index_endpoint_deployed_index.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,12 @@ Note: we only support up to 5 deployment groups (not including 'default').`,
211211
Description: `If true, private endpoint's access logs are sent to Cloud Logging.`,
212212
Default: false,
213213
},
214+
"region": {
215+
Type: schema.TypeString,
216+
Optional: true,
217+
ForceNew: true,
218+
Description: `The region of the index endpoint deployment. eg us-central1`,
219+
},
214220
"reserved_ip_ranges": {
215221
Type: schema.TypeList,
216222
Optional: true,

google/services/vertexai/resource_vertex_ai_index_endpoint_deployed_index_generated_meta.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ fields:
2727
- field: 'private_endpoints.psc_automated_endpoints.network'
2828
- field: 'private_endpoints.psc_automated_endpoints.project_id'
2929
- field: 'private_endpoints.service_attachment'
30+
- field: 'region'
31+
provider_only: true
3032
- field: 'reserved_ip_ranges'

0 commit comments

Comments
 (0)