diff --git a/temporal/api/cloud/identity/v1/message.proto b/temporal/api/cloud/identity/v1/message.proto index 09d9389..dbb7490 100644 --- a/temporal/api/cloud/identity/v1/message.proto +++ b/temporal/api/cloud/identity/v1/message.proto @@ -19,9 +19,11 @@ message AccountAccess { // developer - gives access to create namespaces on the account // financeadmin - gives read only access and write access for billing // read - gives read only access to the account - // Deprecated: Use role field instead. + // Deprecated: Not supported after 2024-10-01-00 api version. Use role instead. + // temporal:versioning:max_version=2024-10-01-00 string role_deprecated = 1 [deprecated = true]; // The role on the account. + // temporal:versioning:min_version=2024-10-01-00 // temporal:enums:replaces=role_deprecated Role role = 2; @@ -40,10 +42,12 @@ message NamespaceAccess { // admin - gives full access to the namespace, including assigning namespace access to other users // write - gives write access to the namespace configuration and workflows within the namespace // read - gives read only access to the namespace configuration and workflows within the namespace - // Deprecated: Use permission field instead. + // Deprecated: Not supported after 2024-10-01-00 api version. Use permission instead. + // temporal:versioning:max_version=2024-10-01-00 string permission_deprecated = 1 [deprecated = true]; // The permission to the namespace. + // temporal:versioning:min_version=2024-10-01-00 // temporal:enums:replaces=permission_deprecated Permission permission = 2; @@ -92,10 +96,12 @@ message User { // The user specification UserSpec spec = 3; // The current state of the user - // Deprecated: Use state field instead. + // Deprecated: Not supported after 2024-10-01-00 api version. Use state instead. + // temporal:versioning:max_version=2024-10-01-00 string state_deprecated = 4 [deprecated = true]; // The current state of the user. // For any failed state, reach out to Temporal Cloud support for remediation. + // temporal:versioning:min_version=2024-10-01-00 // temporal:enums:replaces=state_deprecated temporal.api.cloud.resource.v1.ResourceState state = 9; // The id of the async operation that is creating/updating/deleting the user, if any @@ -134,10 +140,12 @@ message UserGroup { // The group specification UserGroupSpec spec = 3; // The current state of the group. - // Deprecated: Use state field instead. + // Deprecated: Not supported after 2024-10-01-00 api version. Use state instead. + // temporal:versioning:max_version=2024-10-01-00 string state_deprecated = 4 [deprecated = true]; // The current state of the group. // For any failed state, reach out to Temporal Cloud support for remediation. + // temporal:versioning:min_version=2024-10-01-00 // temporal:enums:replaces=state_deprecated temporal.api.cloud.resource.v1.ResourceState state = 8; // The id of the async operation that is creating/updating/deleting the group, if any @@ -160,10 +168,12 @@ message ServiceAccount { // The current state of the service 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. - // Deprecated: Use state field instead. + // Deprecated: Not supported after 2024-10-01-00 api version. Use state instead. + // temporal:versioning:max_version=2024-10-01-00 string state_deprecated = 4 [deprecated = true]; // The current state of the service account. // For any failed state, reach out to Temporal Cloud support for remediation. + // temporal:versioning:min_version=2024-10-01-00 // temporal:enums:replaces=state_deprecated temporal.api.cloud.resource.v1.ResourceState state = 8; // The id of the async operation that is creating/updating/deleting the service account, if any. @@ -199,9 +209,11 @@ message ApiKey { // The current state of the API key. // 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. - // Deprecated: Use state field instead. + // Deprecated: Not supported after 2024-10-01-00 api version. Use state instead. + // temporal:versioning:max_version=2024-10-01-00 string state_deprecated = 4 [deprecated = true]; // The current state of the API key. + // temporal:versioning:min_version=2024-10-01-00 // temporal:enums:replaces=state_deprecated temporal.api.cloud.resource.v1.ResourceState state = 8; // The id of the async operation that is creating/updating/deleting the API key, if any. @@ -222,9 +234,11 @@ message ApiKeySpec { // The type of the owner to create the API key for. // The owner type is immutable. Once set during creation, it cannot be changed. // Possible values: user, service-account. - // Deprecated: Use owner_type field instead. + // Deprecated: Not supported after 2024-10-01-00 api version. Use owner_type instead. + // temporal:versioning:max_version=2024-10-01-00 string owner_type_deprecated = 2 [deprecated = true]; // The type of the owner to create the API key for. + // temporal:versioning:min_version=2024-10-01-00 // temporal:enums:replaces=owner_type_deprecated OwnerType owner_type = 7; // The display name of the API key. diff --git a/temporal/api/cloud/namespace/v1/message.proto b/temporal/api/cloud/namespace/v1/message.proto index 5028cec..82d44ce 100644 --- a/temporal/api/cloud/namespace/v1/message.proto +++ b/temporal/api/cloud/namespace/v1/message.proto @@ -32,10 +32,12 @@ message MtlsAuthSpec { // This must only be one value, but the CA can have a chain. // // (-- api-linter: core::0140::base64=disabled --) - // Deprecated: Use accepted_client_ca instead. Will be ignored when accepted_client_ca is set. + // Deprecated: Not supported after 2024-05-13-00 api version. Use accepted_client_ca instead. + // temporal:versioning:max_version=2024-05-13-00 string accepted_client_ca_deprecated = 1; // The ca cert(s) in PEM format that the clients can use for authentication and authorization. // This must only be one value, but the CA can have a chain. + // temporal:versioning:min_version=2024-05-13-00 bytes accepted_client_ca = 4; // Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. // This allows limiting access to specific end-entity certificates. @@ -92,12 +94,14 @@ message NamespaceSpec { // Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. // NOTE: currently deleting a search attribute is not supported. // Optional, default is empty. - // Deprecated: Use search_attributes instead. + // Deprecated: Not supported after 2024-10-01-00 api version. Use search_attributes instead. + // temporal:versioning:max_version=2024-10-01-00 map custom_search_attributes = 5 [deprecated = true]; // The custom search attributes to use for the namespace. // The name of the attribute is the key and the type is the value. // Note: currently deleting a search attribute is not supported. // Optional, default is empty. + // temporal:versioning:min_version=2024-10-01-00 // temporal:enums:replaces=custom_search_attributes map search_attributes = 8; // Codec server spec used by UI to decode payloads for all users interacting with this namespace. @@ -156,10 +160,12 @@ message Namespace { // The namespace specification. NamespaceSpec spec = 3; // The current state of the namespace. - // Deprecated: Use state instead. + // Deprecated: Not supported after 2024-10-01-00 api version. Use state instead. + // temporal:versioning:max_version=2024-10-01-00 string state_deprecated = 4 [deprecated = true]; // The current state of the namespace. // For any failed state, reach out to Temporal Cloud support for remediation. + // temporal:versioning:min_version=2024-10-01-00 // temporal:enums:replaces=state_deprecated temporal.api.cloud.resource.v1.ResourceState state = 13; // The id of the async operation that is creating/updating/deleting the namespace, if any. @@ -186,9 +192,11 @@ message NamespaceRegionStatus { // The current state of the namespace region. // Possible values: adding, active, passive, removing, failed. // For any failed state, reach out to Temporal Cloud support for remediation. - // Deprecated: Use state instead. + // Deprecated: Not supported after 2024-10-01-00 api version. Use state instead. + // temporal:versioning:max_version=2024-10-01-00 string state_deprecated = 1 [deprecated = true]; // The current state of the namespace region. + // temporal:versioning:min_version=2024-10-01-00 // temporal:enums:replaces=state_deprecated State state = 3; // The id of the async operation that is making changes to where the namespace is available, if any. diff --git a/temporal/api/cloud/operation/v1/message.proto b/temporal/api/cloud/operation/v1/message.proto index ada08a3..7cd79fd 100644 --- a/temporal/api/cloud/operation/v1/message.proto +++ b/temporal/api/cloud/operation/v1/message.proto @@ -14,28 +14,30 @@ import "google/protobuf/timestamp.proto"; import "google/protobuf/any.proto"; message AsyncOperation { - // The operation id + // The operation id. string id = 1; - // The current state of this operation - // Possible values are: pending, in_progress, failed, cancelled, fulfilled - // Deprecated: Use the state field instead. + // The current state of this operation. + // Possible values are: pending, in_progress, failed, cancelled, fulfilled. + // Deprecated: Not supported after 2024-10-01-00 api version. Use state instead. + // temporal:versioning:max_version=2024-10-01-00 string state_deprecated = 2 [deprecated = true]; // The current state of this operation. + // temporal:versioning:min_version=2024-10-01-00 // temporal:enums:replaces=state_deprecated State state = 9; - // The recommended duration to check back for an update in the operation's state + // The recommended duration to check back for an update in the operation's state. google.protobuf.Duration check_duration = 3; - // The type of operation being performed + // The type of operation being performed. string operation_type = 4; - // The input to the operation being performed + // The input to the operation being performed. // // (-- api-linter: core::0146::any=disabled --) google.protobuf.Any operation_input = 5; - // If the operation failed, the reason for the failure + // If the operation failed, the reason for the failure. string failure_reason = 6; - // The date and time when the operation initiated + // The date and time when the operation initiated. google.protobuf.Timestamp started_time = 7; - // The date and time when the operation completed + // The date and time when the operation completed. google.protobuf.Timestamp finished_time = 8; enum State { diff --git a/temporal/api/cloud/region/v1/message.proto b/temporal/api/cloud/region/v1/message.proto index 3f9ffae..7a7be52 100644 --- a/temporal/api/cloud/region/v1/message.proto +++ b/temporal/api/cloud/region/v1/message.proto @@ -14,9 +14,11 @@ message Region { string id = 1; // The name of the cloud provider that's hosting the region. // Currently only "aws" is supported. - // Deprecated: Use cloud_provider instead. + // Deprecated: Not supported after 2024-10-01-00 api version. Use cloud_provider instead. + // temporal:versioning:max_version=2024-10-01-00 string cloud_provider_deprecated = 2 [deprecated = true]; // The cloud provider that's hosting the region. + // temporal:versioning:min_version=2024-10-01-00 // temporal:enums:replaces=cloud_provider_deprecated CloudProvider cloud_provider = 5; // The region identifier as defined by the cloud provider.