Class: Google::Apis::ComputeBeta::RouterBgpPeerBfd

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

Returns a new instance of RouterBgpPeerBfd



23962
23963
23964
# File 'generated/google/apis/compute_beta/classes.rb', line 23962

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

Instance Attribute Details

#min_receive_intervalFixnum

The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 100 and 30000. The default is 300. Corresponds to the JSON property minReceiveInterval

Returns:

  • (Fixnum)


23935
23936
23937
# File 'generated/google/apis/compute_beta/classes.rb', line 23935

def min_receive_interval
  @min_receive_interval
end

#min_transmit_intervalFixnum

The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the corresponding receive interval of the other router. If set, this value must be between 100 and 30000. The default is 300. Corresponds to the JSON property minTransmitInterval

Returns:

  • (Fixnum)


23944
23945
23946
# File 'generated/google/apis/compute_beta/classes.rb', line 23944

def min_transmit_interval
  @min_transmit_interval
end

#multiplierFixnum

The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable. If set, the value must be a value between 2 and 16. The default is 3. Corresponds to the JSON property multiplier

Returns:

  • (Fixnum)


23951
23952
23953
# File 'generated/google/apis/compute_beta/classes.rb', line 23951

def multiplier
  @multiplier
end

#session_initialization_modeString

The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE. Corresponds to the JSON property sessionInitializationMode

Returns:

  • (String)


23960
23961
23962
# File 'generated/google/apis/compute_beta/classes.rb', line 23960

def session_initialization_mode
  @session_initialization_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23967
23968
23969
23970
23971
23972
# File 'generated/google/apis/compute_beta/classes.rb', line 23967

def update!(**args)
  @min_receive_interval = args[:min_receive_interval] if args.key?(:min_receive_interval)
  @min_transmit_interval = args[:min_transmit_interval] if args.key?(:min_transmit_interval)
  @multiplier = args[:multiplier] if args.key?(:multiplier)
  @session_initialization_mode = args[:session_initialization_mode] if args.key?(:session_initialization_mode)
end