Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SecurityPolicyUserDefinedField

import type { SecurityPolicyUserDefinedField } from "https://googleapis.deno.dev/v1/compute:v1.ts";
interface SecurityPolicyUserDefinedField {
base?:
| "IPV4"
| "IPV6"
| "TCP"
| "UDP";
mask?: string;
name?: string;
offset?: number;
size?: number;
}

§Properties

§
base?: "IPV4" | "IPV6" | "TCP" | "UDP"
[src]

The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required

§
mask?: string
[src]

If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x"). The last byte of the field (in network byte order) corresponds to the least significant byte of the mask.

§
name?: string
[src]

The name of this field. Must be unique within the policy.

§
offset?: number
[src]

Offset of the first byte of the field (in network byte order) relative to 'base'.

§
size?: number
[src]

Size of the field in bytes. Valid values: 1-4.