Class: Google::Apis::ComputeBeta::PacketMirroringsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::PacketMirroringsScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#packet_mirrorings ⇒ Array<Google::Apis::ComputeBeta::PacketMirroring>
A list of packetMirrorings contained in this scope.
-
#warning ⇒ Google::Apis::ComputeBeta::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.
31134 31135 31136 |
# File 'lib/google/apis/compute_beta/classes.rb', line 31134 def initialize(**args) update!(**args) end |
Instance Attribute Details
#packet_mirrorings ⇒ Array<Google::Apis::ComputeBeta::PacketMirroring>
A list of packetMirrorings contained in this scope.
Corresponds to the JSON property packetMirrorings
31126 31127 31128 |
# File 'lib/google/apis/compute_beta/classes.rb', line 31126 def packet_mirrorings @packet_mirrorings end |
#warning ⇒ Google::Apis::ComputeBeta::PacketMirroringsScopedList::Warning
Informational warning which replaces the list of packetMirrorings when the
list is empty.
Corresponds to the JSON property warning
31132 31133 31134 |
# File 'lib/google/apis/compute_beta/classes.rb', line 31132 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31139 31140 31141 31142 |
# File 'lib/google/apis/compute_beta/classes.rb', line 31139 def update!(**args) @packet_mirrorings = args[:packet_mirrorings] if args.key?(:packet_mirrorings) @warning = args[:warning] if args.key?(:warning) end |