@apistudio/apim-cli
Version:
CLI for API Management Products
48 lines (41 loc) • 1.49 kB
text/typescript
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
// versions:
// protoc-gen-ts_proto v1.181.1
// protoc v3.12.4
// source: policy/iam/SetContextVariable.proto
/* eslint-disable */
import { type Metadata } from "../../common/Metadata.js";
import { type Namespaces } from "../common/Namespaces.js";
/** Copyright Super iPaaS Integration LLC, an IBM Company 2024 */
/** The Context Variablemrelated information is captured in the message SetContextVariable. */
export interface SetContextVariable {
kind?: string | undefined;
apiVersion?:
| string
| undefined;
/** common metadata to identify a specific asset in the files */
metadata?: Metadata | undefined;
kindEnum?: SetContextVariable_KindEnums | undefined;
spec?: SetContextVariable_Spec | undefined;
}
/** Kind id supported for Set Context Variable */
export enum SetContextVariable_KindEnums {
SetContextVariable = "SetContextVariable",
}
/** The message specified the information related to Variable */
export interface SetContextVariable_Variable {
name?: string | undefined;
value?: string | undefined;
}
/** The Spec is used to define the list of variables and namespaces */
export interface SetContextVariable_Spec {
condition?:
| string
| undefined;
/** Multiple instances of variable can be given */
variable?:
| SetContextVariable_Variable[]
| undefined;
/** Multiple instances of namespace can be given */
namespaces?: Namespaces[] | undefined;
}