Class: Google::Apis::ComputeV1::PacketMirroringsScopedList

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PacketMirroringsScopedList

Returns a new instance of PacketMirroringsScopedList.



29253
29254
29255
# File 'lib/google/apis/compute_v1/classes.rb', line 29253

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

Instance Attribute Details

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

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



29245
29246
29247
# File 'lib/google/apis/compute_v1/classes.rb', line 29245

def packet_mirrorings
  @packet_mirrorings
end

#warningGoogle::Apis::ComputeV1::PacketMirroringsScopedList::Warning

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



29251
29252
29253
# File 'lib/google/apis/compute_v1/classes.rb', line 29251

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29258
29259
29260
29261
# File 'lib/google/apis/compute_v1/classes.rb', line 29258

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