Skip to content

Update ces fields#18205

Draft
mp32154 wants to merge 8 commits into
GoogleCloudPlatform:mainfrom
mp32154:update-ces-fields
Draft

Update ces fields#18205
mp32154 wants to merge 8 commits into
GoogleCloudPlatform:mainfrom
mp32154:update-ces-fields

Conversation

@mp32154

@mp32154 mp32154 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Description

This PR adds support for several missing API fields across Google Cloud Event Threat Detection (CES) resources in Magic Modules and updates integration tests to cover all new fields.

Changes by resource:

  • Agent (Agent.yaml):
    • Added proactiveExecutionEnabled (type: Boolean) to afterAgentCallbacks, afterModelCallbacks, afterToolCallbacks, beforeAgentCallbacks, beforeModelCallbacks, and beforeToolCallbacks.
    • Added languageCodeVariable under remoteDialogflowAgent.
    • Added transferRules block for defining routing/escalation logic.
  • App (App.yaml):
    • Added defaultChannelProfile.instagramConfig.instagramAccountId, defaultChannelProfile.noiseSuppressionLevel, defaultChannelProfile.whatsappConfig (phoneNumber, phoneNumberId, wabaId).
    • Added defaultChannelProfile.webWidgetConfig.securitySettings (allowedOrigins, enableOriginCheck, enablePublicAccess, enableRecaptcha).
    • Added errorHandlingSettings (endSessionConfig.escalateSession, errorHandlingStrategy, fallbackResponseConfig.customFallbackMessages, fallbackResponseConfig.maxFallbackAttempts).
    • Added evaluationMetricsThresholds (goldenEvaluationMetricsThresholds.toolMatchingSettings.extraToolCallBehavior, goldenEvaluationMetricsThresholds.turnLevelMetricsThresholds.semanticSimilarityChannel, goldenHallucinationMetricBehavior, scenarioHallucinationMetricBehavior).
    • Added top-level locked boolean.
    • Added logging configurations under loggingSettings (conversationLoggingSettings.retentionWindow, evaluationAudioRecordingConfig, metricAnalysisSettings.llmMetricsOptedOut, unredactedAudioRecordingConfig, unredactedBigqueryExportSettings).
    • Added validation parameters to variable schemas (maxItems, maximum, minItems, minimum).
    • Added vpcScSettings.allowedOrigins.
  • Deployment (Deployment.yaml):
    • Added channelProfile properties (instagramConfig, noiseSuppressionLevel, whatsappConfig).
    • Added experimentConfig.versionRelease configuration.
    • Added credentials structures (instagramCredentials, whatsappCredentials).
  • Example (Example.yaml):
    • Added message chunk properties (blob data/mimeType, defaultVariables, payload, transcript).
  • Guardrail (Guardrail.yaml):
    • Added proactiveExecutionEnabled to all callback configurations.
    • Added modelArmor configuration block (failOpen, modelArmorTemplate, sanitizationScope).
  • Tool (Tool.yaml):
    • Added scopes to service account authentications.
    • Added serviceDirectoryConfig under python function configurations.
  • Toolset (Toolset.yaml):
    • Added connectorToolset configuration block.
    • Added toolOverrides to mcpToolset.
    • Added top-level timeout.

Verification

  • Generated the Google Provider (ga version) locally and confirmed successful build.
  • Updated acceptance tests to configure and update the new fields. Verified that the package compiles and all tests pass syntax check successfully.

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

ces: added `proactive_execution_enabled`, `language_code_variable`, and `transfer_rules` fields to `google_ces_agent` resource
ces: added `locked`, `vpc_sc_settings`, `error_handling_settings`, `logging_settings`, `evaluation_metrics_thresholds`, `variable_declarations`, and `default_channel_profile` fields to `google_ces_app` resource
ces: added `channel_profile`, `experiment_config`, `instagram_credentials`, and `whatsapp_credentials` fields to `google_ces_deployment` resource
ces: added `blob`, `default_variables`, `payload`, and `transcript` fields to `google_ces_example` resource
ces: added `proactive_execution_enabled` and `model_armor` fields to `google_ces_guardrail` resource
ces: added `scopes` and `service_directory_config` fields to `google_ces_tool` resource
ces: added `connector_toolset`, `tool_overrides`, and `timeout` fields to `google_ces_toolset` resource

@github-actions github-actions Bot requested a review from SirGitsalot July 7, 2026 14:22
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

Googlers: For automatic test runs see go/terraform-auto-test-runs.

