Skip to content

Commit

Permalink
remove required
Browse files Browse the repository at this point in the history
  • Loading branch information
randymgeorge committed Sep 9, 2024
1 parent 555ac14 commit 432275d
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 84 deletions.
67 changes: 32 additions & 35 deletions api/kessel/inventory/v1beta1/relationships/metadata.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions api/kessel/inventory/v1beta1/relationships/metadata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package kessel.inventory.v1beta1.relationships;

import "google/api/field_behavior.proto";
import "google/protobuf/timestamp.proto";
import "buf/validate/validate.proto";

option go_package = "github.com/project-kessel/inventory-api/api/kessel/inventory/v1beta1/relationships";
option java_multiple_files = true;
Expand All @@ -15,7 +14,7 @@ message Metadata {
int64 id = 3356 [ (google.api.field_behavior) = OUTPUT_ONLY ];

// Organization ID
int64 org_id = 4457 [(buf.validate.field).required = true ];
int64 org_id = 4457;

// The type of Resource relationship
string relationship_type = 251000036
Expand Down
87 changes: 42 additions & 45 deletions api/kessel/inventory/v1beta1/resources/metadata.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions api/kessel/inventory/v1beta1/resources/metadata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package kessel.inventory.v1beta1.resources;

import "google/api/field_behavior.proto";
import "google/protobuf/timestamp.proto";
import "buf/validate/validate.proto";

import "kessel/inventory/v1beta1/resources/resource_label.proto";

Expand All @@ -17,7 +16,7 @@ message Metadata {
int64 id = 3355 [ (google.api.field_behavior) = OUTPUT_ONLY ];

// Organization ID
int64 org_id = 4456 [(buf.validate.field).required = true ];
int64 org_id = 4456;

// The type of the Resource
string resource_type = 442752204
Expand Down

0 comments on commit 432275d

Please sign in to comment.