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 | |
---|---|
Name | Description |
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.
Generated from protobuf field repeated uint32 as_lists = 134112584;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setAsLists
[Output Only] The AS numbers of the AS Path.
Generated from protobuf field repeated uint32 as_lists = 134112584;
Parameter | |
---|---|
Name | Description |
var |
int[]
|
Returns | |
---|---|
Type | Description |
$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.
Generated from protobuf field optional string path_segment_type = 513464992;
Returns | |
---|---|
Type | Description |
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.
Generated from protobuf field optional string path_segment_type = 513464992;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |