Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Cloud Protos #850

Merged
merged 4 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions client/src/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1231,6 +1231,11 @@ proxier! {
(create_api_key, cloudreq::CreateApiKeyRequest, cloudreq::CreateApiKeyResponse);
(update_api_key, cloudreq::UpdateApiKeyRequest, cloudreq::UpdateApiKeyResponse);
(delete_api_key, cloudreq::DeleteApiKeyRequest, cloudreq::DeleteApiKeyResponse);
(get_nexus_endpoints, cloudreq::GetNexusEndpointsRequest, cloudreq::GetNexusEndpointsResponse);
(get_nexus_endpoint, cloudreq::GetNexusEndpointRequest, cloudreq::GetNexusEndpointResponse);
(create_nexus_endpoint, cloudreq::CreateNexusEndpointRequest, cloudreq::CreateNexusEndpointResponse);
(update_nexus_endpoint, cloudreq::UpdateNexusEndpointRequest, cloudreq::UpdateNexusEndpointResponse);
(delete_nexus_endpoint, cloudreq::DeleteNexusEndpointRequest, cloudreq::DeleteNexusEndpointResponse);
(get_user_groups, cloudreq::GetUserGroupsRequest, cloudreq::GetUserGroupsResponse);
(get_user_group, cloudreq::GetUserGroupRequest, cloudreq::GetUserGroupResponse);
(create_user_group, cloudreq::CreateUserGroupRequest, cloudreq::CreateUserGroupResponse);
Expand All @@ -1242,6 +1247,15 @@ proxier! {
(get_service_accounts, cloudreq::GetServiceAccountsRequest, cloudreq::GetServiceAccountsResponse);
(update_service_account, cloudreq::UpdateServiceAccountRequest, cloudreq::UpdateServiceAccountResponse);
(delete_service_account, cloudreq::DeleteServiceAccountRequest, cloudreq::DeleteServiceAccountResponse);
(get_usage, cloudreq::GetUsageRequest, cloudreq::GetUsageResponse);
(get_account, cloudreq::GetAccountRequest, cloudreq::GetAccountResponse);
(update_account, cloudreq::UpdateAccountRequest, cloudreq::UpdateAccountResponse);
(create_namespace_export_sink, cloudreq::CreateNamespaceExportSinkRequest, cloudreq::CreateNamespaceExportSinkResponse);
(get_namespace_export_sink, cloudreq::GetNamespaceExportSinkRequest, cloudreq::GetNamespaceExportSinkResponse);
(get_namespace_export_sinks, cloudreq::GetNamespaceExportSinksRequest, cloudreq::GetNamespaceExportSinksResponse);
(update_namespace_export_sink, cloudreq::UpdateNamespaceExportSinkRequest, cloudreq::UpdateNamespaceExportSinkResponse);
(delete_namespace_export_sink, cloudreq::DeleteNamespaceExportSinkRequest, cloudreq::DeleteNamespaceExportSinkResponse);
(validate_namespace_export_sink, cloudreq::ValidateNamespaceExportSinkRequest, cloudreq::ValidateNamespaceExportSinkResponse);
}

proxier! {
Expand Down
2 changes: 1 addition & 1 deletion sdk-core-protos/protos/api_cloud_upstream/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024-05-13-00
2024-10-01-00
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
syntax = "proto3";

package temporal.api.cloud.account.v1;

option go_package = "go.temporal.io/api/cloud/account/v1;account";
option java_package = "io.temporal.api.cloud.account.v1";
option java_multiple_files = true;
option java_outer_classname = "MessageProto";
option ruby_package = "Temporalio::Api::Cloud::Account::V1";
option csharp_namespace = "Temporalio.Api.Cloud.Account.V1";

import "temporal/api/cloud/resource/v1/message.proto";

message MetricsSpec {
// 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.
bytes accepted_client_ca = 2;
}

message AccountSpec {
// The metrics specification for this account.
// If not specified, metrics will not be enabled.
MetricsSpec metrics = 1;
}

message Metrics {
// The prometheus metrics endpoint uri.
// This is only populated when the metrics is enabled in the metrics specification.
string uri = 1;
}

message Account {
// The id of the account.
string id = 1;
// The account specification.
AccountSpec spec = 2;
// The current version of the account specification.
// The next update operation will have to include this version.
string resource_version = 3;
// The current state of the account.
temporal.api.cloud.resource.v1.ResourceState state = 4;
// The id of the async operation that is updating the account, if any.
string async_operation_id = 5;
// Information related to metrics.
Metrics metrics = 6;
}
Loading
Loading