Class: Google::Apis::ComputeBeta::BgpRoute
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::BgpRoute
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#as_paths ⇒ Array<Google::Apis::ComputeBeta::BgpRouteAsPath>
[Output only] AS-PATH for the route Corresponds to the JSON property
asPaths. -
#communities ⇒ Array<String>
[Output only] BGP communities in human-readable A:B format.
-
#destination ⇒ Google::Apis::ComputeBeta::BgpRouteNetworkLayerReachabilityInformation
Network Layer Reachability Information (NLRI) for a route.
-
#med ⇒ Fixnum
[Output only] BGP multi-exit discriminator Corresponds to the JSON property
med. -
#origin ⇒ String
[Output only] BGP origin (EGP, IGP or INCOMPLETE) Corresponds to the JSON property
origin.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BgpRoute
constructor
A new instance of BgpRoute.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BgpRoute
Returns a new instance of BgpRoute.
5127 5128 5129 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5127 def initialize(**args) update!(**args) end |
Instance Attribute Details
#as_paths ⇒ Array<Google::Apis::ComputeBeta::BgpRouteAsPath>
[Output only] AS-PATH for the route
Corresponds to the JSON property asPaths
5105 5106 5107 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5105 def as_paths @as_paths end |
#communities ⇒ Array<String>
[Output only] BGP communities in human-readable A:B format.
Corresponds to the JSON property communities
5110 5111 5112 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5110 def communities @communities end |
#destination ⇒ Google::Apis::ComputeBeta::BgpRouteNetworkLayerReachabilityInformation
Network Layer Reachability Information (NLRI) for a route.
Corresponds to the JSON property destination
5115 5116 5117 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5115 def destination @destination end |
#med ⇒ Fixnum
[Output only] BGP multi-exit discriminator
Corresponds to the JSON property med
5120 5121 5122 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5120 def med @med end |
#origin ⇒ String
[Output only] BGP origin (EGP, IGP or INCOMPLETE)
Corresponds to the JSON property origin
5125 5126 5127 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5125 def origin @origin end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5132 5133 5134 5135 5136 5137 5138 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5132 def update!(**args) @as_paths = args[:as_paths] if args.key?(:as_paths) @communities = args[:communities] if args.key?(:communities) @destination = args[:destination] if args.key?(:destination) @med = args[:med] if args.key?(:med) @origin = args[:origin] if args.key?(:origin) end |