Skip to content

Promote Vector Search 2.0 Collection to GA#16619

Merged
SirGitsalot merged 3 commits intoGoogleCloudPlatform:mainfrom
kkanska:add-vector-search-collection-ga
Mar 5, 2026
Merged

Promote Vector Search 2.0 Collection to GA#16619
SirGitsalot merged 3 commits intoGoogleCloudPlatform:mainfrom
kkanska:add-vector-search-collection-ga

Conversation

@kkanska
Copy link
Copy Markdown
Contributor

@kkanska kkanska commented Mar 4, 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 Mar 4, 2026
@github-actions github-actions Bot requested a review from SirGitsalot March 4, 2026 23:29
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 4, 2026

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

@SirGitsalot, 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.

@kkanska
Copy link
Copy Markdown
Contributor Author

kkanska commented Mar 4, 2026

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

@kkanska
Copy link
Copy Markdown
Contributor Author

kkanska commented Mar 4, 2026

Logs of local test run in GA:

$ 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.89s)
--- PASS: TestAccVectorSearchCollection_update (40.97s)
PASS
ok  	github.com/hashicorp/terraform-provider-google/google/services/vectorsearch	41.119s

@modular-magician modular-magician added service/vectorsearch and removed awaiting-approval Pull requests that need reviewer's approval to run presubmit tests labels Mar 5, 2026
@modular-magician
Copy link
Copy Markdown
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(+))

@modular-magician
Copy link
Copy Markdown
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

Copy link
Copy Markdown
Member

@SirGitsalot SirGitsalot left a comment

Choose a reason for hiding this comment

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

Ran the new GA tests on TeamCity and they passed.

For future reference, here's the original PR and the revert PR.

@SirGitsalot SirGitsalot added this pull request to the merge queue Mar 5, 2026
Merged via the queue into GoogleCloudPlatform:main with commit 86e09ae Mar 5, 2026
30 checks passed
@kkanska kkanska deleted the add-vector-search-collection-ga branch March 6, 2026 00:25
aditikumarii-google pushed a commit to aditikumarii-google/magic-modules that referenced this pull request Mar 10, 2026
ChuAmberZhang pushed a commit to ChuAmberZhang/magic-modules that referenced this pull request Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants