Skip to content

Comments

Promote Vector Search 2.0 Collection to GA#16482

Merged
hao-nan-li merged 3 commits intoGoogleCloudPlatform:mainfrom
kkanska:add-vector-search-collection-ga
Feb 25, 2026
Merged

Promote Vector Search 2.0 Collection to GA#16482
hao-nan-li merged 3 commits intoGoogleCloudPlatform:mainfrom
kkanska:add-vector-search-collection-ga

Conversation

@kkanska
Copy link
Contributor

@kkanska kkanska commented Feb 20, 2026

This PR introduces promotes the Vector Search Collection resource to GA. This allows users to manage Vector Search Collections declaratively using Terraform via v1 API.

API reference: https://docs.cloud.google.com/vertex-ai/docs/vectorsearch/reference/rest/v1/projects.locations.collections/create

`google_vector_search_collection` (ga)

@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Feb 20, 2026
@kkanska kkanska marked this pull request as ready for review February 20, 2026 20:26
@github-actions github-actions bot requested a review from hao-nan-li February 20, 2026 20:27
@github-actions
Copy link

Googlers: For automatic test runs see go/terraform-auto-test-runs.

@hao-nan-li, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@modular-magician modular-magician removed the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Feb 20, 2026
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 14 files changed, 1688 insertions(+), 7 deletions(-))
google-beta provider: Diff ( 3 files changed, 3 insertions(+), 13 deletions(-))
terraform-google-conversion: Diff ( 2 files changed, 15 insertions(+))
Open in Cloud Shell: Diff ( 4 files changed, 139 insertions(+))

Missing service labels

The following new resources do not have corresponding service labels:

  • google_vector_search_collection

If you believe this detection to be incorrect please raise the concern with your reviewer. Googlers: This error is safe to ignore once you've completed go/fix-missing-service-labels.
An override-missing-service-label label can be added to allow merging.

@modular-magician
Copy link
Collaborator

Non-exercised tests

🔴 Tests were added that are GA-only additions and require manual runs:

  • TestAccVectorSearchCollection_update
  • TestAccVectorSearchCollection_vectorsearchCollectionBasicExample

Tests analytics

Total tests: 2
Passed tests: 2
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • vectorsearch

🟢 All tests passed!

View the build log

@kkanska
Copy link
Contributor Author

kkanska commented Feb 20, 2026

I've completed go/fix-missing-service-labels when I introduced the beta version of the resource.

Copy link
Contributor

@hao-nan-li hao-nan-li left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also upload the log of local test run in GA?

@kkanska
Copy link
Contributor Author

kkanska commented Feb 22, 2026

$ make testacc TEST=./google/services/vectorsearch TESTARGS='-run=TestAccVectorSearchCollection'
sh -c "'/usr/local/google/home/kkanska/.gvm/pkgsets/go1.24/global/src/github.com/hashicorp/terraform-provider-google/scripts/gofmtcheck.sh'"
==> Checking that code complies with gofmt requirements...
go vet
TF_ACC_REFRESH_AFTER_APPLY=1 TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./google/services/vectorsearch -v -run=TestAccVectorSearchCollection -timeout 240m -ldflags="-X=github.com/hashicorp/terraform-provider-google/version.ProviderVersion=acc"
=== RUN   TestAccVectorSearchCollection_vectorsearchCollectionBasicExample
=== PAUSE TestAccVectorSearchCollection_vectorsearchCollectionBasicExample
=== RUN   TestAccVectorSearchCollection_update
=== PAUSE TestAccVectorSearchCollection_update
=== CONT  TestAccVectorSearchCollection_vectorsearchCollectionBasicExample
=== CONT  TestAccVectorSearchCollection_update
--- PASS: TestAccVectorSearchCollection_vectorsearchCollectionBasicExample (32.35s)
--- PASS: TestAccVectorSearchCollection_update (40.30s)
PASS
ok  	github.com/hashicorp/terraform-provider-google/google/services/vectorsearch	40.448s

@github-actions github-actions bot requested a review from hao-nan-li February 22, 2026 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants