Reference documentation and code samples for the Compute V1 Client class 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.
Protobuf type google.cloud.compute.v1.FirewallPolicy.PolicySource
Namespace
Google \ Cloud \ Compute \ V1 \ FirewallPolicyMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
UNDEFINED_POLICY_SOURCE
Value: 0A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_POLICY_SOURCE = 0;
SYSTEM
Value: 313484847A 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.
Generated from protobuf enum SYSTEM = 313484847;
USER_DEFINED
Value: 491485557A regular firewall policy.
Generated from protobuf enum USER_DEFINED = 491485557;