Class: Google::Apis::ComputeBeta::PacketMirroringsScopedList

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PacketMirroringsScopedList

Returns a new instance of PacketMirroringsScopedList.



25419
25420
25421
# File 'lib/google/apis/compute_beta/classes.rb', line 25419

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

Instance Attribute Details

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

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



25411
25412
25413
# File 'lib/google/apis/compute_beta/classes.rb', line 25411

def packet_mirrorings
  @packet_mirrorings
end

#warningGoogle::Apis::ComputeBeta::PacketMirroringsScopedList::Warning

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



25417
25418
25419
# File 'lib/google/apis/compute_beta/classes.rb', line 25417

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25424
25425
25426
25427
# File 'lib/google/apis/compute_beta/classes.rb', line 25424

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