class Google::Apis::ComputeV1::SecurityPoliciesScopedList

Attributes

security_policies[RW]

A list of SecurityPolicies contained in this scope. Corresponds to the JSON property `securityPolicies` @return [Array<Google::Apis::ComputeV1::SecurityPolicy>]

warning[RW]

Informational warning which replaces the list of security policies when the list is empty. Corresponds to the JSON property `warning` @return [Google::Apis::ComputeV1::SecurityPoliciesScopedList::Warning]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 32030
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 32035
def update!(**args)
  @security_policies = args[:security_policies] if args.key?(:security_policies)
  @warning = args[:warning] if args.key?(:warning)
end