Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::FirewallPolicy::PolicySource (v4.4.0)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::FirewallPolicy::PolicySource.

Indicates the source of this Firewall Policy. This field is optional on creation and defaults to USER_DEFINED.

The USER_DEFINED value indicates a regular firewall policy.

The SYSTEM value indicates a system-level policy managed by an internal service like GKE. This SYSTEM value is reserved for internal services and cannot be set by users during policy creation. Policies with a SYSTEM source cannot be modified or deleted by users.

Constants

UNDEFINED_POLICY_SOURCE

value: 0
A value indicating that the enum field is not set.

SYSTEM

value: 313_484_847
A system-level policy managed by an internal service like GKE. This value is reserved for internal services and cannot be set by users during policy creation. Policies with a SYSTEM source cannot be modified or deleted by users.

USER_DEFINED

value: 491_485_557
A regular firewall policy.