v1beta1

package
v1.124.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	ComputeForwardingRuleGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    "ComputeForwardingRule",
	}
)
View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "compute.cnrm.cloud.google.com", Version: "v1beta1"}
)

Functions

This section is empty.

Types

type ComputeFirewallPolicyRule added in v1.124.0

type ComputeFirewallPolicyRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ComputeFirewallPolicyRuleSpec   `json:"spec,omitempty"`
	Status ComputeFirewallPolicyRuleStatus `json:"status,omitempty"`
}

ComputeFirewallPolicyRule is the Schema for the compute API +k8s:openapi-gen=true

func (*ComputeFirewallPolicyRule) DeepCopy added in v1.124.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeFirewallPolicyRule.

func (*ComputeFirewallPolicyRule) DeepCopyInto added in v1.124.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ComputeFirewallPolicyRule) DeepCopyObject added in v1.124.0

func (in *ComputeFirewallPolicyRule) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ComputeFirewallPolicyRuleList added in v1.124.0

type ComputeFirewallPolicyRuleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ComputeFirewallPolicyRule `json:"items"`
}

ComputeFirewallPolicyRuleList contains a list of ComputeFirewallPolicyRule

func (*ComputeFirewallPolicyRuleList) DeepCopy added in v1.124.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeFirewallPolicyRuleList.

func (*ComputeFirewallPolicyRuleList) DeepCopyInto added in v1.124.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ComputeFirewallPolicyRuleList) DeepCopyObject added in v1.124.0

func (in *ComputeFirewallPolicyRuleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ComputeFirewallPolicyRuleSpec added in v1.124.0

type ComputeFirewallPolicyRuleSpec struct {
	/* The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next". */
	Action string `json:"action"`

	/* An optional description for this resource. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* The direction in which this rule applies. Possible values: INGRESS, EGRESS */
	Direction string `json:"direction"`

	/* Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled. */
	// +optional
	Disabled *bool `json:"disabled,omitempty"`

	/* Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. */
	// +optional
	EnableLogging *bool `json:"enableLogging,omitempty"`

	/* Immutable. */
	FirewallPolicyRef *refs.ComputeFirewallPolicyRef `json:"firewallPolicyRef"`

	/* A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. */
	Match *FirewallPolicyRuleMatch `json:"match"`

	/* Immutable. An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority. */
	Priority int64 `json:"priority"`

	// +optional
	TargetResources []*refs.ComputeNetworkRef `json:"targetResources,omitempty"`

	// +optional
	TargetServiceAccounts []*refs.IAMServiceAccountRef `json:"targetServiceAccounts,omitempty"`
}

+kcc:proto=google.cloud.compute.v1.FirewallPolicyRule

func (*ComputeFirewallPolicyRuleSpec) DeepCopy added in v1.124.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeFirewallPolicyRuleSpec.

func (*ComputeFirewallPolicyRuleSpec) DeepCopyInto added in v1.124.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputeFirewallPolicyRuleStatus added in v1.124.0

type ComputeFirewallPolicyRuleStatus struct {
	commonv1alpha1.CommonStatus `json:",inline"`
	/* Type of the resource. Always `compute#firewallPolicyRule` for firewall policy rules */
	// +optional
	Kind *string `json:"kind,omitempty"`

	/* Calculation of the complexity of a single firewall policy rule. */
	// +optional
	RuleTupleCount *int64 `json:"ruleTupleCount,omitempty"`
}

+kcc:proto=google.cloud.compute.v1.FirewallPolicyRule

func (*ComputeFirewallPolicyRuleStatus) DeepCopy added in v1.124.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeFirewallPolicyRuleStatus.

func (*ComputeFirewallPolicyRuleStatus) DeepCopyInto added in v1.124.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputeForwardingRule

type ComputeForwardingRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ComputeForwardingRuleSpec   `json:"spec,omitempty"`
	Status ComputeForwardingRuleStatus `json:"status,omitempty"`
}

ComputeForwardingRule is the Schema for the compute API +k8s:openapi-gen=true

func (*ComputeForwardingRule) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeForwardingRule.

func (*ComputeForwardingRule) DeepCopyInto

