Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Allowed
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Allowed
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#ip_rules ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IpRule>
Corresponds to the JSON property
ipRules.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Allowed
constructor
A new instance of GoogleCloudSecuritycenterV2Allowed.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Allowed
Returns a new instance of GoogleCloudSecuritycenterV2Allowed.
4591 4592 4593 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4591 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_rules ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IpRule>
Corresponds to the JSON property ipRules
4589 4590 4591 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4589 def ip_rules @ip_rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4596 4597 4598 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4596 def update!(**args) @ip_rules = args[:ip_rules] if args.key?(:ip_rules) end |