Add Dialogflow Environment Resource#15990
Add Dialogflow Environment Resource#15990Spheny1 wants to merge 12 commits intoGoogleCloudPlatform:mainfrom
Conversation
|
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. @NickElliot, 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_environment" "primary" {
fulfillment {
display_name = # value needed
features {
type = # value needed
}
generic_web_service {
password = # value needed
request_headers = # value needed
uri = # value needed
username = # value needed
}
name = # value needed
}
location = # value needed
text_to_speech_settings {
output_audio_encoding = # value needed
synthesize_speech_configs {
volume_gain_db = # value needed
}
}
}
Missing service labelsThe following new resources do not have corresponding service labels:
If you believe this detection to be incorrect please raise the concern with your reviewer. Googlers: This error is safe to ignore once you've completed go/fix-missing-service-labels. |
Tests analyticsTotal tests: 18 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 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. |
NickElliot
left a comment
There was a problem hiding this comment.
test is failing due to this unclosed string
mmv1/templates/terraform/examples/dialogflow_environment_basic.tf.tmpl
Outdated
Show resolved
Hide resolved
|
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_environment" "primary" {
fulfillment {
display_name = # value needed
features {
type = # value needed
}
generic_web_service {
password = # value needed
request_headers = # value needed
uri = # value needed
username = # value needed
}
name = # value needed
}
location = # value needed
text_to_speech_settings {
output_audio_encoding = # value needed
synthesize_speech_configs {
volume_gain_db = # value needed
}
}
}
Missing service labelsThe following new resources do not have corresponding service labels:
If you believe this detection to be incorrect please raise the concern with your reviewer. Googlers: This error is safe to ignore once you've completed go/fix-missing-service-labels. |
Tests analyticsTotal tests: 18 Click here to see the affected service packages
Action takenFound 1 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. |
|
What is the new error that this throwing clicking on the link gives me a 403 error and I have this working locally so I am not sure what I need to do. |
|
/gcbrun |
|
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_environment" "primary" {
fulfillment {
display_name = # value needed
features {
type = # value needed
}
generic_web_service {
password = # value needed
request_headers = # value needed
uri = # value needed
username = # value needed
}
name = # value needed
}
location = # value needed
text_to_speech_settings {
output_audio_encoding = # value needed
synthesize_speech_configs {
volume_gain_db = # value needed
}
}
}
Missing service labelsThe following new resources do not have corresponding service labels:
If you believe this detection to be incorrect please raise the concern with your reviewer. Googlers: This error is safe to ignore once you've completed go/fix-missing-service-labels. |
Tests analyticsTotal tests: 18 Click here to see the affected service packages
Action takenFound 1 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. |
|
@NickElliot This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
|
@GoogleCloudPlatform/terraform-team @NickElliot This PR has been waiting for review for 1 week. Please take a look! Use the label |
|
@GoogleCloudPlatform/terraform-team @NickElliot This PR has been waiting for review for 2 weeks. Please take a look! Use the label |
NickElliot
left a comment
There was a problem hiding this comment.
you still have unclosed strings in these!
resource_dialogflow_environment_generated_test.go:62: Step 1/2 error: Error running pre-apply refresh: exit status 1
Error: Invalid multi-line string
on terraform_plugin_test.tf line 39, in resource "google_dialogflow_environment" "basic_environment":
39: description = "basic environment
40: depends_on = [google_dialogflow_agent.basic_agent]
Quoted strings may not be split over multiple lines. To produce a multi-line
string, either use the \n escape to represent a newline character or use the
"heredoc" multi-line template syntax.
| } | ||
| resource "google_dialogflow_environment" "basic_environment" { | ||
| environmentid = "basic-environment" | ||
| description = "basic environment |
|
@NickElliot This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
| key_description: | | ||
| The language. |
There was a problem hiding this comment.
remove these please! this attribute is deprecated
removed key_description
NickElliot
left a comment
There was a problem hiding this comment.
I'm not sure why this build is failing at this point given it was fine before
The experienced error is as follows:
Property synthesizeSpeechConfigs value_type.name can't be set in resource Environment
is this still building successfully for you locally?
A new validation is added in the #16179. That could be the reason. |
NickElliot
left a comment
There was a problem hiding this comment.
thanks for the pointer zhenhua!
please remove this line
Co-authored-by: Nick Elliot <nickelliot@google.com>
|
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_environment" "primary" {
fulfillment {
display_name = # value needed
features {
type = # value needed
}
generic_web_service {
password = # value needed
request_headers = # value needed
uri = # value needed
username = # value needed
}
name = # value needed
}
location = # value needed
text_to_speech_settings {
output_audio_encoding = # value needed
synthesize_speech_configs {
volume_gain_db = # value needed
}
}
}
Missing service labelsThe following new resources do not have corresponding service labels:
If you believe this detection to be incorrect please raise the concern with your reviewer. Googlers: This error is safe to ignore once you've completed go/fix-missing-service-labels. |
Tests analyticsTotal tests: 18 Click here to see the affected service packages
Action takenFound 1 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. |
NickElliot
left a comment
There was a problem hiding this comment.
Test is now hitting the error:
Error: Error creating Environment: googleapi: Error 404: com.google.apps.framework.request.NotFoundException: No intent-based agent found for project id 'ci-test-project-188019'.
with google_dialogflow_environment.basic_environment,
Add a
depends_on = [google_dialogflow_agent.agent]
to the environment resource in the test!
|
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_environment" "primary" {
fulfillment {
display_name = # value needed
features {
type = # value needed
}
generic_web_service {
password = # value needed
request_headers = # value needed
uri = # value needed
username = # value needed
}
name = # value needed
}
location = # value needed
text_to_speech_settings {
output_audio_encoding = # value needed
synthesize_speech_configs {
volume_gain_db = # value needed
}
}
}
Missing service labelsThe following new resources do not have corresponding service labels:
If you believe this detection to be incorrect please raise the concern with your reviewer. Googlers: This error is safe to ignore once you've completed go/fix-missing-service-labels. |
Tests analyticsTotal tests: 18 Click here to see the affected service packages
Action takenFound 1 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. |
Add support for Dialogflow Environment.
Release Note Template for Downstream PRs (will be copied)