SecurityPolicy class
Represents a Google Cloud Armor security policy resource.
Only external backend services that use load balancers can reference a security policy. For more information, see Google Cloud Armor security policy overview.
Constructors
- 
          SecurityPolicy({SecurityPolicyAdaptiveProtectionConfig? adaptiveProtectionConfig, SecurityPolicyAdvancedOptionsConfig? advancedOptionsConfig, String? creationTimestamp, SecurityPolicyDdosProtectionConfig? ddosProtectionConfig, String? description, String? fingerprint, String? id, String? kind, String? labelFingerprint, Map<String, String> ? labels, String? name, SecurityPolicyRecaptchaOptionsConfig? recaptchaOptionsConfig, String? region, List<SecurityPolicyRule> ? rules, String? selfLink, String? type, List<SecurityPolicyUserDefinedField> ? userDefinedFields})
- SecurityPolicy.fromJson(Map json_)
Properties
- adaptiveProtectionConfig ↔ SecurityPolicyAdaptiveProtectionConfig?
- 
  
  getter/setter pair
- advancedOptionsConfig ↔ SecurityPolicyAdvancedOptionsConfig?
- 
  
  getter/setter pair
- creationTimestamp ↔ String?
- 
  Creation timestamp in RFC3339 text format.
  getter/setter pair
- ddosProtectionConfig ↔ SecurityPolicyDdosProtectionConfig?
- 
  
  getter/setter pair
- description ↔ String?
- 
  An optional description of this resource.
  getter/setter pair
- fingerprint ↔ String?
- 
  Specifies a fingerprint for this resource, which is essentially a hash of
the metadata's contents and used for optimistic locking.
  getter/setter pair
- 
  fingerprintAsBytes
  ↔ List<int> 
- 
  
  getter/setter pair
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- id ↔ String?
- 
  The unique identifier for the resource.
  getter/setter pair
- kind ↔ String?
- 
  Type of the resource.
  getter/setter pair
- labelFingerprint ↔ String?
- 
  A fingerprint for the labels being applied to this security policy, which
is essentially a hash of the labels set used for optimistic locking.
  getter/setter pair
- 
  labelFingerprintAsBytes
  ↔ List<int> 
- 
  
  getter/setter pair
- 
  labels
  ↔ Map<String, String> ?
- 
  Labels for this resource.
  getter/setter pair
- name ↔ String?
- 
  Name of the resource.
  getter/setter pair
- recaptchaOptionsConfig ↔ SecurityPolicyRecaptchaOptionsConfig?
- 
  
  getter/setter pair
- region ↔ String?
- 
  URL of the region where the regional security policy resides.
  getter/setter pair
- 
  rules
  ↔ List<SecurityPolicyRule> ?
- 
  A list of rules that belong to this policy.
  getter/setter pair
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- selfLink ↔ String?
- 
  Server-defined URL for the resource.
  getter/setter pair
- type ↔ String?
- 
  The type indicates the intended use of the security policy.
  getter/setter pair
- 
  userDefinedFields
  ↔ List<SecurityPolicyUserDefinedField> ?
- 
  Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
  getter/setter pair
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited