Class: Google::Apis::SecuritycenterV1::Denied
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::Denied
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Instance Attribute Summary collapse
-
#ip_rules ⇒ Array<Google::Apis::SecuritycenterV1::IpRule>
Corresponds to the JSON property
ipRules.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Denied
constructor
A new instance of Denied.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Denied
Returns a new instance of Denied.
2158 2159 2160 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2158 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_rules ⇒ Array<Google::Apis::SecuritycenterV1::IpRule>
Corresponds to the JSON property ipRules
2156 2157 2158 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2156 def ip_rules @ip_rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2163 2164 2165 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2163 def update!(**args) @ip_rules = args[:ip_rules] if args.key?(:ip_rules) end |