@@ -22,7 +22,7 @@ func TestAccGeminiDataSharingWithGoogleSettingBinding_update(t *testing.T) {
22
22
23
23
acctest .VcrTest (t , resource.TestCase {
24
24
PreCheck : func () { acctest .AccTestPreCheck (t ) },
25
- ProtoV5ProviderFactories : acctest .ProtoV5ProviderBetaFactories (t ),
25
+ ProtoV5ProviderFactories : acctest .ProtoV5ProviderFactories (t ),
26
26
Steps : []resource.TestStep {
27
27
{
28
28
Config : testAccGeminiDataSharingWithGoogleSettingBinding_basic (context ),
@@ -54,19 +54,16 @@ func TestAccGeminiDataSharingWithGoogleSettingBinding_update(t *testing.T) {
54
54
func testAccGeminiDataSharingWithGoogleSettingBinding_basic (context map [string ]interface {}) string {
55
55
return acctest .Nprintf (`
56
56
data "google_project" "project" {
57
- provider = google-beta
58
57
}
59
58
60
59
resource "google_gemini_data_sharing_with_google_setting" "basic" {
61
- provider = google-beta
62
60
data_sharing_with_google_setting_id = "%{data_sharing_with_google_setting_id}"
63
61
location = "global"
64
62
labels = {"my_key" = "my_value"}
65
63
enable_preview_data_sharing = true
66
64
}
67
65
68
66
resource "google_gemini_data_sharing_with_google_setting_binding" "basic_binding" {
69
- provider = google-beta
70
67
data_sharing_with_google_setting_id = google_gemini_data_sharing_with_google_setting.basic.data_sharing_with_google_setting_id
71
68
setting_binding_id = "%{setting_binding_id}"
72
69
location = "global"
@@ -78,25 +75,22 @@ resource "google_gemini_data_sharing_with_google_setting_binding" "basic_binding
78
75
func testAccGeminiDataSharingWithGoogleSettingBinding_update (context map [string ]interface {}) string {
79
76
return acctest .Nprintf (`
80
77
data "google_project" "project" {
81
- provider = google-beta
82
78
}
83
79
84
80
resource "google_gemini_data_sharing_with_google_setting" "basic" {
85
- provider = google-beta
86
81
data_sharing_with_google_setting_id = "%{data_sharing_with_google_setting_id}"
87
82
location = "global"
88
83
labels = {"my_key" = "my_value"}
89
84
enable_preview_data_sharing = true
90
85
}
91
86
92
87
resource "google_gemini_data_sharing_with_google_setting_binding" "basic_binding" {
93
- provider = google-beta
94
88
data_sharing_with_google_setting_id = google_gemini_data_sharing_with_google_setting.basic.data_sharing_with_google_setting_id
95
89
setting_binding_id = "%{setting_binding_id}"
96
90
location = "global"
97
91
target = "projects/${data.google_project.project.number}"
98
92
labels = {"my_key" = "my_value"}
99
- product = "GEMINI_CODE_ASSIST "
93
+ product = "GEMINI_CLOUD_ASSIST "
100
94
}
101
95
` , context )
102
96
}
0 commit comments