Add missing tool types and schema enhancements to google_ces_tool resource#17758
Add missing tool types and schema enhancements to google_ces_tool resource#17758sirohia wants to merge 6 commits into
Conversation
|
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. |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit ee804ff: Diff reportYour PR generated the following diffs in downstream repositories:
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_ces_tool" "primary" {
data_store_tool {
data_store_source {
data_store {
name = # value needed
}
filter = # value needed
}
filter_parameter_behavior = # value needed
}
python_function {
service_directory_config {
service = # value needed
}
}
widget_tool {
data_mapping {
python_function {
name = # value needed
python_code = # value needed
service_directory_config {
service = # value needed
}
}
source_tool_name = # value needed
}
parameters {
additional_properties = # value needed
any_of = # value needed
default = # value needed
defs = # value needed
description = # value needed
enum = # value needed
items = # value needed
max_items = # value needed
maximum = # value needed
min_items = # value needed
minimum = # value needed
nullable = # value needed
prefix_items = # value needed
ref = # value needed
required = # value needed
title = # value needed
unique_items = # value needed
}
text_response_config {
text_response_instruction = # value needed
}
}
}
Test reportAnalytics
Affected Service Packages
Step 1: Replaying Mode Action takenFound 7 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
View the replaying VCR build log Step 2: Recording Mode
🟢 All tests passed! View the recording VCR build log or the debug logs folder for detailed results. @sirohia, @hao-nan-li VCR tests complete for ee804ff! |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit c8690d4: Diff reportYour PR generated the following diffs in downstream repositories:
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_ces_tool" "primary" {
data_store_tool {
data_store_source {
data_store {
name = # value needed
}
filter = # value needed
}
filter_parameter_behavior = # value needed
}
python_function {
service_directory_config {
service = # value needed
}
}
widget_tool {
data_mapping {
python_function {
name = # value needed
python_code = # value needed
service_directory_config {
service = # value needed
}
}
source_tool_name = # value needed
}
parameters {
additional_properties = # value needed
any_of = # value needed
default = # value needed
defs = # value needed
description = # value needed
enum = # value needed
items = # value needed
max_items = # value needed
maximum = # value needed
min_items = # value needed
minimum = # value needed
nullable = # value needed
prefix_items = # value needed
ref = # value needed
required = # value needed
title = # value needed
unique_items = # value needed
}
text_response_config {
text_response_instruction = # value needed
}
}
}
Test reportAnalytics
Affected Service Packages
Step 1: Replaying Mode 🟢 All tests passed in Replaying mode! No Recording was needed. View the replaying VCR build log @sirohia, @hao-nan-li VCR tests complete for c8690d4! |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 4688cd2: Diff reportYour PR generated the following diffs in downstream repositories:
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_ces_tool" "primary" {
python_function {
service_directory_config {
service = # value needed
}
}
widget_tool {
data_mapping {
python_function {
name = # value needed
python_code = # value needed
service_directory_config {
service = # value needed
}
}
source_tool_name = # value needed
}
parameters {
additional_properties = # value needed
any_of = # value needed
default = # value needed
defs = # value needed
description = # value needed
enum = # value needed
items = # value needed
max_items = # value needed
maximum = # value needed
min_items = # value needed
minimum = # value needed
nullable = # value needed
prefix_items = # value needed
ref = # value needed
required = # value needed
title = # value needed
unique_items = # value needed
}
text_response_config {
text_response_instruction = # value needed
}
}
}
Test reportAnalytics
Affected Service Packages
Step 1: Replaying Mode Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
View the replaying VCR build log Step 2: Recording Mode
Caution Issues requiring attention before PR completion 🔴 Initial Recording Failed: Some tests failed during the recording step. See the table above for details. Please address these issues to complete your PR. If you believe these detections are incorrect or unrelated to your change, please raise the concern with your reviewer. View the recording VCR build log or the debug logs folder for detailed results. @sirohia, @hao-nan-li VCR tests complete for 4688cd2! |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 5600967: Diff reportYour PR generated the following diffs in downstream repositories:
Test reportAnalytics
Affected Service Packages
Step 1: Replaying Mode Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
View the replaying VCR build log Step 2: Recording Mode
Caution Issues requiring attention before PR completion 🔴 Initial Recording Failed: Some tests failed during the recording step. See the table above for details. Please address these issues to complete your PR. If you believe these detections are incorrect or unrelated to your change, please raise the concern with your reviewer. View the recording VCR build log or the debug logs folder for detailed results. @sirohia, @hao-nan-li VCR tests complete for 5600967! |
…o pass API validation
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 7c119b6: Diff reportYour PR generated the following diffs in downstream repositories:
Test reportAnalytics
Affected Service Packages
Step 1: Replaying Mode Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
View the replaying VCR build log Step 2: Recording Mode
Caution Issues requiring attention before PR completion 🔴 Initial Recording Failed: Some tests failed during the recording step. See the table above for details. Please address these issues to complete your PR. If you believe these detections are incorrect or unrelated to your change, please raise the concern with your reviewer. View the recording VCR build log or the debug logs folder for detailed results. @sirohia, @hao-nan-li VCR tests complete for 7c119b6! |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 12aefac: Diff reportYour PR generated the following diffs in downstream repositories:
Test reportAnalytics
Affected Service Packages
Step 1: Replaying Mode Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
View the replaying VCR build log Step 2: Recording Mode
Caution Issues requiring attention before PR completion 🔴 Initial Recording Failed: Some tests failed during the recording step. See the table above for details. Please address these issues to complete your PR. If you believe these detections are incorrect or unrelated to your change, please raise the concern with your reviewer. View the recording VCR build log or the debug logs folder for detailed results. @sirohia, @hao-nan-li VCR tests complete for 12aefac! |
Add missing tool types and schema enhancements to google_ces_tool
This PR completes the schema coverage for the
google_ces_toolresource in Magic Modules to bring it into full parity with the Customer Engagement Suite (CES) REST API. It adds entirely missing customer-managed tool types, exposes read-only platform-managed tool blocks, and resolves several missing attribute gaps in the existing tools.Documentation
https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/rest/v1/projects.locations.apps.tools#resource:-tool
Technical Details
agentToolfileSearchToolwidgetToolremoteAgentToolconnectorToolmcpToolpromptConfigwith customtextPromptandvoicePromptsettings togoogleSearchTool.dataStoreSourceandfilterParameterBehaviortodataStoreTool(with mutual exclusivityconflicts:tags configured againstengineSource).serviceDirectoryConfigto the top-levelpythonFunction.docs.noteblock at the top ofTool.yamldetailing the relationship betweengoogle_ces_toolandgoogle_ces_toolset.ces_tool_agent_basic.tf.tmpl,ces_tool_file_search_basic.tf.tmpl, andces_tool_widget_basic.tf.tmpl) to showcase the new tools.Verification Results