@SirGitsalot, 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.

@modular-magician

modular-magician commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 4ef059d:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 28 files changed, 5286 insertions(+), 23 deletions(-)
google-beta provider View Diff 28 files changed, 5286 insertions(+), 23 deletions(-)
terraform-google-conversion View Diff 7 files changed, 1796 insertions(+)

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_ces_agent (18 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_ces_agent" "primary" {
  transfer_rules {
    deterministic_transfer {
      python_code_condition {
        python_code = # value needed
      }
    }
    disable_planner_transfer {
      expression_condition {
        expression = # value needed
      }
    }
  }
}

Test report

Analytics

Total Tests Passed Skipped Affected
77 64 0 13
Affected Service Packages
  • ces

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 13 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccCESAgent_cesAgentBasicExample_update
  • TestAccCESAgent_cesAgentRemoteDialogflowAgentExample_update
  • TestAccCESApp_cesAppAmbientSoundGcsUriExample
  • TestAccCESApp_cesAppBasicExample
  • TestAccCESApp_update
  • TestAccCESDeployment_update
  • TestAccCESExample_update
  • TestAccCESGuardrail_cesGuardrailCodeCallbackExample_update
  • TestAccCESGuardrail_cesGuardrailModelArmorExample_update
  • TestAccCESTool_cesToolPythonFunctionBasicExample_update
  • TestAccCESTool_cesToolWidgetToolBasicExample_update
  • TestAccCESToolset_cesToolsetConnectorToolsetExample_update
  • TestAccCESToolset_cesToolsetMcpServiceAccountAuthConfigExample_update

View the replaying VCR build log


Step 2: Recording Mode

Recording Mode Replaying Rerun Test Name
✅ Log TestAccCESAgent_cesAgentRemoteDialogflowAgentExample_update
✅ Log TestAccCESGuardrail_cesGuardrailCodeCallbackExample_update
✅ Log TestAccCESTool_cesToolPythonFunctionBasicExample_update
✅ Log TestAccCESTool_cesToolWidgetToolBasicExample_update
❌ Error · Log - TestAccCESAgent_cesAgentBasicExample_update
❌ Error · Log - TestAccCESApp_cesAppAmbientSoundGcsUriExample
❌ Error · Log - TestAccCESApp_cesAppBasicExample
❌ Error · Log - TestAccCESApp_update
❌ Error · Log - TestAccCESDeployment_update
❌ Error · Log - TestAccCESExample_update
❌ Error · Log - TestAccCESGuardrail_cesGuardrailModelArmorExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetConnectorToolsetExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpServiceAccountAuthConfigExample_update

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.

@mp32154, @SirGitsalot VCR tests complete for 4ef059d!

@mp32154 mp32154 marked this pull request as draft July 7, 2026 14:35
…d disable_planner_transfer under agent transfer_rules
@modular-magician

modular-magician commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit f8065e8:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 28 files changed, 5302 insertions(+), 23 deletions(-)
google-beta provider View Diff 28 files changed, 5302 insertions(+), 23 deletions(-)
terraform-google-conversion View Diff 7 files changed, 1796 insertions(+)

Test report

Analytics

Total Tests Passed Skipped Affected
77 68 0 9
Affected Service Packages
  • ces

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 9 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccCESAgent_cesAgentBasicExample_update
  • TestAccCESApp_cesAppAmbientSoundGcsUriExample
  • TestAccCESApp_cesAppBasicExample
  • TestAccCESApp_update
  • TestAccCESDeployment_update
  • TestAccCESExample_update
  • TestAccCESGuardrail_cesGuardrailModelArmorExample_update
  • TestAccCESToolset_cesToolsetConnectorToolsetExample_update
  • TestAccCESToolset_cesToolsetMcpServiceAccountAuthConfigExample_update

View the replaying VCR build log


Step 2: Recording Mode

Recording Mode Replaying Rerun Test Name
❌ Error · Log - TestAccCESAgent_cesAgentBasicExample_update
❌ Error · Log - TestAccCESApp_cesAppAmbientSoundGcsUriExample
❌ Error · Log - TestAccCESApp_cesAppBasicExample
❌ Error · Log - TestAccCESApp_update
❌ Error · Log - TestAccCESDeployment_update
❌ Error · Log - TestAccCESExample_update
❌ Error · Log - TestAccCESGuardrail_cesGuardrailModelArmorExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetConnectorToolsetExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpServiceAccountAuthConfigExample_update

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.

