sourceRestriction property

String? sourceRestriction
getter/setter pair

Whether to enforce traffic restrictions based on sources field.

If the sources fields is non-empty, then this field must be set to SOURCE_RESTRICTION_ENABLED. Possible string values are:

  • "SOURCE_RESTRICTION_UNSPECIFIED" : Enforcement preference unspecified, will not enforce traffic restrictions based on sources in EgressFrom.
  • "SOURCE_RESTRICTION_ENABLED" : Enforcement preference enabled, traffic restrictions will be enforced based on sources in EgressFrom.
  • "SOURCE_RESTRICTION_DISABLED" : Enforcement preference disabled, will not enforce traffic restrictions based on sources in EgressFrom.

Implementation

core.String? sourceRestriction;