@@ -51,12 +51,23 @@ export interface CreateJobDefinitionSecretsRequestSecretConfig {
5151}
5252
5353export interface Secret {
54+ /** UUID of the secret reference within the job. */
5455 secretId : string
56+ /** UUID of the secret in Secret Manager. */
5557 secretManagerId : string
58+ /** Version of the secret in Secret Manager. */
5659 secretManagerVersion : string
57- /** One-of ('secretConfig'): at most one of 'file', 'envVar' could be set. */
60+ /**
61+ * File secret mounted inside the job.
62+ *
63+ * One-of ('secretConfig'): at most one of 'file', 'envVar' could be set.
64+ */
5865 file ?: SecretFile
59- /** One-of ('secretConfig'): at most one of 'file', 'envVar' could be set. */
66+ /**
67+ * Environment variable used to expose the secret.
68+ *
69+ * One-of ('secretConfig'): at most one of 'file', 'envVar' could be set.
70+ */
6071 envVar ?: SecretEnvVar
6172}
6273
@@ -154,13 +165,14 @@ export type CreateJobDefinitionSecretsRequest = {
154165 * config.
155166 */
156167 region ?: Region
157- /** UUID of the job definition to get . */
168+ /** UUID of the job definition. */
158169 jobDefinitionId : string
159- /** Secrets to inject into the job. */
170+ /** List of secrets to inject into the job. */
160171 secrets : CreateJobDefinitionSecretsRequestSecretConfig [ ]
161172}
162173
163174export interface CreateJobDefinitionSecretsResponse {
175+ /** List of secrets created. */
164176 secrets : Secret [ ]
165177}
166178
@@ -180,7 +192,9 @@ export type DeleteJobDefinitionSecretRequest = {
180192 * config.
181193 */
182194 region ?: Region
195+ /** UUID of the job definition. */
183196 jobDefinitionId : string
197+ /** UUID of the secret reference within the job. */
184198 secretId : string
185199}
186200
@@ -200,7 +214,9 @@ export type GetJobDefinitionSecretRequest = {
200214 * config.
201215 */
202216 region ?: Region
217+ /** UUID of the job definition. */
203218 jobDefinitionId : string
219+ /** UUID of the secret reference within the job. */
204220 secretId : string
205221}
206222
@@ -232,11 +248,14 @@ export type ListJobDefinitionSecretsRequest = {
232248 * config.
233249 */
234250 region ?: Region
251+ /** UUID of the job definition. */
235252 jobDefinitionId : string
236253}
237254
238255export interface ListJobDefinitionSecretsResponse {
256+ /** List of secret references within a job definition. */
239257 secrets : Secret [ ]
258+ /** Total count of secret references within a job definition. */
240259 totalCount : number
241260}
242261
@@ -354,11 +373,24 @@ export type UpdateJobDefinitionSecretRequest = {
354373 * config.
355374 */
356375 region ?: Region
376+ /** UUID of the job definition. */
357377 jobDefinitionId : string
378+ /** UUID of the secret reference within the job. */
358379 secretId : string
380+ /** Version of the secret in Secret Manager. */
359381 secretManagerVersion ?: string
360- /** One-of ('secretConfig'): at most one of 'path', 'envVarName' could be set. */
382+ /**
383+ * Path of the secret to mount inside the job (either `path` or `env_var_name`
384+ * must be set).
385+ *
386+ * One-of ('secretConfig'): at most one of 'path', 'envVarName' could be set.
387+ */
361388 path ?: string
362- /** One-of ('secretConfig'): at most one of 'path', 'envVarName' could be set. */
389+ /**
390+ * Environment variable name used to expose the secret inside the job (either
391+ * `path` or `env_var_name` must be set).
392+ *
393+ * One-of ('secretConfig'): at most one of 'path', 'envVarName' could be set.
394+ */
363395 envVarName ?: string
364396}
0 commit comments