Class: Google::Apis::ComputeV1::PacketMirroringsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::PacketMirroringsScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#packet_mirrorings ⇒ Array<Google::Apis::ComputeV1::PacketMirroring>
A list of packetMirrorings contained in this scope.
-
#warning ⇒ Google::Apis::ComputeV1::PacketMirroringsScopedList::Warning
Informational warning which replaces the list of packetMirrorings when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PacketMirroringsScopedList
constructor
A new instance of PacketMirroringsScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PacketMirroringsScopedList
Returns a new instance of PacketMirroringsScopedList.
21730 21731 21732 |
# File 'generated/google/apis/compute_v1/classes.rb', line 21730 def initialize(**args) update!(**args) end |
Instance Attribute Details
#packet_mirrorings ⇒ Array<Google::Apis::ComputeV1::PacketMirroring>
A list of packetMirrorings contained in this scope.
Corresponds to the JSON property packetMirrorings
21722 21723 21724 |
# File 'generated/google/apis/compute_v1/classes.rb', line 21722 def packet_mirrorings @packet_mirrorings end |
#warning ⇒ Google::Apis::ComputeV1::PacketMirroringsScopedList::Warning
Informational warning which replaces the list of packetMirrorings when the
list is empty.
Corresponds to the JSON property warning
21728 21729 21730 |
# File 'generated/google/apis/compute_v1/classes.rb', line 21728 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21735 21736 21737 21738 |
# File 'generated/google/apis/compute_v1/classes.rb', line 21735 def update!(**args) @packet_mirrorings = args[:packet_mirrorings] if args.key?(:packet_mirrorings) @warning = args[:warning] if args.key?(:warning) end |