Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
anekkanti committed Dec 4, 2023
1 parent 82dfc84 commit 6336346
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions temporal/api/cloud/account/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ message Metrics {
}

message Account {
// The account specification
AccountSpec spec = 1;
// The current version of the account specification.
// The next update operation will have to include this version.
string resource_version = 1;
// The account specification
AccountSpec spec = 2;
string resource_version = 2;
// The current state of the account.
string state = 3;
// The id of the async operation that is updating the account, if any.
Expand Down
6 changes: 3 additions & 3 deletions temporal/api/cloud/cloudservice/v1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -115,20 +115,20 @@ service CloudService {
// Get a region
rpc GetRegion (GetRegionRequest) returns (GetRegionResponse) {
option (google.api.http) = {
get: "/api/v1/{region}",
get: "/api/v1/regions/{region}",
};
}

// Get account information
rpc GetAccount (GetAccountRequest) returns (GetAccountResponse) {
option (google.api.http) = {
option (google.api.http) = {
get: "/api/v1/account",
};
}

// Update account information
rpc UpdateAccount (UpdateAccountRequest) returns (UpdateAccountResponse) {
option (google.api.http) = {
option (google.api.http) = {
post: "/api/v1/account",
body: "*"
};
Expand Down

0 comments on commit 6336346

Please sign in to comment.