AuthzPolicyHttpRuleToOperation class
Constructors
-
AuthzPolicyHttpRuleToOperation({Input<List<AuthzPolicyHttpRuleToOperationHost>?>? hosts, Input<AuthzPolicyHttpRuleToOperationMcp?>? mcp, Input<List<String>?>? methods, 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.
const
-
AuthzPolicyHttpRuleToOperation.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
A list of headers to match against in http header.
Structure is documented below.
final
-
hosts
→ Input<List<AuthzPolicyHttpRuleToOperationHost>?>?
-
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.
Limited to 10 matches.
Structure is documented below.
final
-
mcp
→ Input<AuthzPolicyHttpRuleToOperationMcp?>?
-
Defines the MCP protocol attributes to match on. MCP based match is allowed only when the AuthzPolicy points to an AgentGateway.
Structure is documented below.
final
-
methods
→ Input<List<String>?>?
-
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.
final
-
paths
→ Input<List<AuthzPolicyHttpRuleToOperationPath>?>?
-
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.
Limited to 10 matches.
Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
Structure is documented below.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited