diff --git a/packages/clients/src/api/secret/v1beta1/marshalling.gen.ts b/packages/clients/src/api/secret/v1beta1/marshalling.gen.ts index 71e163be4..43840261d 100644 --- a/packages/clients/src/api/secret/v1beta1/marshalling.gen.ts +++ b/packages/clients/src/api/secret/v1beta1/marshalling.gen.ts @@ -117,6 +117,7 @@ export const unmarshalAccessSecretVersionResponse = ( dataCrc32: data.data_crc32, revision: data.revision, secretId: data.secret_id, + type: data.type, } as AccessSecretVersionResponse } diff --git a/packages/clients/src/api/secret/v1beta1/types.gen.ts b/packages/clients/src/api/secret/v1beta1/types.gen.ts index 3c03826b1..a2d0b0576 100644 --- a/packages/clients/src/api/secret/v1beta1/types.gen.ts +++ b/packages/clients/src/api/secret/v1beta1/types.gen.ts @@ -141,7 +141,7 @@ export interface Secret { managed: boolean /** Returns `true` for protected secrets that cannot be deleted. */ protected: boolean - /** See `Secret.Type` enum for description of values. */ + /** See the `Secret.Type` enum for a description of values. */ type: SecretType /** Location of the secret in the directory structure. */ path: string @@ -188,6 +188,8 @@ export interface AccessSecretVersionResponse { * the version. */ dataCrc32?: number + /** See the `Secret.Type` enum for a description of values. */ + type: SecretType } export type AddSecretOwnerRequest = { @@ -243,7 +245,7 @@ export type CreateSecretRequest = { /** Description of the secret. */ description?: string /** - * (Optional.) See `Secret.Type` enum for description of values. If not + * (Optional.) See the `Secret.Type` enum for a description of values. If not * specified, the type is `Opaque`. */ type?: SecretType