Class: Google::Apis::ComputeV1::BgpRoute
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::BgpRoute
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#as_paths ⇒ Array<Google::Apis::ComputeV1::BgpRouteAsPath>
Output only.
-
#communities ⇒ Array<String>
Output only.
-
#destination ⇒ Google::Apis::ComputeV1::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.
6764 6765 6766 |
# File 'lib/google/apis/compute_v1/classes.rb', line 6764 def initialize(**args) update!(**args) end |
Instance Attribute Details
#as_paths ⇒ Array<Google::Apis::ComputeV1::BgpRouteAsPath>
Output only. [Output only] AS-PATH for the route
Corresponds to the JSON property asPaths
6742 6743 6744 |
# File 'lib/google/apis/compute_v1/classes.rb', line 6742 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
6747 6748 6749 |
# File 'lib/google/apis/compute_v1/classes.rb', line 6747 def communities @communities end |
#destination ⇒ Google::Apis::ComputeV1::BgpRouteNetworkLayerReachabilityInformation
Network Layer Reachability Information (NLRI) for a route.
Corresponds to the JSON property destination
6752 6753 6754 |
# File 'lib/google/apis/compute_v1/classes.rb', line 6752 def destination @destination end |
#med ⇒ Fixnum
Output only. [Output only] BGP multi-exit discriminator
Corresponds to the JSON property med
6757 6758 6759 |
# File 'lib/google/apis/compute_v1/classes.rb', line 6757 def med @med end |
#origin ⇒ String
Output only. [Output only] BGP origin (EGP, IGP or INCOMPLETE)
Corresponds to the JSON property origin
6762 6763 6764 |
# File 'lib/google/apis/compute_v1/classes.rb', line 6762 def origin @origin end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6769 6770 6771 6772 6773 6774 6775 |
# File 'lib/google/apis/compute_v1/classes.rb', line 6769 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 |