Skip to content

Commit 16cf355

Browse files
OAS Update
1 parent 72e1bec commit 16cf355

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

services/kms/v1/kms.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,9 @@
150150
"type": "string"
151151
},
152152
"displayName": {
153-
"description": "The display name to distinguish multiple keys.",
153+
"description": "The display name to distinguish multiple keys. Valid characters: letters, digits, underscores and hyphens.",
154154
"maxLength": 64,
155+
"pattern": "^[a-zA-Z0-9_-]+$",
155156
"type": "string"
156157
},
157158
"importOnly": {
@@ -180,8 +181,9 @@
180181
"type": "string"
181182
},
182183
"displayName": {
183-
"description": "The display name to distinguish multiple key rings.",
184+
"description": "The display name to distinguish multiple key rings. Valid characters: letters, digits, underscores and hyphens.",
184185
"maxLength": 64,
186+
"pattern": "^[a-zA-Z0-9_-]+$",
185187
"type": "string"
186188
}
187189
},
@@ -202,8 +204,9 @@
202204
"type": "string"
203205
},
204206
"displayName": {
205-
"description": "The display name to distinguish multiple wrapping keys.",
207+
"description": "The display name to distinguish multiple wrapping keys. Valid characters: letters, digits, underscores and hyphens.",
206208
"maxLength": 64,
209+
"pattern": "^[a-zA-Z0-9_-]+$",
207210
"type": "string"
208211
},
209212
"protection": {

services/kms/v1beta/kms.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,9 @@
143143
"type": "string"
144144
},
145145
"displayName": {
146-
"description": "The display name to distinguish multiple keys.",
146+
"description": "The display name to distinguish multiple keys. Valid characters: letters, digits, underscores and hyphens.",
147147
"maxLength": 64,
148+
"pattern": "^[a-zA-Z0-9_-]+$",
148149
"type": "string"
149150
},
150151
"importOnly": {
@@ -173,8 +174,9 @@
173174
"type": "string"
174175
},
175176
"displayName": {
176-
"description": "The display name to distinguish multiple key rings.",
177+
"description": "The display name to distinguish multiple key rings. Valid characters: letters, digits, underscores and hyphens.",
177178
"maxLength": 64,
179+
"pattern": "^[a-zA-Z0-9_-]+$",
178180
"type": "string"
179181
}
180182
},
@@ -198,8 +200,9 @@
198200
"type": "string"
199201
},
200202
"displayName": {
201-
"description": "The display name to distinguish multiple wrapping keys.",
203+
"description": "The display name to distinguish multiple wrapping keys. Valid characters: letters, digits, underscores and hyphens.",
202204
"maxLength": 64,
205+
"pattern": "^[a-zA-Z0-9_-]+$",
203206
"type": "string"
204207
},
205208
"protection": {

0 commit comments

Comments
 (0)