Class: Google::Apis::ComputeBeta::BfdPacket

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

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) ⇒ BfdPacket

Returns a new instance of BfdPacket.



3628
3629
3630
# File 'generated/google/apis/compute_beta/classes.rb', line 3628

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

Instance Attribute Details

#authentication_presentBoolean 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

Returns:

  • (Boolean)


3532
3533
3534
# File 'generated/google/apis/compute_beta/classes.rb', line 3532

def authentication_present
  @authentication_present
end

#control_plane_independentBoolean 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

Returns:

  • (Boolean)


3539
3540
3541
# File 'generated/google/apis/compute_beta/classes.rb', line 3539

def control_plane_independent
  @control_plane_independent
end

#demandBoolean 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

Returns:

  • (Boolean)


3545
3546
3547
# File 'generated/google/apis/compute_beta/classes.rb', line 3545

def demand
  @demand
end

#diagnosticString

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

Returns:

  • (String)


3554
3555
3556
# File 'generated/google/apis/compute_beta/classes.rb', line 3554

def diagnostic
  @diagnostic
end

#finalBoolean 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

Returns:

  • (Boolean)


3559
3560
3561
# File 'generated/google/apis/compute_beta/classes.rb', line 3559

def final
  @final
end

#lengthFixnum

The length of the BFD Control packet in bytes. This is specified in section 4. 1 of RFC5880 Corresponds to the JSON property length

Returns:

  • (Fixnum)


3566
3567
3568
# File 'generated/google/apis/compute_beta/classes.rb', line 3566

def length
  @length
end

#min_echo_rx_interval_msFixnum

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

Returns:

  • (Fixnum)


3572
3573
3574
# File 'generated/google/apis/compute_beta/classes.rb', line 3572

def min_echo_rx_interval_ms
  @min_echo_rx_interval_ms
end

#min_rx_interval_msFixnum

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

Returns:

  • (Fixnum)


3578
3579
3580
# File 'generated/google/apis/compute_beta/classes.rb', line 3578

def min_rx_interval_ms
  @min_rx_interval_ms
end

#min_tx_interval_msFixnum

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

Returns:

  • (Fixnum)


3584
3585
3586
# File 'generated/google/apis/compute_beta/classes.rb', line 3584

def min_tx_interval_ms
  @min_tx_interval_ms
end

#multiplierFixnum

The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880 Corresponds to the JSON property multiplier

Returns:

  • (Fixnum)


3590
3591
3592
# File 'generated/google/apis/compute_beta/classes.rb', line 3590

def multiplier
  @multiplier
end

#multipointBoolean 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

Returns:

  • (Boolean)


3596
3597
3598
# File 'generated/google/apis/compute_beta/classes.rb', line 3596

def multipoint
  @multipoint
end

#my_discriminatorFixnum

The My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880 Corresponds to the JSON property myDiscriminator

Returns:

  • (Fixnum)


3603
3604
3605
# File 'generated/google/apis/compute_beta/classes.rb', line 3603

def my_discriminator
  @my_discriminator
end

#pollBoolean 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

Returns:

  • (Boolean)


3608
3609
3610
# File 'generated/google/apis/compute_beta/classes.rb', line 3608

def poll
  @poll
end

#stateString

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

Returns:

  • (String)


3615
3616
3617
# File 'generated/google/apis/compute_beta/classes.rb', line 3615

def state
  @state
end

#versionFixnum

The version number of the BFD protocol, as specified in section 4.1 of RFC5880. Corresponds to the JSON property version

Returns:

  • (Fixnum)


3620
3621
3622
# File 'generated/google/apis/compute_beta/classes.rb', line 3620

def version
  @version
end

#your_discriminatorFixnum

The Your Discriminator value in the BFD packet. This is specified in section 4. 1 of RFC5880 Corresponds to the JSON property yourDiscriminator

Returns:

  • (Fixnum)


3626
3627
3628
# File 'generated/google/apis/compute_beta/classes.rb', line 3626

def your_discriminator
  @your_discriminator
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
# File 'generated/google/apis/compute_beta/classes.rb', line 3633

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