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

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

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PacketMirroringsScopedList

Returns a new instance of PacketMirroringsScopedList.



21503
21504
21505
# File 'generated/google/apis/compute_beta/classes.rb', line 21503

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



21495
21496
21497
# File 'generated/google/apis/compute_beta/classes.rb', line 21495

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



21501
21502
21503
# File 'generated/google/apis/compute_beta/classes.rb', line 21501

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21508
21509
21510
21511
# File 'generated/google/apis/compute_beta/classes.rb', line 21508

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