Skip to content

Commit

Permalink
Merge pull request #103 from project-kessel/add-org-id
Browse files Browse the repository at this point in the history
add orgID to metadata
  • Loading branch information
jmelis authored Sep 10, 2024
2 parents 7ae0049 + 432275d commit ba71d36
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 66 deletions.
71 changes: 41 additions & 30 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: 3 additions & 0 deletions api/kessel/inventory/v1beta1/relationships/metadata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ message Metadata {
// Kessel Asset Inventory generated identifier.
int64 id = 3356 [ (google.api.field_behavior) = OUTPUT_ONLY ];

// Organization ID
int64 org_id = 4457;

// The type of Resource relationship
string relationship_type = 251000036
[ (google.api.field_behavior) = OUTPUT_ONLY ];
Expand Down
83 changes: 47 additions & 36 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: 3 additions & 0 deletions api/kessel/inventory/v1beta1/resources/metadata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ message Metadata {
// Kessel Asset Inventory generated identifier.
int64 id = 3355 [ (google.api.field_behavior) = OUTPUT_ONLY ];

// Organization ID
int64 org_id = 4456;

// The type of the Resource
string resource_type = 442752204
[ (google.api.field_behavior) = OUTPUT_ONLY ];
Expand Down
6 changes: 6 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,9 @@ components:
readOnly: true
type: string
description: Kessel Asset Inventory generated identifier.
org_id:
type: string
description: Organization ID
relationship_type:
readOnly: true
type: string
Expand Down Expand Up @@ -718,6 +721,9 @@ components:
readOnly: true
type: string
description: Kessel Asset Inventory generated identifier.
org_id:
type: string
description: Organization ID
resource_type:
readOnly: true
type: string
Expand Down

0 comments on commit ba71d36

Please sign in to comment.