Class: Google::Apis::ComputeV1::SecurityPoliciesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::SecurityPoliciesScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#security_policies ⇒ Array<Google::Apis::ComputeV1::SecurityPolicy>
A list of SecurityPolicies contained in this scope.
-
#warning ⇒ Google::Apis::ComputeV1::SecurityPoliciesScopedList::Warning
Informational warning which replaces the list of security policies when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityPoliciesScopedList
constructor
A new instance of SecurityPoliciesScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityPoliciesScopedList
Returns a new instance of SecurityPoliciesScopedList.
36913 36914 36915 |
# File 'lib/google/apis/compute_v1/classes.rb', line 36913 def initialize(**args) update!(**args) end |
Instance Attribute Details
#security_policies ⇒ Array<Google::Apis::ComputeV1::SecurityPolicy>
A list of SecurityPolicies contained in this scope.
Corresponds to the JSON property securityPolicies
36905 36906 36907 |
# File 'lib/google/apis/compute_v1/classes.rb', line 36905 def security_policies @security_policies end |
#warning ⇒ Google::Apis::ComputeV1::SecurityPoliciesScopedList::Warning
Informational warning which replaces the list of security policies when the
list is empty.
Corresponds to the JSON property warning
36911 36912 36913 |
# File 'lib/google/apis/compute_v1/classes.rb', line 36911 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
36918 36919 36920 36921 |
# File 'lib/google/apis/compute_v1/classes.rb', line 36918 def update!(**args) @security_policies = args[:security_policies] if args.key?(:security_policies) @warning = args[:warning] if args.key?(:warning) end |