Class: Google::Apis::ComputeAlpha::PacketMirroringsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::PacketMirroringsScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#packet_mirrorings ⇒ Array<Google::Apis::ComputeAlpha::PacketMirroring>
A list of packetMirrorings contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::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.
52684 52685 52686 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 52684 def initialize(**args) update!(**args) end |
Instance Attribute Details
#packet_mirrorings ⇒ Array<Google::Apis::ComputeAlpha::PacketMirroring>
A list of packetMirrorings contained in this scope.
Corresponds to the JSON property packetMirrorings
52676 52677 52678 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 52676 def packet_mirrorings @packet_mirrorings end |
#warning ⇒ Google::Apis::ComputeAlpha::PacketMirroringsScopedList::Warning
Informational warning which replaces the list of packetMirrorings when the
list is empty.
Corresponds to the JSON property warning
52682 52683 52684 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 52682 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
52689 52690 52691 52692 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 52689 def update!(**args) @packet_mirrorings = args[:packet_mirrorings] if args.key?(:packet_mirrorings) @warning = args[:warning] if args.key?(:warning) end |