// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
// versions:
//   protoc-gen-ts_proto  v1.181.1
//   protoc               v3.12.4
// source: policy/monitoring/ServiceResultCache.proto

/* eslint-disable */
import { type Metadata } from "../../common/Metadata.js";

/** Copyright Super iPaaS Integration LLC, an IBM Company 2024 */

/** The Service Result Cache related information is captured in the message ServiceResultCache */
export interface ServiceResultCache {
  kind?: string | undefined;
  apiVersion?:
    | string
    | undefined;
  /** common metadata to identify a specific asset in the files */
  metadata?: Metadata | undefined;
  kindEnum?: ServiceResultCache_KindEnums | undefined;
  spec?: ServiceResultCache_Spec | undefined;
}

/** Kind id supported for cache result cache */
export enum ServiceResultCache_KindEnums {
  CacheServiceResult = "CacheServiceResult",
}

/** The Spec is used to define the list of condition, ttl, enabled max size */
export interface ServiceResultCache_Spec {
  /** Single instance of condition can be given */
  condition?:
    | string
    | undefined;
  /** Single instance of ttl can be given */
  ttl?:
    | string
    | undefined;
  /** Can be enabled or disabled */
  enabled?:
    | boolean
    | undefined;
  /** single instance pf maximum size can be given */
  maxSize?: string | undefined;
}
