Cloud Security Command Center V1 API - Class Google::Cloud::SecurityCenter::V1::SecurityPolicy (v1.0.0)

Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::SecurityPolicy.

Information about the Google Cloud Armor security policy relevant to the finding.

Inherits

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — The name of the Google Cloud Armor security policy, for example, "my-security-policy".

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name of the Google Cloud Armor security policy, for example, "my-security-policy".
Returns
  • (::String) — The name of the Google Cloud Armor security policy, for example, "my-security-policy".

#preview

def preview() -> ::Boolean
Returns
  • (::Boolean) — Whether or not the associated rule or policy is in preview mode.

#preview=

def preview=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether or not the associated rule or policy is in preview mode.
Returns
  • (::Boolean) — Whether or not the associated rule or policy is in preview mode.

#type

def type() -> ::String
Returns
  • (::String) — The type of Google Cloud Armor security policy for example, ‘backend security policy’, ‘edge security policy’, ‘network edge security policy’, or ‘always-on DDoS protection’.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — The type of Google Cloud Armor security policy for example, ‘backend security policy’, ‘edge security policy’, ‘network edge security policy’, or ‘always-on DDoS protection’.
Returns
  • (::String) — The type of Google Cloud Armor security policy for example, ‘backend security policy’, ‘edge security policy’, ‘network edge security policy’, or ‘always-on DDoS protection’.