Skip to content

Commit 434fdbd

Browse files
Promote Gemini Code Tools Setting Binding from google-beta to google (#13524)
[upstream:931c44e56b18280746440737ba65146ecbf59e3a] Signed-off-by: Modular Magician <[email protected]>
1 parent 68143d2 commit 434fdbd

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

.changelog/13524.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:new-resource
2+
`google_gemini_code_tools_setting_binding` (GA)
3+
```

google-beta/services/gemini/resource_gemini_code_tools_setting_binding_test.go

+1-7
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func TestAccGeminiCodeToolsSettingBinding_update(t *testing.T) {
2222

2323
acctest.VcrTest(t, resource.TestCase{
2424
PreCheck: func() { acctest.AccTestPreCheck(t) },
25-
ProtoV5ProviderFactories: acctest.ProtoV5ProviderBetaFactories(t),
25+
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t),
2626
Steps: []resource.TestStep{
2727
{
2828
Config: testAccGeminiCodeToolsSettingBinding_basic(context),
@@ -54,11 +54,9 @@ func TestAccGeminiCodeToolsSettingBinding_update(t *testing.T) {
5454
func testAccGeminiCodeToolsSettingBinding_basic(context map[string]interface{}) string {
5555
return acctest.Nprintf(`
5656
data "google_project" "project" {
57-
provider = google-beta
5857
}
5958
6059
resource "google_gemini_code_tools_setting" "basic" {
61-
provider = google-beta
6260
code_tools_setting_id = "%{code_tools_setting_id}"
6361
location = "global"
6462
labels = {"my_key" = "my_value"}
@@ -75,7 +73,6 @@ resource "google_gemini_code_tools_setting" "basic" {
7573
}
7674
7775
resource "google_gemini_code_tools_setting_binding" "basic_binding" {
78-
provider = google-beta
7976
code_tools_setting_id = google_gemini_code_tools_setting.basic.code_tools_setting_id
8077
setting_binding_id = "%{setting_binding_id}"
8178
location = "global"
@@ -87,11 +84,9 @@ resource "google_gemini_code_tools_setting_binding" "basic_binding" {
8784
func testAccGeminiCodeToolsSettingBinding_update(context map[string]interface{}) string {
8885
return acctest.Nprintf(`
8986
data "google_project" "project" {
90-
provider = google-beta
9187
}
9288
9389
resource "google_gemini_code_tools_setting" "basic" {
94-
provider = google-beta
9590
code_tools_setting_id = "%{code_tools_setting_id}"
9691
location = "global"
9792
labels = {"my_key" = "my_value"}
@@ -108,7 +103,6 @@ resource "google_gemini_code_tools_setting" "basic" {
108103
}
109104
110105
resource "google_gemini_code_tools_setting_binding" "basic_binding" {
111-
provider = google-beta
112106
code_tools_setting_id = google_gemini_code_tools_setting.basic.code_tools_setting_id
113107
setting_binding_id = "%{setting_binding_id}"
114108
location = "global"

website/docs/r/gemini_code_tools_setting_binding.html.markdown

-4
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ description: |-
2323

2424
The resource for managing CodeTools setting bindings for Admin Control.
2525

26-
~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
27-
See [Provider Versions](https://terraform.io/docs/providers/google/guides/provider_versions.html) for more details on beta resources.
2826

2927
To get more information about CodeToolsSettingBinding, see:
3028
* How-to Guides
@@ -35,7 +33,6 @@ To get more information about CodeToolsSettingBinding, see:
3533

3634
```hcl
3735
resource "google_gemini_code_tools_setting" "example" {
38-
provider = google-beta
3936
code_tools_setting_id = "ls-tf1"
4037
location = "global"
4138
labels = {"my_key": "my_value"}
@@ -52,7 +49,6 @@ resource "google_gemini_code_tools_setting" "example" {
5249
}
5350
5451
resource "google_gemini_code_tools_setting_binding" "example" {
55-
provider = google-beta
5652
code_tools_setting_id = google_gemini_code_tools_setting.basic.code_tools_setting_id
5753
setting_binding_id = "ls-tf1b1"
5854
location = "global"

0 commit comments

Comments
 (0)