AuthzPolicyHttpRuleToOperation constructor

const AuthzPolicyHttpRuleToOperation({
  1. Input<AuthzPolicyHttpRuleToOperationHeaderSet?>? headerSet,
  2. Input<List<AuthzPolicyHttpRuleToOperationHost>?>? hosts,
  3. Input<AuthzPolicyHttpRuleToOperationMcp?>? mcp,
  4. Input<List<String>?>? methods,
  5. Input<List<AuthzPolicyHttpRuleToOperationPath>?>? paths,
})

Creates a new AuthzPolicyHttpRuleToOperation. headerSet A list of headers to match against in http header. hosts A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. mcp Defines the MCP protocol attributes to match on. MCP based match is allowed only when the AuthzPolicy points to an AgentGateway. methods A list of HTTP methods to match against. Each entry must be a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case sensitive. paths A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set.

Implementation

const AuthzPolicyHttpRuleToOperation({
  this.headerSet,
  this.hosts,
  this.mcp,
  this.methods,
  this.paths,
});