From 2e961fecfe96ea67fd88289973d0a3dcafe5b64b Mon Sep 17 00:00:00 2001 From: Sepehr Date: Tue, 21 May 2024 14:41:55 -0700 Subject: [PATCH] oss:feat(storage): add observation tag in proto for telemetry --- .../resources/storagebuckets/v1/storage_bucket.proto | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/proto/controller/api/resources/storagebuckets/v1/storage_bucket.proto b/internal/proto/controller/api/resources/storagebuckets/v1/storage_bucket.proto index a5a271e7ec..9f692fe52d 100644 --- a/internal/proto/controller/api/resources/storagebuckets/v1/storage_bucket.proto +++ b/internal/proto/controller/api/resources/storagebuckets/v1/storage_bucket.proto @@ -17,10 +17,10 @@ option go_package = "github.com/hashicorp/boundary/sdk/pbs/controller/api/resour // StorageBucket manages external object stores message StorageBucket { // Output only. The ID of the storage bucket. - string id = 10; // @gotags: `class:"public"` + string id = 10; // @gotags: `class:"public" eventstream:"observation"` // The ID of the Scope of which this storage bucket is a part. - string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public"` + string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"` // Output only. Scope information for this resource. resources.scopes.v1.ScopeInfo scope = 30; // @gotags: `class:"public"` @@ -29,7 +29,7 @@ message StorageBucket { string plugin_id = 34 [ json_name = "plugin_id", (custom_options.v1.generate_sdk_option) = true - ]; // @gotags: `class:"public"` + ]; // @gotags: `class:"public" eventstream:"observation"` // Output only. Plugin information for this resource. resources.plugins.v1.PluginInfo plugin = 35; // @gotags: `class:"public"` @@ -65,7 +65,7 @@ message StorageBucket { ]; // @gotags: `class:"public"` // Output only. The time this resource was created. - google.protobuf.Timestamp created_time = 80 [json_name = "created_time"]; // @gotags: `class:"public"` + google.protobuf.Timestamp created_time = 80 [json_name = "created_time"]; // @gotags: `class:"public" eventstream:"observation"` // Output only. The time this resource was last updated. google.protobuf.Timestamp updated_time = 90 [json_name = "updated_time"]; // @gotags: `class:"secret"` @@ -75,7 +75,7 @@ message StorageBucket { uint32 version = 100; // @gotags: `class:"public"` // The type of Storage Bucket (currently only plugin). - string type = 110; // @gotags: `class:"public"` + string type = 110; // @gotags: `class:"public" eventstream:"observation"` // Attributes specific to the catalog type. google.protobuf.Struct attributes = 120 [(custom_options.v1.generate_sdk_option) = true]; // @gotags: `class:"public"`