@mp32154, @SirGitsalot VCR tests complete for f8065e8!

@modular-magician

modular-magician commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 2a12062:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 28 files changed, 5326 insertions(+), 23 deletions(-)
google-beta provider View Diff 28 files changed, 5326 insertions(+), 23 deletions(-)
terraform-google-conversion View Diff 7 files changed, 1796 insertions(+)

Test report

Analytics

Total Tests Passed Skipped Affected
77 68 0 9
Affected Service Packages
  • ces

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 9 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccCESAgent_cesAgentBasicExample_update
  • TestAccCESApp_cesAppAmbientSoundGcsUriExample
  • TestAccCESApp_cesAppBasicExample
  • TestAccCESApp_update
  • TestAccCESDeployment_update
  • TestAccCESExample_update
  • TestAccCESGuardrail_cesGuardrailModelArmorExample_update
  • TestAccCESToolset_cesToolsetConnectorToolsetExample_update
  • TestAccCESToolset_cesToolsetMcpServiceAccountAuthConfigExample_update

View the replaying VCR build log


Step 2: Recording Mode

Recording Mode Replaying Rerun Test Name
❌ Error · Log - TestAccCESAgent_cesAgentBasicExample_update
❌ Error · Log - TestAccCESApp_cesAppAmbientSoundGcsUriExample
❌ Error · Log - TestAccCESApp_cesAppBasicExample
❌ Error · Log - TestAccCESApp_update
❌ Error · Log - TestAccCESDeployment_update
❌ Error · Log - TestAccCESExample_update
❌ Error · Log - TestAccCESGuardrail_cesGuardrailModelArmorExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetConnectorToolsetExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpServiceAccountAuthConfigExample_update

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.

@mp32154, @SirGitsalot VCR tests complete for 2a12062!

@modular-magician

modular-magician commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit dad3de3:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 28 files changed, 5466 insertions(+), 97 deletions(-)
google-beta provider View Diff 28 files changed, 5466 insertions(+), 97 deletions(-)
terraform-google-conversion View Diff 7 files changed, 1796 insertions(+)

Test report

Analytics

Total Tests Passed Skipped Affected
77 59 0 18
Affected Service Packages
  • ces

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 18 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccCESAgent_cesAgentBasicExample_update
  • TestAccCESApp_cesAppAmbientSoundGcsUriExample
  • TestAccCESApp_cesAppBasicExample
  • TestAccCESApp_update
  • TestAccCESDeployment_update
  • TestAccCESExample_update
  • TestAccCESGuardrail_cesGuardrailModelArmorExample_update
  • TestAccCESToolset_cesToolsetBearerTokenConfigExample_update
  • TestAccCESToolset_cesToolsetConnectorToolsetExample_update
  • TestAccCESToolset_cesToolsetMcpApiKeyConfigExample_update
  • TestAccCESToolset_cesToolsetMcpBearerTokenConfigExample_update
  • TestAccCESToolset_cesToolsetMcpOauthConfigExample_update
  • TestAccCESToolset_cesToolsetMcpServiceAccountAuthConfigExample_update
  • TestAccCESToolset_cesToolsetMcpServiceAgentIdTokenExample_update
  • TestAccCESToolset_cesToolsetOpenapiApiKeyConfigExample_update
  • TestAccCESToolset_cesToolsetOpenapiOauthConfigExample_update
  • TestAccCESToolset_cesToolsetOpenapiServiceAccountAuthConfigExample_update
  • TestAccCESToolset_cesToolsetOpenapiServiceAgentIdTokenAuthConfigExample_update

View the replaying VCR build log


Step 2: Recording Mode

Recording Mode Replaying Rerun Test Name
❌ Error · Log - TestAccCESAgent_cesAgentBasicExample_update
❌ Error · Log - TestAccCESApp_cesAppAmbientSoundGcsUriExample
❌ Error · Log - TestAccCESApp_cesAppBasicExample
❌ Error · Log - TestAccCESApp_update
❌ Error · Log - TestAccCESDeployment_update
❌ Error · Log - TestAccCESExample_update
❌ Error · Log - TestAccCESGuardrail_cesGuardrailModelArmorExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetBearerTokenConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetConnectorToolsetExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpApiKeyConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpBearerTokenConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpOauthConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpServiceAccountAuthConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpServiceAgentIdTokenExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetOpenapiApiKeyConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetOpenapiOauthConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetOpenapiServiceAccountAuthConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetOpenapiServiceAgentIdTokenAuthConfigExample_update

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.

