Class RateLimitPolicyRateLimitRuleToDestination
Describes properties of a request target.
Implements
Inherited Members
Namespace: Google.Apis.NetworkSecurity.v1beta1.Data
Assembly: Google.Apis.NetworkSecurity.v1beta1.dll
Syntax
public class RateLimitPolicyRateLimitRuleToDestination : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HeaderSet
Optional. Specifies a list of headers to match against in http header.
Declaration
[JsonProperty("headerSet")]
public virtual RateLimitPolicyRateLimitRuleToDestinationHeaderSet HeaderSet { get; set; }
Property Value
| Type | Description |
|---|---|
| RateLimitPolicyRateLimitRuleToDestinationHeaderSet |
Hosts
Optional. Specifies 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. The match follows OR semantics which means that if any of the hosts match, the operation is considered to be matched.
Declaration
[JsonProperty("hosts")]
public virtual IList<RateLimitPolicyRateLimitRuleStringMatch> Hosts { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<RateLimitPolicyRateLimitRuleStringMatch> |
Mcp
Optional. Specifies the MCP protocol attributes to match against. This field is only valid if the targeted Gateway or Forwarding Rule has an Agent Gateway attached to it.
Declaration
[JsonProperty("mcp")]
public virtual RateLimitPolicyRateLimitRuleToDestinationMCP Mcp { get; set; }
Property Value
| Type | Description |
|---|---|
| RateLimitPolicyRateLimitRuleToDestinationMCP |
Methods
Optional. Specifies 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. The match follows OR semantics which means that if any of the methods match, the operation is considered to be matched.
Declaration
[JsonProperty("methods")]
public virtual IList<string> Methods { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Paths
Optional. Specifies 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. The match follows OR semantics which means that if any of the paths match, the operation is considered to be matched. 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.
Declaration
[JsonProperty("paths")]
public virtual IList<RateLimitPolicyRateLimitRuleStringMatch> Paths { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<RateLimitPolicyRateLimitRuleStringMatch> |