/** * HashiCorp Vault API * HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`. * * The version of the OpenAPI document: 1.20.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface GoogleCloudKmsEncryptRequest */ export interface GoogleCloudKmsEncryptRequest { /** * Optional base64-encoded data that, if specified, must also be provided to decrypt this payload. * @type {string} * @memberof GoogleCloudKmsEncryptRequest */ additionalAuthenticatedData?: string; /** * Integer version of the crypto key version to use for encryption. If unspecified, this defaults to the latest active crypto key version. * @type {number} * @memberof GoogleCloudKmsEncryptRequest */ keyVersion?: number; /** * Plaintext value to be encrypted. This can be a string or binary, but the size is limited. See the Google Cloud KMS documentation for information on size limitations by key types. * @type {string} * @memberof GoogleCloudKmsEncryptRequest */ plaintext?: string; } /** * Check if a given object implements the GoogleCloudKmsEncryptRequest interface. */ export declare function instanceOfGoogleCloudKmsEncryptRequest(value: object): value is GoogleCloudKmsEncryptRequest; export declare function GoogleCloudKmsEncryptRequestFromJSON(json: any): GoogleCloudKmsEncryptRequest; export declare function GoogleCloudKmsEncryptRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GoogleCloudKmsEncryptRequest; export declare function GoogleCloudKmsEncryptRequestToJSON(json: any): GoogleCloudKmsEncryptRequest; export declare function GoogleCloudKmsEncryptRequestToJSONTyped(value?: GoogleCloudKmsEncryptRequest | null, ignoreDiscriminator?: boolean): any;