@mp32154, @SirGitsalot VCR tests complete for dad3de3!

@modular-magician

modular-magician commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 1a1368d:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 28 files changed, 5484 insertions(+), 119 deletions(-)
google-beta provider View Diff 28 files changed, 5484 insertions(+), 119 deletions(-)
terraform-google-conversion View Diff 7 files changed, 1796 insertions(+)

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_ces_deployment (2 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_ces_deployment" "primary" {
  channel_profile {
    instagram_config {
      instagram_account_id = # value needed
    }
    noise_suppression_level = # value needed
    whatsapp_config {
      phone_number    = # value needed
      phone_number_id = # value needed
      waba_id         = # value needed
    }
  }
  experiment_config {
    version_release {
      state = # value needed
      traffic_allocations {
        app_version        = # value needed
        id                 = # value needed
        traffic_percentage = # value needed
      }
    }
  }
  instagram_credentials {
    auth_code               = # value needed
    conversation_profile_id = # value needed
  }
  whatsapp_credentials {
    auth_code               = # value needed
    business_account_id     = # value needed
    conversation_profile_id = # value needed
    phone_number            = # value needed
    pin                     = # value needed
    waba_id                 = # value needed
  }
}

Resource: google_ces_guardrail (22 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_ces_guardrail" "primary" {
  model_armor {
    fail_open            = # value needed
    model_armor_template = # value needed
    sanitization_scope   = # value needed
  }
}

Resource: google_ces_toolset (19 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_ces_toolset" "primary" {
  connector_toolset {
    auth_config {
      oauth2_auth_code_config {
        oauth_token = # value needed
      }
      oauth2_jwt_bearer_config {
        client_key = # value needed
        issuer     = # value needed
        subject    = # value needed
      }
    }
    connection = # value needed
    connector_actions {
      connection_action_id = # value needed
      entity_operation {
        entity_id = # value needed
        operation = # value needed
      }
      input_fields  = # value needed
      output_fields = # value needed
    }
  }
  mcp_toolset {
    tool_overrides {
      description_override = # value needed
      name_override        = # value needed
      tool                 = # value needed
    }
  }
  timeout = # value needed
}

Test report

Analytics

Total Tests Passed Skipped Affected
77 61 0 16
Affected Service Packages
  • ces

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 16 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccCESAgent_cesAgentBasicExample_update
  • TestAccCESApp_update
  • TestAccCESDeployment_update
  • TestAccCESExample_update
  • TestAccCESGuardrail_cesGuardrailModelArmorExample_update
  • TestAccCESToolset_cesToolsetBearerTokenConfigExample_update
  • TestAccCESToolset_cesToolsetConnectorToolsetExample_update
  • TestAccCESToolset_cesToolsetMcpApiKeyConfigExample_update
  • TestAccCESToolset_cesToolsetMcpBearerTokenConfigExample_update
  • TestAccCESToolset_cesToolsetMcpOauthConfigExample_update
  • TestAccCESToolset_cesToolsetMcpServiceAccountAuthConfigExample_update
  • TestAccCESToolset_cesToolsetMcpServiceAgentIdTokenExample_update
  • TestAccCESToolset_cesToolsetOpenapiApiKeyConfigExample_update
  • TestAccCESToolset_cesToolsetOpenapiOauthConfigExample_update
  • TestAccCESToolset_cesToolsetOpenapiServiceAccountAuthConfigExample_update
  • TestAccCESToolset_cesToolsetOpenapiServiceAgentIdTokenAuthConfigExample_update

View the replaying VCR build log


Step 2: Recording Mode

Recording Mode Replaying Rerun Test Name
❌ Error · Log - TestAccCESAgent_cesAgentBasicExample_update
❌ Error · Log - TestAccCESApp_update
❌ Error · Log - TestAccCESDeployment_update
❌ Error · Log - TestAccCESExample_update
❌ Error · Log - TestAccCESGuardrail_cesGuardrailModelArmorExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetBearerTokenConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetConnectorToolsetExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpApiKeyConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpBearerTokenConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpOauthConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpServiceAccountAuthConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpServiceAgentIdTokenExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetOpenapiApiKeyConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetOpenapiOauthConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetOpenapiServiceAccountAuthConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetOpenapiServiceAgentIdTokenAuthConfigExample_update

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.

