Class: Google::Apis::ComputeAlpha::BgpRouteNetworkLayerReachabilityInformation
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::BgpRouteNetworkLayerReachabilityInformation
- 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
Overview
Network Layer Reachability Information (NLRI) for a route.
Instance Attribute Summary collapse
-
#destination ⇒ String
Human readable CIDR notation for a prefix.
-
#path_id ⇒ Fixnum
If the BGP session supports multiple paths (RFC 7911), the path identifier for this route.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BgpRouteNetworkLayerReachabilityInformation
constructor
A new instance of BgpRouteNetworkLayerReachabilityInformation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BgpRouteNetworkLayerReachabilityInformation
Returns a new instance of BgpRouteNetworkLayerReachabilityInformation.
5507 5508 5509 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5507 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination ⇒ String
Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.
Corresponds to the JSON property destination
5499 5500 5501 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5499 def destination @destination end |
#path_id ⇒ Fixnum
If the BGP session supports multiple paths (RFC 7911), the path identifier for
this route.
Corresponds to the JSON property pathId
5505 5506 5507 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5505 def path_id @path_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5512 5513 5514 5515 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5512 def update!(**args) @destination = args[:destination] if args.key?(:destination) @path_id = args[:path_id] if args.key?(:path_id) end |