func (in *ComputeForwardingRule) DeepCopyInto(out *ComputeForwardingRule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ComputeForwardingRule) DeepCopyObject

func (in *ComputeForwardingRule) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ComputeForwardingRuleList

type ComputeForwardingRuleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ComputeForwardingRule `json:"items"`
}

ComputeForwardingRuleList contains a list of ComputeForwardingRule

func (*ComputeForwardingRuleList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeForwardingRuleList.

func (*ComputeForwardingRuleList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ComputeForwardingRuleList) DeepCopyObject

func (in *ComputeForwardingRuleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ComputeForwardingRuleSpec

type ComputeForwardingRuleSpec struct {
	/* Immutable. This field can only be used:
	* If 'IPProtocol' is one of TCP, UDP, or SCTP.
	* By internal TCP/UDP load balancers, backend service-based network load
	balancers, and internal and external protocol forwarding.

	This option should be set to TRUE when the Forwarding Rule
	IPProtocol is set to L3_DEFAULT.

	Set this field to true to allow packets addressed to any port or packets
	lacking destination port information (for example, UDP fragments after the
	first fragment) to be forwarded to the backends configured with this
	forwarding rule.

	The 'ports', 'port_range', and
	'allPorts' fields are mutually exclusive. */
	// +optional
	AllPorts *bool `json:"allPorts,omitempty"`

	/* This field is used along with the 'backend_service' field for
	internal load balancing or with the 'target' field for internal
	TargetInstance.

	If the field is set to 'TRUE', clients can access ILB from all
	regions.

	Otherwise only allows access from clients in the same region as the
	internal load balancer. */
	// +optional
	AllowGlobalAccess *bool `json:"allowGlobalAccess,omitempty"`

	/* This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region. */
	// +optional
	AllowPscGlobalAccess *bool `json:"allowPscGlobalAccess,omitempty"`

	/* A ComputeBackendService to receive the matched traffic. This is
	used only for internal load balancing. */
	// +optional
	BackendServiceRef *refs.ComputeBackendServiceRef `json:"backendServiceRef,omitempty"`

	/* Immutable. An optional description of this resource. Provide this property when
	you create the resource. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* The IP address that this forwarding rule is serving on behalf of.

	Addresses are restricted based on the forwarding rule's load
	balancing scheme (EXTERNAL or INTERNAL) and scope (global or
	regional).

	When the load balancing scheme is EXTERNAL, for global forwarding
	rules, the address must be a global IP, and for regional forwarding
	rules, the address must live in the same region as the forwarding
	rule. If this field is empty, an ephemeral IPv4 address from the
	same scope (global or regional) will be assigned. A regional
	forwarding rule supports IPv4 only. A global forwarding rule
	supports either IPv4 or IPv6.

	When the load balancing scheme is INTERNAL, this can only be an RFC
	1918 IP address belonging to the network/subnet configured for the
	forwarding rule. By default, if this field is empty, an ephemeral
	internal IP address will be automatically allocated from the IP
	range of the subnet or network configured for this forwarding rule. */
	// +optional
	IpAddress *ForwardingruleIpAddress `json:"ipAddress,omitempty"`

	/* Immutable. The IP protocol to which this rule applies.

	For protocol forwarding, valid
	options are 'TCP', 'UDP', 'ESP',
	'AH', 'SCTP', 'ICMP' and
	'L3_DEFAULT'.

	The valid IP protocols are different for different load balancing products
	as described in [Load balancing
	features](https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends).

	A Forwarding Rule with protocol L3_DEFAULT can attach with target instance or
	backend service with UNSPECIFIED protocol.
	A forwarding rule with "L3_DEFAULT" IPProtocal cannot be attached to a backend service with TCP or UDP. Possible values: ["TCP", "UDP", "ESP", "AH", "SCTP", "ICMP", "L3_DEFAULT"]. */
	// +optional
	IpProtocol *string `json:"ipProtocol,omitempty"`

	/* Immutable. The IP address version that will be used by this forwarding rule.
	Valid options are IPV4 and IPV6.

	If not set, the IPv4 address will be used by default. Possible values: ["IPV4", "IPV6"]. */
	// +optional
	IpVersion *string `json:"ipVersion,omitempty"`

	/* Immutable. Indicates whether or not this load balancer can be used as a collector for
	packet mirroring. To prevent mirroring loops, instances behind this
	load balancer will not have their traffic mirrored even if a
	'PacketMirroring' rule applies to them.

	This can only be set to true for load balancers that have their
	'loadBalancingScheme' set to 'INTERNAL'. */
	// +optional
	IsMirroringCollector *bool `json:"isMirroringCollector,omitempty"`

	/* Immutable. Specifies the forwarding rule type.

	Must set to empty for private service connect forwarding rule. For more information about forwarding rules, refer to
	[Forwarding rule concepts](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts). Default value: "EXTERNAL" Possible values: ["EXTERNAL", "EXTERNAL_MANAGED", "INTERNAL", "INTERNAL_MANAGED", ""]. */
	// +optional
	LoadBalancingScheme *string `json:"loadBalancingScheme,omitempty"`

	/* Location represents the geographical location of the ComputeForwardingRule. Specify a region name or "global" for global resources. Reference: GCP definition of regions/zones (https://cloud.google.com/compute/docs/regions-zones/) */
	Location string `json:"location"`

	/* Immutable. Opaque filter criteria used by Loadbalancer to restrict routing
	configuration to a limited set xDS compliant clients. In their xDS
	requests to Loadbalancer, xDS clients present node metadata. If a
	match takes place, the relevant routing configuration is made available
	to those proxies.

	For each metadataFilter in this list, if its filterMatchCriteria is set
	to MATCH_ANY, at least one of the filterLabels must match the
	corresponding label provided in the metadata. If its filterMatchCriteria
	is set to MATCH_ALL, then all of its filterLabels must match with
	corresponding labels in the provided metadata.

	metadataFilters specified here can be overridden by those specified in
	the UrlMap that this ForwardingRule references.

	metadataFilters only applies to Loadbalancers that have their
	loadBalancingScheme set to INTERNAL_SELF_MANAGED. */
	// +optional
	MetadataFilters []ForwardingruleMetadataFilters `json:"metadataFilters,omitempty"`

	/* This field is not used for external load balancing. For internal
	load balancing, this field identifies the network that the load
	balanced IP should belong to for this forwarding rule. If this
	field is not specified, the default network will be used. */
	// +optional
	NetworkRef *refs.ComputeNetworkRef `json:"networkRef,omitempty"`

	/* Immutable. This signifies the networking tier used for configuring
	this load balancer and can only take the following values:
	'PREMIUM', 'STANDARD'.

	For regional ForwardingRule, the valid values are 'PREMIUM' and
	'STANDARD'. For GlobalForwardingRule, the valid value is
	'PREMIUM'.

	If this field is not specified, it is assumed to be 'PREMIUM'.
	If 'IPAddress' is specified, this value must be equal to the
	networkTier of the Address. Possible values: ["PREMIUM", "STANDARD"]. */
	// +optional
	NetworkTier *string `json:"networkTier,omitempty"`

	/* Immutable. This is used in PSC consumer ForwardingRule to control whether it should try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this field. */
	// +optional
	NoAutomateDnsZone *bool `json:"noAutomateDnsZone,omitempty"`

	/* Immutable. This field can only be used:

	* If 'IPProtocol' is one of TCP, UDP, or SCTP.
	* By backend service-based network load balancers, target pool-based
	network load balancers, internal proxy load balancers, external proxy load
	balancers, Traffic Director, external protocol forwarding, and Classic VPN.
	Some products have restrictions on what ports can be used. See
	[port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#port_specifications)
	for details.


	Only packets addressed to ports in the specified range will be forwarded to
	the backends configured with this forwarding rule.

	The 'ports' and 'port_range' fields are mutually exclusive.

	For external forwarding rules, two or more forwarding rules cannot use the
	same '[IPAddress, IPProtocol]' pair, and cannot have
	overlapping 'portRange's.

	For internal forwarding rules within the same VPC network, two or more
	forwarding rules cannot use the same '[IPAddress, IPProtocol]'
	pair, and cannot have overlapping 'portRange's. */
	// +optional
	PortRange *string `json:"portRange,omitempty"`

	/* Immutable. This field can only be used:

	* If 'IPProtocol' is one of TCP, UDP, or SCTP.
	* By internal TCP/UDP load balancers, backend service-based network load
	balancers, internal protocol forwarding and when protocol is not L3_DEFAULT.


	You can specify a list of up to five ports by number, separated by commas.
	The ports can be contiguous or discontiguous. Only packets addressed to
	these ports will be forwarded to the backends configured with this
	forwarding rule.

	For external forwarding rules, two or more forwarding rules cannot use the
	same '[IPAddress, IPProtocol]' pair, and cannot share any values
	defined in 'ports'.

	For internal forwarding rules within the same VPC network, two or more
	forwarding rules cannot use the same '[IPAddress, IPProtocol]'
	pair, and cannot share any values defined in 'ports'.

	The 'ports' and 'port_range' fields are mutually exclusive. */
	// +optional
	Ports []string `json:"ports,omitempty"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* Immutable. Service Directory resources to register this forwarding rule with.

	Currently, only supports a single Service Directory resource. */
	// +optional
	ServiceDirectoryRegistrations []ForwardingruleServiceDirectoryRegistrations `json:"serviceDirectoryRegistrations,omitempty"`

	/* Immutable. An optional prefix to the service name for this Forwarding Rule.
	If specified, will be the first label of the fully qualified service
	name.

	The label must be 1-63 characters long, and comply with RFC1035.
	Specifically, the label must be 1-63 characters long and match the
	regular expression '[a-z]([-a-z0-9]*[a-z0-9])?' which means the first
	character must be a lowercase letter, and all following characters
	must be a dash, lowercase letter, or digit, except the last
	character, which cannot be a dash.

	This field is only used for INTERNAL load balancing. */
	// +optional
	ServiceLabel *string `json:"serviceLabel,omitempty"`

	/* Immutable. If not empty, this Forwarding Rule will only forward the traffic when the source IP address matches one of the IP addresses or CIDR ranges set here. Note that a Forwarding Rule can only have up to 64 source IP ranges, and this field can only be used with a regional Forwarding Rule whose scheme is EXTERNAL. Each sourceIpRange entry should be either an IP address (for example, 1.2.3.4) or a CIDR range (for example, 1.2.3.0/24). */
	// +optional
	SourceIpRanges []string `json:"sourceIpRanges,omitempty"`

	/* Immutable. The subnetwork that the load balanced IP should belong to for this
	forwarding rule. This field is only used for internal load
	balancing.

	If the network specified is in auto subnet mode, this field is
	optional. However, if the network is in custom subnet mode, a
	subnetwork must be specified. */
	// +optional
	SubnetworkRef *refs.ComputeSubnetworkRef `json:"subnetworkRef,omitempty"`

	/* The target resource to receive the matched traffic. The forwarded
	traffic must be of a type appropriate to the target object. For
	INTERNAL_SELF_MANAGED load balancing, only HTTP and HTTPS targets
	are valid. */
	// +optional
	Target *ForwardingruleTarget `json:"target,omitempty"`
}

+kcc:proto=google.cloud.compute.v1.ForwardingRule

func (*ComputeForwardingRuleSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeForwardingRuleSpec.

func (*ComputeForwardingRuleSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputeForwardingRuleStatus

type ComputeForwardingRuleStatus struct {
	commonv1alpha1.CommonStatus `json:",inline"`
	/* [Output Only] The URL for the corresponding base Forwarding Rule. By base Forwarding Rule, we mean the Forwarding Rule that has the same IP address, protocol, and port settings with the current Forwarding Rule, but without sourceIPRanges specified. Always empty if the current Forwarding Rule does not have sourceIPRanges specified. */
	// +optional
	BaseForwardingRule *string `json:"baseForwardingRule,omitempty"`

	/* Creation timestamp in RFC3339 text format. */
	// +optional
	CreationTimestamp *string `json:"creationTimestamp,omitempty"`

	/* The fingerprint used for optimistic locking of this resource.  Used
	internally during updates. */
	// +optional
	LabelFingerprint *string `json:"labelFingerprint,omitempty"`

	/* The PSC connection id of the PSC Forwarding Rule. */
	// +optional
	PscConnectionId *string `json:"pscConnectionId,omitempty"`

	/* The PSC connection status of the PSC Forwarding Rule. Possible values: 'STATUS_UNSPECIFIED', 'PENDING', 'ACCEPTED', 'REJECTED', 'CLOSED'. */
	// +optional
	PscConnectionStatus *string `json:"pscConnectionStatus,omitempty"`

	// +optional
	SelfLink *string `json:"selfLink,omitempty"`

	/* The internal fully qualified service name for this Forwarding Rule.

	This field is only used for INTERNAL load balancing. */
	// +optional
	ServiceName *string `json:"serviceName,omitempty"`
}

+kcc:proto=google.cloud.compute.v1.ForwardingRule

func (*ComputeForwardingRuleStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeForwardingRuleStatus.

func (*ComputeForwardingRuleStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FirewallPolicyRuleLayer4Configs added in v1.124.0

type FirewallPolicyRuleLayer4Configs struct {
	/* The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (`tcp`, `udp`, `icmp`, `esp`, `ah`, `ipip`, `sctp`), or the IP protocol number. */
	IPProtocol string `json:"ipProtocol"`

	/* An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: “. */
	// +optional
	Ports []string `json:"ports,omitempty"`
}

+kcc:proto=google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config

func (*FirewallPolicyRuleLayer4Configs) DeepCopy added in v1.124.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicyRuleLayer4Configs.

func (*FirewallPolicyRuleLayer4Configs) DeepCopyInto added in v1.124.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FirewallPolicyRuleMatch added in v1.124.0

type FirewallPolicyRuleMatch struct {
	/* Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10. Destination address groups is only supported in Egress rules. */
	// +optional
	DestAddressGroups []string `json:"destAddressGroups,omitempty"`

	/* Domain names that will be used to match against the resolved domain name of destination of traffic. Can only be specified if DIRECTION is egress. */
	// +optional
	DestFqdns []string `json:"destFqdns,omitempty"`

	/* CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 256. */
	// +optional
	DestIPRanges []string `json:"destIPRanges,omitempty"`

	/* The Unicode country codes whose IP addresses will be used to match against the source of traffic. Can only be specified if DIRECTION is egress. */
	// +optional
	DestRegionCodes []string `json:"destRegionCodes,omitempty"`

	/* Name of the Google Cloud Threat Intelligence list. */
	// +optional
	DestThreatIntelligences []string `json:"destThreatIntelligences,omitempty"`

	/* Pairs of IP protocols and ports that the rule should match. */
	Layer4Configs []FirewallPolicyRuleLayer4Configs `json:"layer4Configs"`

	/* Address groups which should be matched against the traffic source. Maximum number of source address groups is 10. Source address groups is only supported in Ingress rules. */
	// +optional
	SrcAddressGroups []string `json:"srcAddressGroups,omitempty"`

	/* Domain names that will be used to match against the resolved domain name of source of traffic. Can only be specified if DIRECTION is ingress. */
	// +optional
	SrcFqdns []string `json:"srcFqdns,omitempty"`

	/* CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 256. */
	// +optional
	SrcIPRanges []string `json:"srcIPRanges,omitempty"`

	/* The Unicode country codes whose IP addresses will be used to match against the source of traffic. Can only be specified if DIRECTION is ingress. */
	// +optional
	SrcRegionCodes []string `json:"srcRegionCodes,omitempty"`

	/* Name of the Google Cloud Threat Intelligence list. */
	// +optional
	SrcThreatIntelligences []string `json:"srcThreatIntelligences,omitempty"`
}

+kcc:proto=google.cloud.compute.v1.FirewallPolicyRuleMatcher

func (*FirewallPolicyRuleMatch) DeepCopy added in v1.124.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicyRuleMatch.

func (*FirewallPolicyRuleMatch) DeepCopyInto added in v1.124.0

func (in *FirewallPolicyRuleMatch) DeepCopyInto(out *FirewallPolicyRuleMatch)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ForwardingruleFilterLabels

type ForwardingruleFilterLabels struct {
	/* Immutable. Name of the metadata label. The length must be between
	1 and 1024 characters, inclusive. */
	Name string `json:"name"`

	/* Immutable. The value that the label must match. The value has a maximum
	length of 1024 characters. */
	Value string `json:"value"`
}

+kcc:proto=google.cloud.compute.v1.MetadataFilterLabelMatch

func (*ForwardingruleFilterLabels) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardingruleFilterLabels.

func (*ForwardingruleFilterLabels) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ForwardingruleIpAddress

type ForwardingruleIpAddress struct {
	// +optional
	AddressRef *refs.ComputeAddressRef `json:"addressRef,omitempty"`

	// +optional
	Ip *string `json:"ip,omitempty"`
}

func (*ForwardingruleIpAddress) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardingruleIpAddress.

func (*ForwardingruleIpAddress) DeepCopyInto

func (in *ForwardingruleIpAddress) DeepCopyInto(out *ForwardingruleIpAddress)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ForwardingruleMetadataFilters

type ForwardingruleMetadataFilters struct {
	/* Immutable. The list of label value pairs that must match labels in the
	provided metadata based on filterMatchCriteria

	This list must not be empty and can have at the most 64 entries. */
	FilterLabels []ForwardingruleFilterLabels `json:"filterLabels"`

	/* Immutable. Specifies how individual filterLabel matches within the list of
	filterLabels contribute towards the overall metadataFilter match.

	MATCH_ANY - At least one of the filterLabels must have a matching
	label in the provided metadata.
	MATCH_ALL - All filterLabels must have matching labels in the
	provided metadata. Possible values: ["MATCH_ANY", "MATCH_ALL"]. */
	FilterMatchCriteria string `json:"filterMatchCriteria"`
}

+kcc:proto=google.cloud.compute.v1.MetadataFilter

func (*ForwardingruleMetadataFilters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardingruleMetadataFilters.

func (*ForwardingruleMetadataFilters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ForwardingruleServiceDirectoryRegistrations

type ForwardingruleServiceDirectoryRegistrations struct {
	/* Immutable. Service Directory namespace to register the forwarding rule under. */
	// +optional
	Namespace *string `json:"namespace,omitempty"`

	/* Immutable. Service Directory service to register the forwarding rule under. */
	// +optional
	Service *string `json:"service,omitempty"`
}

+kcc:proto=google.cloud.compute.v1.ForwardingRuleServiceDirectoryRegistration

func (*ForwardingruleServiceDirectoryRegistrations) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardingruleServiceDirectoryRegistrations.

func (*ForwardingruleServiceDirectoryRegistrations) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ForwardingruleTarget

type ForwardingruleTarget struct {
	// +optional
	GoogleAPIsBundle *string `json:"googleAPIsBundle,omitempty"`

	// +optional
	ServiceAttachmentRef *refs.ComputeServiceAttachmentRef `json:"serviceAttachmentRef,omitempty"`

	// +optional
	TargetGRPCProxyRef *refs.ComputeTargetGrpcProxyRef `json:"targetGRPCProxyRef,omitempty"`

	// +optional
	TargetHTTPProxyRef *refs.ComputeTargetHTTPProxyRef `json:"targetHTTPProxyRef,omitempty"`

	// +optional
	TargetHTTPSProxyRef *refs.ComputeTargetHTTPSProxyRef `json:"targetHTTPSProxyRef,omitempty"`

	// +optional
	TargetSSLProxyRef *refs.ComputeTargetSSLProxyRef `json:"targetSSLProxyRef,omitempty"`

	// +optional
	TargetTCPProxyRef *refs.ComputeTargetTCPProxyRef `json:"targetTCPProxyRef,omitempty"`

	// +optional
	TargetVPNGatewayRef *refs.ComputeTargetVPNGatewayRef `json:"targetVPNGatewayRef,omitempty"`
}

func (*ForwardingruleTarget) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardingruleTarget.

func (*ForwardingruleTarget) DeepCopyInto

func (in *ForwardingruleTarget) DeepCopyInto(out *ForwardingruleTarget)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL