Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Allowed

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Allowed

Returns a new instance of GoogleCloudSecuritycenterV2Allowed.



4930
4931
4932
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4930

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ip_rulesArray<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRule>

Corresponds to the JSON property ipRules



4928
4929
4930
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4928

def ip_rules
  @ip_rules
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4935
4936
4937
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4935

def update!(**args)
  @ip_rules = args[:ip_rules] if args.key?(:ip_rules)
end