Skip to content

Commit e42e41b

Browse files
committed
2 parents 27d8204 + ce96cf0 commit e42e41b

23 files changed

Lines changed: 72 additions & 369 deletions

mmv1/products/ces/App.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,8 +558,14 @@ properties:
558558
description: |-
559559
Optional. Default value of the data. Represents a dynamically typed value
560560
which can be either null, a number, a string, a boolean, a struct,
561-
or a list of values. The provided default value must be compatible
562-
with the defined 'type' and other schema constraints.
561+
or a list of values. The provided default value must be encoded as a JSON string.
562+
Use `jsonencode` in Terraform HCL to encode the default value.
563+
state_func: func(v interface{}) string { s, _ := structure.NormalizeJsonString(v); return s }
564+
send_empty_value: true
565+
validation:
566+
function: validation.StringIsJSON
567+
custom_expand: templates/terraform/custom_expand/json_value.tmpl
568+
custom_flatten: templates/terraform/custom_flatten/json_schema.tmpl
563569
- name: additionalProperties
564570
type: String
565571
description: |-

mmv1/products/ces/Tool.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,7 @@ properties:
592592
description: |-
593593
Number of search results to return per query.
594594
The default value is 10. The maximum allowed value is 10.
595+
deprecation_message: '`max_results` is deprecated and will be removed in a future release.'
595596
- name: modalityConfigs
596597
type: Array
597598
description: The modality configs for the data store.

mmv1/templates/terraform/examples/ces_agent_basic.tf.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ resource "google_ces_agent" "ces_child_agent" {
7171
instruction = "You are a helpful assistant for this example."
7272

7373
model_settings {
74-
model = "gemini-2.5-flash-001"
74+
model = "gemini-3.0-flash-001"
7575
temperature = 0.5
7676
}
7777

@@ -116,7 +116,7 @@ resource "google_ces_agent" "ces_agent_basic" {
116116
instruction = "You are a helpful assistant for this example."
117117

118118
model_settings {
119-
model = "gemini-2.5-flash-001"
119+
model = "gemini-3.0-flash-001"
120120
temperature = 0.5
121121
}
122122

mmv1/templates/terraform/examples/ces_agent_remote_dialogflow_agent.tf.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ resource "google_ces_agent" "ces_agent_remote_dialogflow_agent" {
2323
display_name = "{{index $.Vars "agent_display_name"}}"
2424

2525
model_settings {
26-
model = "gemini-2.5-flash-001"
26+
model = "gemini-3.0-flash-001"
2727
temperature = 0.5
2828
}
2929

mmv1/templates/terraform/examples/ces_agent_remote_dialogflow_agent_interruption.tf.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ resource "google_ces_agent" "{{$.PrimaryResourceId}}" {
2323
display_name = "{{index $.Vars "agent_display_name"}}"
2424

2525
model_settings {
26-
model = "gemini-2.5-flash-001"
26+
model = "gemini-3.0-flash-001"
2727
temperature = 0.5
2828
}
2929

mmv1/templates/terraform/examples/ces_app_ambient_sound_gcs_uri.tf.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ resource "google_ces_app" "ces_app_ambient_sound_gcs_uri" {
6363
}
6464

6565
model_settings {
66-
model = "gemini-2.5-flash-001"
66+
model = "gemini-3.0-flash-001"
6767
temperature = 0.5
6868
}
6969

mmv1/templates/terraform/examples/ces_app_basic.tf.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ resource "google_ces_app" "ces_app_basic" {
8585
}
8686

8787
model_settings {
88-
model = "gemini-2.5-flash-001"
88+
model = "gemini-3.0-flash-001"
8989
temperature = 0.5
9090
}
9191

@@ -177,7 +177,6 @@ variable_declarations {
177177
client_certificate_settings {
178178
tls_certificate = file("test-fixtures/cert.pem")
179179
private_key = google_secret_manager_secret_version.fake_secret_version.name
180-
passphrase = google_secret_manager_secret_version.fake_secret_version.name
181180
}
182181

183182
# Root agent should not be specified when creating an app

mmv1/templates/terraform/examples/ces_example_basic.tf.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ resource "google_ces_agent" "ces_base_agent" {
6262
instruction = "You are a helpful assistant for this example."
6363

6464
model_settings {
65-
model = "gemini-2.5-flash-001"
65+
model = "gemini-3.0-flash-001"
6666
temperature = 0.5
6767
}
6868

@@ -79,7 +79,7 @@ resource "google_ces_agent" "ces_child_agent" {
7979
instruction = "You are a helpful assistant for this example."
8080

8181
model_settings {
82-
model = "gemini-2.5-flash-001"
82+
model = "gemini-3.0-flash-001"
8383
temperature = 0.5
8484
}
8585

mmv1/templates/terraform/examples/ces_guardrail_generative_answer_llm_prompt_security.tf.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ resource "google_ces_guardrail" "ces_guardrail_generative_answer_llm_prompt_secu
3131
custom_policy {
3232
max_conversation_messages = 10
3333
model_settings {
34-
model = "gemini-2.5-flash-001"
34+
model = "gemini-3.0-flash-001"
3535
temperature = 50
3636
}
3737
prompt = "example_prompt"

mmv1/templates/terraform/examples/ces_guardrail_llm_policy.tf.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ resource "google_ces_guardrail" "ces_guardrail_llm_policy" {
3030
llm_policy {
3131
max_conversation_messages = 10
3232
model_settings {
33-
model = "gemini-2.5-flash-001"
33+
model = "gemini-3.0-flash-001"
3434
temperature = 50
3535
}
3636
prompt = "example_prompt"

0 commit comments

Comments
 (0)