Class: Google::Apis::ComputeV1::BgpRouteNetworkLayerReachabilityInformation

Inherits:
Object
  • Object
show all
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

Overview

Network Layer Reachability Information (NLRI) for a route.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BgpRouteNetworkLayerReachabilityInformation

Returns a new instance of BgpRouteNetworkLayerReachabilityInformation.



6431
6432
6433
# File 'lib/google/apis/compute_v1/classes.rb', line 6431

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#path_idFixnum

If the BGP session supports multiple paths (RFC 7911), the path identifier for this route. Corresponds to the JSON property pathId

Returns:

  • (Fixnum)


6424
6425
6426
# File 'lib/google/apis/compute_v1/classes.rb', line 6424

def path_id
  @path_id
end

#prefixString

Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16. Corresponds to the JSON property prefix

Returns:

  • (String)


6429
6430
6431
# File 'lib/google/apis/compute_v1/classes.rb', line 6429

def prefix
  @prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6436
6437
6438
6439
# File 'lib/google/apis/compute_v1/classes.rb', line 6436

def update!(**args)
  @path_id = args[:path_id] if args.key?(:path_id)
  @prefix = args[:prefix] if args.key?(:prefix)
end