Adding ToolVersion to Dialogflow CX#15945
Adding ToolVersion to Dialogflow CX#15945slevenick merged 5 commits intoGoogleCloudPlatform:mainfrom
Conversation
shang-jason
commented
Dec 12, 2025
|
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: For automatic test runs see go/terraform-auto-test-runs. @slevenick, 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: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_dialogflow_cx_tool_version" "primary" {
tool {
connector_spec {
end_user_auth_config {
oauth2_auth_code_config {
oauth_token = # value needed
}
oauth2_jwt_bearer_config {
client_key = # value needed
issuer = # value needed
subject = # value needed
}
}
}
open_api_spec {
authentication {
api_key_config {
api_key = # value needed
key_name = # value needed
request_location = # value needed
secret_version_for_api_key = # value needed
}
bearer_token_config {
secret_version_for_token = # value needed
token = # value needed
}
service_agent_auth_config {
service_agent_auth = # value needed
}
}
}
}
}
|
Tests analyticsTotal tests: 50 Click here to see the affected service packages
Action takenFound 6 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
|
|
||
| resource "google_integration_connectors_connection" "integration_connector" { | ||
| provider = google-beta | ||
| name = "terraform-df-cx-tool-connection" |
There was a problem hiding this comment.
This should be a variable set through the template like {{index $.Vars "agent_name"}} up above. This lets us add random suffixes to these to ensure they can be run in parallel.
Same for the dataset & table ids below
|
@shang-jason, this PR is waiting for action from you. If no action is taken, this PR will be closed in 28 days. Please address any comments or change requests, or re-request review from a core reviewer if no action is required. This notification can be disabled with the |
d09102e to
bf79a29
Compare
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_dialogflow_cx_tool_version" "primary" {
tool {
connector_spec {
end_user_auth_config {
oauth2_auth_code_config {
oauth_token = # value needed
}
oauth2_jwt_bearer_config {
client_key = # value needed
issuer = # value needed
subject = # value needed
}
}
}
open_api_spec {
authentication {
api_key_config {
api_key = # value needed
key_name = # value needed
request_location = # value needed
secret_version_for_api_key = # value needed
}
bearer_token_config {
secret_version_for_token = # value needed
token = # value needed
}
service_agent_auth_config {
service_agent_auth = # value needed
}
}
}
}
}
|
Tests analyticsTotal tests: 50 Click here to see the affected service packages
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
|
|
🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_dialogflow_cx_tool_version" "primary" {
tool {
connector_spec {
end_user_auth_config {
oauth2_auth_code_config {
oauth_token = # value needed
}
oauth2_jwt_bearer_config {
client_key = # value needed
issuer = # value needed
subject = # value needed
}
}
}
open_api_spec {
authentication {
api_key_config {
api_key = # value needed
key_name = # value needed
request_location = # value needed
secret_version_for_api_key = # value needed
}
bearer_token_config {
secret_version_for_token = # value needed
token = # value needed
}
service_agent_auth_config {
service_agent_auth = # value needed
}
}
}
}
}
|
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_dialogflow_cx_tool_version" "primary" {
tool {
connector_spec {
end_user_auth_config {
oauth2_auth_code_config {
oauth_token = # value needed
}
oauth2_jwt_bearer_config {
client_key = # value needed
issuer = # value needed
subject = # value needed
}
}
}
open_api_spec {
authentication {
api_key_config {
api_key = # value needed
key_name = # value needed
request_location = # value needed
secret_version_for_api_key = # value needed
}
bearer_token_config {
secret_version_for_token = # value needed
token = # value needed
}
service_agent_auth_config {
service_agent_auth = # value needed
}
}
}
}
}
|
Tests analyticsTotal tests: 50 Click here to see the affected service packages
Action takenFound 6 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
Tests analyticsTotal tests: 50 Click here to see the affected service packages
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
|
|
🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_dialogflow_cx_tool_version" "primary" {
tool {
connector_spec {
end_user_auth_config {
oauth2_auth_code_config {
oauth_token = # value needed
}
oauth2_jwt_bearer_config {
client_key = # value needed
issuer = # value needed
subject = # value needed
}
}
}
open_api_spec {
authentication {
api_key_config {
api_key = # value needed
key_name = # value needed
request_location = # value needed
secret_version_for_api_key = # value needed
}
bearer_token_config {
secret_version_for_token = # value needed
token = # value needed
}
service_agent_auth_config {
service_agent_auth = # value needed
}
}
}
}
}
|
Tests analyticsTotal tests: 50 Click here to see the affected service packages
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
|
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
|
@slevenick This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
|
@GoogleCloudPlatform/terraform-team @slevenick This PR has been waiting for review for 1 week. Please take a look! Use the label |
slevenick
left a comment
There was a problem hiding this comment.
Generally this looks good, one question about the parent field though, I think it should be required
| The tool to create a Version for. | ||
| Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/tools/<Tool ID>. | ||
| url_param_only: true | ||
| immutable: true |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_dialogflow_cx_tool_version" "primary" {
tool {
connector_spec {
end_user_auth_config {
oauth2_auth_code_config {
oauth_token = # value needed
}
oauth2_jwt_bearer_config {
client_key = # value needed
issuer = # value needed
subject = # value needed
}
}
}
open_api_spec {
authentication {
api_key_config {
api_key = # value needed
key_name = # value needed
request_location = # value needed
secret_version_for_api_key = # value needed
}
bearer_token_config {
secret_version_for_token = # value needed
token = # value needed
}
service_agent_auth_config {
service_agent_auth = # value needed
}
}
}
}
}
|
Tests analyticsTotal tests: 52 Click here to see the affected service packages
🟢 All tests passed! View the build log |
0e268be
