class Google::Apis::ComputeV1::RouteAsPath

Attributes

as_lists[RW]
Output Only

The AS numbers of the AS Path.

Corresponds to the JSON property `asLists` @return [Array<Fixnum>]

path_segment_type[RW]
Output Only

The type of the AS Path, which can be one of the following

values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed Corresponds to the JSON property `pathSegmentType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 29407
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 29412
def update!(**args)
  @as_lists = args[:as_lists] if args.key?(:as_lists)
  @path_segment_type = args[:path_segment_type] if args.key?(:path_segment_type)
end