File tree 2 files changed +26
-2
lines changed
temporal/api/operatorservice/v1
2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,21 @@ message AddSearchAttributesRequest {
44
44
message AddSearchAttributesResponse {
45
45
}
46
46
47
+ message UpgradeKeywordSearchAttributesRequest {
48
+ string namespace = 1 ;
49
+ repeated string search_attributes = 2 ;
50
+ }
51
+
52
+ message UpgradeKeywordSearchAttributesResponse {
53
+ }
54
+
55
+ message SyncSearchAttributesSecondaryVisibilityRequest {
56
+ string namespace = 1 ;
57
+ }
58
+
59
+ message SyncSearchAttributesSecondaryVisibilityResponse {
60
+ }
61
+
47
62
message RemoveSearchAttributesRequest {
48
63
// Search attribute names to delete.
49
64
repeated string search_attributes = 1 ;
Original file line number Diff line number Diff line change @@ -42,13 +42,22 @@ import "google/api/annotations.proto";
42
42
service OperatorService {
43
43
// (-- Search Attribute --)
44
44
45
- // AddSearchAttributes add custom search attributes.
45
+ // AddSearchAttributes add custom search attributes. If the search attribute already exists,
46
+ // it will be ignored.
46
47
//
47
- // Returns ALREADY_EXISTS status code if a Search Attribute with any of the specified names already exists
48
48
// Returns INTERNAL status code with temporal.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails,
49
49
rpc AddSearchAttributes (AddSearchAttributesRequest ) returns (AddSearchAttributesResponse ) {
50
50
}
51
51
52
+ // UpgradeKeywordSearchAttributes changes a Keyword search attribute type to KeywordList.
53
+ rpc UpgradeKeywordSearchAttributes (UpgradeKeywordSearchAttributesRequest ) returns (UpgradeKeywordSearchAttributesResponse ) {
54
+ }
55
+
56
+ // SyncSearchAttributesSecondaryVisibility syncs search attributes in the secondary visibility
57
+ // from the primary visibility.
58
+ rpc SyncSearchAttributesSecondaryVisibility (SyncSearchAttributesSecondaryVisibilityRequest ) returns (SyncSearchAttributesSecondaryVisibilityResponse ) {
59
+ }
60
+
52
61
// RemoveSearchAttributes removes custom search attributes.
53
62
//
54
63
// Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered
You can’t perform that action at this time.
0 commit comments