@mp32154, @SirGitsalot VCR tests complete for 1a1368d!

@modular-magician

modular-magician commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit baccd81:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 28 files changed, 5484 insertions(+), 118 deletions(-)
google-beta provider View Diff 28 files changed, 5484 insertions(+), 118 deletions(-)
terraform-google-conversion View Diff 7 files changed, 1796 insertions(+)

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_ces_deployment (2 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_ces_deployment" "primary" {
  channel_profile {
    instagram_config {
      instagram_account_id = # value needed
    }
    noise_suppression_level = # value needed
    whatsapp_config {
      phone_number    = # value needed
      phone_number_id = # value needed
      waba_id         = # value needed
    }
  }
  experiment_config {
    version_release {
      state = # value needed
      traffic_allocations {
        app_version        = # value needed
        id                 = # value needed
        traffic_percentage = # value needed
      }
    }
  }
  instagram_credentials {
    auth_code               = # value needed
    conversation_profile_id = # value needed
  }
  whatsapp_credentials {
    auth_code               = # value needed
    business_account_id     = # value needed
    conversation_profile_id = # value needed
    phone_number            = # value needed
    pin                     = # value needed
    waba_id                 = # value needed
  }
}

Resource: google_ces_guardrail (22 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_ces_guardrail" "primary" {
  model_armor {
    fail_open            = # value needed
    model_armor_template = # value needed
    sanitization_scope   = # value needed
  }
}

Resource: google_ces_toolset (19 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_ces_toolset" "primary" {
  connector_toolset {
    auth_config {
      oauth2_auth_code_config {
        oauth_token = # value needed
      }
      oauth2_jwt_bearer_config {
        client_key = # value needed
        issuer     = # value needed
        subject    = # value needed
      }
    }
    connection = # value needed
    connector_actions {
      connection_action_id = # value needed
      entity_operation {
        entity_id = # value needed
        operation = # value needed
      }
      input_fields  = # value needed
      output_fields = # value needed
    }
  }
  mcp_toolset {
    tool_overrides {
      description_override = # value needed
      name_override        = # value needed
      tool                 = # value needed
    }
  }
  timeout = # value needed
}

Test report

Analytics

Total Tests Passed Skipped Affected
77 61 0 16
Affected Service Packages
  • ces

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 16 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccCESAgent_cesAgentBasicExample_update
  • TestAccCESApp_update
  • TestAccCESDeployment_update
  • TestAccCESExample_update
  • TestAccCESGuardrail_cesGuardrailModelArmorExample_update
  • TestAccCESToolset_cesToolsetBearerTokenConfigExample_update
  • TestAccCESToolset_cesToolsetConnectorToolsetExample_update
  • TestAccCESToolset_cesToolsetMcpApiKeyConfigExample_update
  • TestAccCESToolset_cesToolsetMcpBearerTokenConfigExample_update
  • TestAccCESToolset_cesToolsetMcpOauthConfigExample_update
  • TestAccCESToolset_cesToolsetMcpServiceAccountAuthConfigExample_update
  • TestAccCESToolset_cesToolsetMcpServiceAgentIdTokenExample_update
  • TestAccCESToolset_cesToolsetOpenapiApiKeyConfigExample_update
  • TestAccCESToolset_cesToolsetOpenapiOauthConfigExample_update
  • TestAccCESToolset_cesToolsetOpenapiServiceAccountAuthConfigExample_update
  • TestAccCESToolset_cesToolsetOpenapiServiceAgentIdTokenAuthConfigExample_update

View the replaying VCR build log


Step 2: Recording Mode

Recording Mode Replaying Rerun Test Name
❌ Error · Log - TestAccCESAgent_cesAgentBasicExample_update
❌ Error · Log - TestAccCESApp_update
❌ Error · Log - TestAccCESDeployment_update
❌ Error · Log - TestAccCESExample_update
❌ Error · Log - TestAccCESGuardrail_cesGuardrailModelArmorExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetBearerTokenConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetConnectorToolsetExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpApiKeyConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpBearerTokenConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpOauthConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpServiceAccountAuthConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetMcpServiceAgentIdTokenExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetOpenapiApiKeyConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetOpenapiOauthConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetOpenapiServiceAccountAuthConfigExample_update
❌ Error · Log - TestAccCESToolset_cesToolsetOpenapiServiceAgentIdTokenAuthConfigExample_update

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.

@mp32154, @SirGitsalot VCR tests complete for baccd81!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants