Network Security v1 API - Class AuthzPolicy.Types.AuthzRule.Types.To.Types.RequestOperation (1.0.0-beta01)

public sealed class AuthzPolicy.Types.AuthzRule.Types.To.Types.RequestOperation : IMessage<AuthzPolicy.Types.AuthzRule.Types.To.Types.RequestOperation>, IEquatable<AuthzPolicy.Types.AuthzRule.Types.To.Types.RequestOperation>, IDeepCloneable<AuthzPolicy.Types.AuthzRule.Types.To.Types.RequestOperation>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Security v1 API class AuthzPolicy.Types.AuthzRule.Types.To.Types.RequestOperation.

Describes properties of one or more targets of a request.

Inheritance

object > AuthzPolicy.Types.AuthzRule.Types.To.Types.RequestOperation

Namespace

Google.Cloud.NetworkSecurity.V1

Assembly

Google.Cloud.NetworkSecurity.V1.dll

Constructors

RequestOperation()

public RequestOperation()

RequestOperation(RequestOperation)

public RequestOperation(AuthzPolicy.Types.AuthzRule.Types.To.Types.RequestOperation other)
Parameter
Name Description
other AuthzPolicyTypesAuthzRuleTypesToTypesRequestOperation

Properties

HeaderSet

public AuthzPolicy.Types.AuthzRule.Types.To.Types.RequestOperation.Types.HeaderSet HeaderSet { get; set; }

Optional. A list of headers to match against in http header.

Property Value
Type Description
AuthzPolicyTypesAuthzRuleTypesToTypesRequestOperationTypesHeaderSet

Hosts

public RepeatedField<AuthzPolicy.Types.AuthzRule.Types.StringMatch> Hosts { get; }

Optional. 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 hosts per Authorization Policy.

Property Value
Type Description
RepeatedFieldAuthzPolicyTypesAuthzRuleTypesStringMatch

Mcp

public AuthzPolicy.Types.AuthzRule.Types.To.Types.RequestOperation.Types.MCP Mcp { get; set; }

Optional. Defines the MCP protocol attributes to match on. If the MCP payload in the request body cannot be successfully parsed, the request will be denied. This field can be set only for AuthzPolicies targeting AgentGateway resources.

Property Value
Type Description
AuthzPolicyTypesAuthzRuleTypesToTypesRequestOperationTypesMCP

Methods

public RepeatedField<string> Methods { get; }

Optional. 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. Limited to 10 methods per Authorization Policy.

Property Value
Type Description
RepeatedFieldstring

Paths

public RepeatedField<AuthzPolicy.Types.AuthzRule.Types.StringMatch> Paths { get; }

Optional. 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 paths per Authorization Policy. 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.

Property Value
Type Description
RepeatedFieldAuthzPolicyTypesAuthzRuleTypesStringMatch

Snis

public RepeatedField<AuthzPolicy.Types.AuthzRule.Types.StringMatch> Snis { get; }

Optional. A list of SNIs to match against. The match can be one of exact, prefix, suffix, or contains (substring match). If there is no SNI (i.e. plaintext HTTP traffic), the request will be denied. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 SNIs per Authorization Policy.

Property Value
Type Description
RepeatedFieldAuthzPolicyTypesAuthzRuleTypesStringMatch