Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
anekkanti committed Sep 30, 2024
1 parent ee98a63 commit 6250821
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions temporal/api/cloud/account/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ option go_package = "go.temporal.io/api/cloud/account/v1;account";
message MetricsSpec {
// Enables the endpoint from which clients can scrape all their namespace metrics.
bool enabled = 1;
// The base64 encoded ca cert(s) in PEM format that clients connecting to the metrics endpoint can use for authentication.
// The ca cert(s) in PEM format that clients connecting to the metrics endpoint can use for authentication.
// This must only be one value, but the CA can have a chain.
string accepted_client_ca = 2;
bytes accepted_client_ca = 2;
}

message AccountSpec {
Expand All @@ -24,17 +24,19 @@ message Metrics {
}

message Account {
// The id of the account.
string id = 1;
// The account specification.
AccountSpec spec = 1;
AccountSpec spec = 2;
// The current version of the account specification.
// The next update operation will have to include this version.
string resource_version = 2;
string resource_version = 3;
// The current state of the account.
// Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended.
// For any failed state, reach out to Temporal Cloud support for remediation.
string state = 3;
string state = 4;
// The id of the async operation that is updating the account, if any.
string async_operation_id = 4;
string async_operation_id = 5;
// Information related to metrics.
Metrics metrics = 5;
Metrics metrics = 6;
}

0 comments on commit 6250821

Please sign in to comment.