Class: Google::Apis::ComputeAlpha::PacketMirroringsScopedList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PacketMirroringsScopedList

Returns a new instance of PacketMirroringsScopedList.



26071
26072
26073
# File 'generated/google/apis/compute_alpha/classes.rb', line 26071

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#packet_mirroringsArray<Google::Apis::ComputeAlpha::PacketMirroring>

A list of packetMirrorings contained in this scope. Corresponds to the JSON property packetMirrorings



26063
26064
26065
# File 'generated/google/apis/compute_alpha/classes.rb', line 26063

def packet_mirrorings
  @packet_mirrorings
end

#warningGoogle::Apis::ComputeAlpha::PacketMirroringsScopedList::Warning

Informational warning which replaces the list of packetMirrorings when the list is empty. Corresponds to the JSON property warning



26069
26070
26071
# File 'generated/google/apis/compute_alpha/classes.rb', line 26069

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26076
26077
26078
26079
# File 'generated/google/apis/compute_alpha/classes.rb', line 26076

def update!(**args)
  @packet_mirrorings = args[:packet_mirrorings] if args.key?(:packet_mirrorings)
  @warning = args[:warning] if args.key?(:warning)
end