Skip to content

Commit

Permalink
Set Validation field of Go Type object (GoogleCloudPlatform#10337)
Browse files Browse the repository at this point in the history
zli82016 authored Apr 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 4b9acba commit 566135e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mmv1/api/type.go
Original file line number Diff line number Diff line change
@@ -19,6 +19,7 @@ import (
"strings"

"github.com/GoogleCloudPlatform/magic-modules/mmv1/api/product"
"github.com/GoogleCloudPlatform/magic-modules/mmv1/api/resource"
"github.com/GoogleCloudPlatform/magic-modules/mmv1/google"
)

@@ -164,7 +165,7 @@ type Type struct {
IgnoreRead bool `yaml:"ignore_read"`

// Adds a ValidateFunc to the schema
Validation bool
Validation resource.Validation

// Indicates that this is an Array that should have Set diff semantics.
UnorderedList bool `yaml:"unordered_list"`

0 comments on commit 566135e

Please sign in to comment.