Don't require type for children of subtyped resources. (#285)

This commit is contained in:
Todd Knight authored and GitHub committed 2020-08-19 10:51:15 -07:00
1 parent a11ca2e3a8
commit eaae887bbe
18 files changed
+278 -246

No files matched your search

@@ -39,7 +39,7 @@ message AuthMethod {
uint32 version = 7;
// The auth method type. This can be "password" or "oidc".
string type = 8 [(custom_options.v1.generate_sdk_option) = true];
string type = 8;
// The attributes that are applied for the specific Auth Method type.
google.protobuf.Struct attributes = 9 [(custom_options.v1.generate_sdk_option) = true];
@@ -39,7 +39,7 @@ message HostCatalog {
uint32 version = 70;
// The type of the resource, to help differentiate schemas
google.protobuf.StringValue type = 80 [(custom_options.v1.generate_sdk_option) = true];
string type = 80;
// Attributes specific to the catalog type
google.protobuf.Struct attributes = 90 [(custom_options.v1.generate_sdk_option) = true];
@@ -40,7 +40,7 @@ message HostSet {
uint32 version = 70;
// The type of the resource, to help differentiate schemas
google.protobuf.StringValue type = 80 [(custom_options.v1.generate_sdk_option) = true];
google.protobuf.StringValue type = 80;
// The total count of hosts in this host set
// Output only.