Compute V1 Client - Class RouteAsPath (1.8.3)

Reference documentation and code samples for the Compute V1 Client class RouteAsPath.

Generated from protobuf message google.cloud.compute.v1.RouteAsPath

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ as_lists array

[Output Only] The AS numbers of the AS Path.

↳ path_segment_type string

[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 Check the PathSegmentType enum for the list of possible values.

getAsLists

[Output Only] The AS numbers of the AS Path.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAsLists

[Output Only] The AS numbers of the AS Path.

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this

getPathSegmentType

[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 Check the PathSegmentType enum for the list of possible values.

Returns
TypeDescription
string

hasPathSegmentType

clearPathSegmentType

setPathSegmentType

[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 Check the PathSegmentType enum for the list of possible values.

Parameter
NameDescription
var string
Returns
TypeDescription
$this