Skip to content

Add SchemaVersion and test#17769

Open
slevenick wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
slevenick:documentai-schema-version
Open

Add SchemaVersion and test#17769
slevenick wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
slevenick:documentai-schema-version

Conversation

@slevenick
Copy link
Copy Markdown
Contributor

@slevenick slevenick commented May 29, 2026

Fixes: hashicorp/terraform-provider-google#25832

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

`google_document_ai_schema_version`

@modular-magician
Copy link
Copy Markdown
Collaborator

modular-magician commented May 29, 2026

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

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 4 files changed, 1662 insertions(+)
google-beta provider View Diff 4 files changed, 1662 insertions(+)
terraform-google-conversion View Diff 1 file changed, 433 insertions(+)
Open in Cloud Shell View Diff 4 files changed, 122 insertions(+)

Missing test report

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

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

resource "google_document_ai_schema_version" "primary" {
  labels = # value needed
  schema {
    description     = # value needed
    document_prompt = # value needed
    entity_types {
      enum_values {
        values = # value needed
      }
      properties {
        display_name    = # value needed
        method          = # value needed
        name            = # value needed
        occurrence_type = # value needed
        value_type      = # value needed
      }
    }
    metadata {
      document_allow_multiple_labels = # value needed
      document_splitter              = # value needed
      prefixed_naming_on_properties  = # value needed
      skip_naming_validation         = # value needed
    }
  }
}

Missing service labels

The following new resources do not have corresponding service labels:

  • google_document_ai_schema_version

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.
An override-missing-service-label label can be added to allow merging.

Test report

Analytics

Total Tests Passed Skipped Affected
6 5 0 1
Affected Service Packages
  • documentai

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

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

Click here to see the affected tests
  • TestAccDocumentAISchemaVersion_documentaiSchemaVersionExample

View the replaying VCR build log


Step 2: Recording Mode

Recording Mode Replaying Rerun Test Name
✅ Log TestAccDocumentAISchemaVersion_documentaiSchemaVersionExample

🟢 All tests passed!

View the recording VCR build log or the debug logs folder for detailed results.

@slevenick VCR tests complete for 3828501!

@slevenick slevenick requested review from a team and NickElliot and removed request for a team May 29, 2026 23:02
@modular-magician
Copy link
Copy Markdown
Collaborator

modular-magician commented May 29, 2026

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

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 4 files changed, 1706 insertions(+)
google-beta provider View Diff 4 files changed, 1706 insertions(+)
terraform-google-conversion View Diff 1 file changed, 433 insertions(+)
Open in Cloud Shell View Diff 4 files changed, 144 insertions(+)

Missing test report

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

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

resource "google_document_ai_schema_version" "primary" {
  schema {
    entity_types {
      enum_values {
        values = # value needed
      }
    }
  }
}

Missing service labels

The following new resources do not have corresponding service labels:

  • google_document_ai_schema_version

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.
An override-missing-service-label label can be added to allow merging.

Test report

Analytics

Total Tests Passed Skipped Affected
6 5 0 1
Affected Service Packages
  • documentai

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

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

Click here to see the affected tests
  • TestAccDocumentAISchemaVersion_documentaiSchemaVersionExample

View the replaying VCR build log


Step 2: Recording Mode

Recording Mode Replaying Rerun Test Name
✅ Log TestAccDocumentAISchemaVersion_documentaiSchemaVersionExample

🟢 All tests passed!

View the recording VCR build log or the debug logs folder for detailed results.

@slevenick, @NickElliot VCR tests complete for ed410ef!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document AI Provider: add Schema Version resource

2 participants