Class: Google::Apis::ComputeAlpha::BfdPacket
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::BfdPacket
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#authentication_present ⇒ Boolean
(also: #authentication_present?)
The Authentication Present bit of the BFD packet.
-
#control_plane_independent ⇒ Boolean
(also: #control_plane_independent?)
The Control Plane Independent bit of the BFD packet.
-
#demand ⇒ Boolean
(also: #demand?)
The demand bit of the BFD packet.
-
#diagnostic ⇒ String
The diagnostic code specifies the local system's reason for the last change in session state.
-
#final ⇒ Boolean
(also: #final?)
The Final bit of the BFD packet.
-
#length ⇒ Fixnum
The length of the BFD Control packet in bytes.
-
#min_echo_rx_interval_ms ⇒ Fixnum
The Required Min Echo RX Interval value in the BFD packet.
-
#min_rx_interval_ms ⇒ Fixnum
The Required Min RX Interval value in the BFD packet.
-
#min_tx_interval_ms ⇒ Fixnum
The Desired Min TX Interval value in the BFD packet.
-
#multiplier ⇒ Fixnum
The detection time multiplier of the BFD packet.
-
#multipoint ⇒ Boolean
(also: #multipoint?)
The multipoint bit of the BFD packet.
-
#my_discriminator ⇒ Fixnum
The My Discriminator value in the BFD packet.
-
#poll ⇒ Boolean
(also: #poll?)
The Poll bit of the BFD packet.
-
#state ⇒ String
The current BFD session state as seen by the transmitting system.
-
#version ⇒ Fixnum
The version number of the BFD protocol, as specified in section 4.1 of RFC5880.
-
#your_discriminator ⇒ Fixnum
The Your Discriminator value in the BFD packet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BfdPacket
constructor
A new instance of BfdPacket.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BfdPacket
Returns a new instance of BfdPacket.
5253 5254 5255 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5253 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authentication_present ⇒ Boolean Also known as: authentication_present?
The Authentication Present bit of the BFD packet. This is specified in section
4.1 of RFC5880
Corresponds to the JSON property authenticationPresent
5157 5158 5159 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5157 def authentication_present @authentication_present end |
#control_plane_independent ⇒ Boolean Also known as: control_plane_independent?
The Control Plane Independent bit of the BFD packet. This is specified in
section 4.1 of RFC5880
Corresponds to the JSON property controlPlaneIndependent
5164 5165 5166 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5164 def control_plane_independent @control_plane_independent end |
#demand ⇒ Boolean Also known as: demand?
The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880
Corresponds to the JSON property demand
5170 5171 5172 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5170 def demand @demand end |
#diagnostic ⇒ String
The diagnostic code specifies the local system's reason for the last change in
session state. This allows remote systems to determine the reason that the
previous session failed, for example. These diagnostic codes are specified in
section 4.1 of RFC5880
Corresponds to the JSON property diagnostic
5179 5180 5181 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5179 def diagnostic @diagnostic end |
#final ⇒ Boolean Also known as: final?
The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880
Corresponds to the JSON property final
5184 5185 5186 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5184 def final @final end |
#length ⇒ Fixnum
The length of the BFD Control packet in bytes. This is specified in section 4.
1 of RFC5880
Corresponds to the JSON property length
5191 5192 5193 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5191 def length @length end |
#min_echo_rx_interval_ms ⇒ Fixnum
The Required Min Echo RX Interval value in the BFD packet. This is specified
in section 4.1 of RFC5880
Corresponds to the JSON property minEchoRxIntervalMs
5197 5198 5199 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5197 def min_echo_rx_interval_ms @min_echo_rx_interval_ms end |
#min_rx_interval_ms ⇒ Fixnum
The Required Min RX Interval value in the BFD packet. This is specified in
section 4.1 of RFC5880
Corresponds to the JSON property minRxIntervalMs
5203 5204 5205 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5203 def min_rx_interval_ms @min_rx_interval_ms end |
#min_tx_interval_ms ⇒ Fixnum
The Desired Min TX Interval value in the BFD packet. This is specified in
section 4.1 of RFC5880
Corresponds to the JSON property minTxIntervalMs
5209 5210 5211 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5209 def min_tx_interval_ms @min_tx_interval_ms end |
#multiplier ⇒ Fixnum
The detection time multiplier of the BFD packet. This is specified in section
4.1 of RFC5880
Corresponds to the JSON property multiplier
5215 5216 5217 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5215 def multiplier @multiplier end |
#multipoint ⇒ Boolean Also known as: multipoint?
The multipoint bit of the BFD packet. This is specified in section 4.1 of
RFC5880
Corresponds to the JSON property multipoint
5221 5222 5223 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5221 def multipoint @multipoint end |
#my_discriminator ⇒ Fixnum
The My Discriminator value in the BFD packet. This is specified in section 4.1
of RFC5880
Corresponds to the JSON property myDiscriminator
5228 5229 5230 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5228 def my_discriminator @my_discriminator end |
#poll ⇒ Boolean Also known as: poll?
The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880
Corresponds to the JSON property poll
5233 5234 5235 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5233 def poll @poll end |
#state ⇒ String
The current BFD session state as seen by the transmitting system. These states
are specified in section 4.1 of RFC5880
Corresponds to the JSON property state
5240 5241 5242 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5240 def state @state end |
#version ⇒ Fixnum
The version number of the BFD protocol, as specified in section 4.1 of RFC5880.
Corresponds to the JSON property version
5245 5246 5247 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5245 def version @version end |
#your_discriminator ⇒ Fixnum
The Your Discriminator value in the BFD packet. This is specified in section 4.
1 of RFC5880
Corresponds to the JSON property yourDiscriminator
5251 5252 5253 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5251 def your_discriminator @your_discriminator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5258 def update!(**args) @authentication_present = args[:authentication_present] if args.key?(:authentication_present) @control_plane_independent = args[:control_plane_independent] if args.key?(:control_plane_independent) @demand = args[:demand] if args.key?(:demand) @diagnostic = args[:diagnostic] if args.key?(:diagnostic) @final = args[:final] if args.key?(:final) @length = args[:length] if args.key?(:length) @min_echo_rx_interval_ms = args[:min_echo_rx_interval_ms] if args.key?(:min_echo_rx_interval_ms) @min_rx_interval_ms = args[:min_rx_interval_ms] if args.key?(:min_rx_interval_ms) @min_tx_interval_ms = args[:min_tx_interval_ms] if args.key?(:min_tx_interval_ms) @multiplier = args[:multiplier] if args.key?(:multiplier) @multipoint = args[:multipoint] if args.key?(:multipoint) @my_discriminator = args[:my_discriminator] if args.key?(:my_discriminator) @poll = args[:poll] if args.key?(:poll) @state = args[:state] if args.key?(:state) @version = args[:version] if args.key?(:version) @your_discriminator = args[:your_discriminator] if args.key?(:your_discriminator) end |