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
-
#path_id ⇒ Fixnum
If the BGP session supports multiple paths (RFC 7911), the path identifier for this route.
-
#prefix ⇒ String
Human readable CIDR notation for a prefix.
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.
6026 6027 6028 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6026 def initialize(**args) update!(**args) end |
Instance Attribute Details
#path_id ⇒ Fixnum
If the BGP session supports multiple paths (RFC 7911), the path identifier for
this route.
Corresponds to the JSON property pathId
6019 6020 6021 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6019 def path_id @path_id end |
#prefix ⇒ String
Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.
Corresponds to the JSON property prefix
6024 6025 6026 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6024 def prefix @prefix end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6031 6032 6033 6034 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6031 def update!(**args) @path_id = args[:path_id] if args.key?(:path_id) @prefix = args[:prefix] if args.key?(:prefix) end |