Add observation tags for Session Recording Service (#4825)
* Add observation tags to session_recording.proto * remove scope_info observation tags * Remove quotes and add tag to storage_bucket_id * Add tags for session recording service * Update proto definitions - Remove gotags on messages - Remove quotes
This commit is contained in:
1 parent
69dfeacc55
commit
1aa8c2e1d7
5 files changed
+130
-132
No files matched your search
@@ -76,7 +76,7 @@ service SessionRecordingService {
|
||||
|
||||
message GetSessionRecordingRequest {
|
||||
// The ID of the Session recording, or the ID of the Session that was recorded.
|
||||
string id = 1; // @gotags: class:"public"
|
||||
string id = 1; // @gotags: class:"public" eventstream:"observation"
|
||||
}
|
||||
|
||||
message GetSessionRecordingResponse {
|
||||
@@ -87,11 +87,11 @@ message GetSessionRecordingResponse {
|
||||
message ListSessionRecordingsRequest {
|
||||
// The scope in which to list session recordings.
|
||||
// Must be set unless recursive is set.
|
||||
string scope_id = 1; // @gotags: class:"public"
|
||||
string scope_id = 1; // @gotags: class:"public" eventstream:"observation"
|
||||
// Whether to recurse into child scopes when listing.
|
||||
// If set and scope_id is empty, shows session recordings in
|
||||
// all scopes the caller has access to.
|
||||
bool recursive = 2; // @gotags: class:"public"
|
||||
bool recursive = 2; // @gotags: class:"public" eventstream:"observation"
|
||||
// An opaque token that Boundary uses to continue an existing iteration or
|
||||
// request updated items. If you do not specify a token, pagination
|
||||
// starts from the beginning. To learn more about list pagination
|
||||
@@ -101,7 +101,7 @@ message ListSessionRecordingsRequest {
|
||||
// If you do not set a page size, Boundary uses the configured default page size.
|
||||
// If the page_size is greater than the default page size configured,
|
||||
// Boundary truncates the page size to this number.
|
||||
uint32 page_size = 4 [json_name = "page_size"]; // @gotags: `class:"public"`
|
||||
uint32 page_size = 4 [json_name = "page_size"]; // @gotags: class:"public" eventstream:"observation"
|
||||
}
|
||||
|
||||
message ListSessionRecordingsResponse {
|
||||
@@ -111,22 +111,22 @@ message ListSessionRecordingsResponse {
|
||||
// Delta signifies that this is part of a paginated result
|
||||
// or an update to a previously completed pagination.
|
||||
// Complete signifies that it is the last page.
|
||||
string response_type = 2 [json_name = "response_type"]; // @gotags: `class:"public"`
|
||||
string response_type = 2 [json_name = "response_type"]; // @gotags: class:"public" eventstream:"observation"
|
||||
// An opaque token used to continue an existing pagination or
|
||||
// request updated items. Use this token in the next list request
|
||||
// to request the next page.
|
||||
string list_token = 3 [json_name = "list_token"]; // @gotags: `class:"public"`
|
||||
// The name of the field which the items are sorted by.
|
||||
string sort_by = 4 [json_name = "sort_by"]; // @gotags: `class:"public"`
|
||||
string sort_by = 4 [json_name = "sort_by"]; // @gotags: class:"public" eventstream:"observation"
|
||||
// The direction of the sort, either "asc" or "desc".
|
||||
string sort_dir = 5 [json_name = "sort_dir"]; // @gotags: `class:"public"`
|
||||
string sort_dir = 5 [json_name = "sort_dir"]; // @gotags: class:"public" eventstream:"observation"
|
||||
// A list of item IDs that have been removed since they were returned
|
||||
// as part of a pagination. They should be dropped from any client cache.
|
||||
// This may contain items that are not known to the cache, if they were
|
||||
// created and deleted between listings.
|
||||
repeated string removed_ids = 6 [json_name = "removed_ids"]; // @gotags: `class:"public"`
|
||||
repeated string removed_ids = 6 [json_name = "removed_ids"]; // @gotags: class:"public" eventstream:"observation"
|
||||
// An estimate at the total items available. This may change during pagination.
|
||||
uint32 est_item_count = 7 [json_name = "est_item_count"]; // @gotags: `class:"public"`
|
||||
uint32 est_item_count = 7 [json_name = "est_item_count"]; // @gotags: class:"public" eventstream:"observation"
|
||||
}
|
||||
|
||||
message DownloadRequest {
|
||||
@@ -134,15 +134,15 @@ message DownloadRequest {
|
||||
// - Session ID and Session recording ID for Session recordings
|
||||
// - Connection ID and Connection recording ID for Connection recordings
|
||||
// - Channel recording ID for Channel recordings
|
||||
string id = 1; // @gotags: class:"public"
|
||||
string id = 1; // @gotags: class:"public" eventstream:"observation"
|
||||
// The format of the response. The only supported mime type is "application/x-asciicast".
|
||||
// Defaults to "application/x-asciicast" if not set.
|
||||
string mime_type = 2 [json_name = "mime_type"]; // @gotags: class:"public"
|
||||
string mime_type = 2 [json_name = "mime_type"]; // @gotags: class:"public" eventstream:"observation"
|
||||
}
|
||||
|
||||
message ReApplyStoragePolicyRequest {
|
||||
// The Session Recording ID
|
||||
string id = 1; // @gotags: class:"public"
|
||||
string id = 1; // @gotags: class:"public" eventstream:"observation"
|
||||
}
|
||||
|
||||
message ReApplyStoragePolicyResponse {
|
||||
@@ -151,7 +151,7 @@ message ReApplyStoragePolicyResponse {
|
||||
}
|
||||
|
||||
message DeleteSessionRecordingRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: class:"public" eventstream:"observation"
|
||||
}
|
||||
|
||||
message DeleteSessionRecordingResponse {}
|
||||
Reference in new issue
Block a user