Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.
Configurations to specifc granular traffic units processed by Adaptive Protection.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#enable_each_unique_value
def enable_each_unique_value() -> ::Boolean
Returns
-
(::Boolean) — If enabled, traffic matching each unique value for the specified type constitutes a separate traffic unit. It can only be set to true if
value
is empty.
#enable_each_unique_value=
def enable_each_unique_value=(value) -> ::Boolean
Parameter
-
value (::Boolean) — If enabled, traffic matching each unique value for the specified type constitutes a separate traffic unit. It can only be set to true if
value
is empty.
Returns
-
(::Boolean) — If enabled, traffic matching each unique value for the specified type constitutes a separate traffic unit. It can only be set to true if
value
is empty.
#type
def type() -> ::String
Returns
- (::String) — Type of this configuration. Check the Type enum for the list of possible values.
#type=
def type=(value) -> ::String
Parameter
- value (::String) — Type of this configuration. Check the Type enum for the list of possible values.
Returns
- (::String) — Type of this configuration. Check the Type enum for the list of possible values.
#value
def value() -> ::String
Returns
- (::String) — Requests that match this value constitute a granular traffic unit.
#value=
def value=(value) -> ::String
Parameter
- value (::String) — Requests that match this value constitute a granular traffic unit.
Returns
- (::String) — Requests that match this value constitute a granular traffic unit.