class Google::Apis::ComputeV1::BfdStatusPacketCounts

Attributes

num_rx[RW]

Number of packets received since the beginning of the current BFD session. Corresponds to the JSON property `numRx` @return [Fixnum]

num_rx_rejected[RW]

Number of packets received that were rejected because of errors since the beginning of the current BFD session. Corresponds to the JSON property `numRxRejected` @return [Fixnum]

num_rx_successful[RW]

Number of packets received that were successfully processed since the beginning of the current BFD session. Corresponds to the JSON property `numRxSuccessful` @return [Fixnum]

num_tx[RW]

Number of packets transmitted since the beginning of the current BFD session. Corresponds to the JSON property `numTx` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 4474
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 4479
def update!(**args)
  @num_rx = args[:num_rx] if args.key?(:num_rx)
  @num_rx_rejected = args[:num_rx_rejected] if args.key?(:num_rx_rejected)
  @num_rx_successful = args[:num_rx_successful] if args.key?(:num_rx_successful)
  @num_tx = args[:num_tx] if args.key?(:num_tx)
end