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.
-
#communities ⇒ Array<String>
Output only.
-
#destination ⇒ Google::Apis::ComputeBeta::BgpRouteNetworkLayerReachabilityInformation
Network Layer Reachability Information (NLRI) for a route.
-
#med ⇒ Fixnum
Output only.
-
#origin ⇒ String
Output only.
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.
7044 7045 7046 |
# File 'lib/google/apis/compute_beta/classes.rb', line 7044 def initialize(**args) update!(**args) end |
Instance Attribute Details
#as_paths ⇒ Array<Google::Apis::ComputeBeta::BgpRouteAsPath>
Output only. [Output only] AS-PATH for the route
Corresponds to the JSON property asPaths
7022 7023 7024 |
# File 'lib/google/apis/compute_beta/classes.rb', line 7022 def as_paths @as_paths end |
#communities ⇒ Array<String>
Output only. [Output only] BGP communities in human-readable A:B format.
Corresponds to the JSON property communities
7027 7028 7029 |
# File 'lib/google/apis/compute_beta/classes.rb', line 7027 def communities @communities end |
#destination ⇒ Google::Apis::ComputeBeta::BgpRouteNetworkLayerReachabilityInformation
Network Layer Reachability Information (NLRI) for a route.
Corresponds to the JSON property destination
7032 7033 7034 |
# File 'lib/google/apis/compute_beta/classes.rb', line 7032 def destination @destination end |
#med ⇒ Fixnum
Output only. [Output only] BGP multi-exit discriminator
Corresponds to the JSON property med
7037 7038 7039 |
# File 'lib/google/apis/compute_beta/classes.rb', line 7037 def med @med end |
#origin ⇒ String
Output only. [Output only] BGP origin (EGP, IGP or INCOMPLETE)
Corresponds to the JSON property origin
7042 7043 7044 |
# File 'lib/google/apis/compute_beta/classes.rb', line 7042 def origin @origin end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7049 7050 7051 7052 7053 7054 7055 |
# File 'lib/google/apis/compute_beta/classes.rb', line 7049 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 |