Google Cloud Network Services V1 Client - Class MeshRouteView (0.5.0)

Reference documentation and code samples for the Google Cloud Network Services V1 Client class MeshRouteView.

MeshRouteView defines view-only resource for Routes to a Mesh

Generated from protobuf message google.cloud.networkservices.v1.MeshRouteView

Namespace

Google \ Cloud \ NetworkServices \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Identifier. Full path name of the MeshRouteView resource. Format: projects/{project}/locations/{location}/meshes/{mesh}/routeViews/{route_view}

↳ route_project_number int|string

Output only. Project number where the route exists.

↳ route_location string

Output only. Location where the route exists.

↳ route_type string

Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute

↳ route_id string

Output only. The resource id for the route.

getName

Output only. Identifier. Full path name of the MeshRouteView resource.

Format: projects/{project}/locations/{location}/meshes/{mesh}/routeViews/{route_view}

Returns
Type Description
string

setName

Output only. Identifier. Full path name of the MeshRouteView resource.

Format: projects/{project}/locations/{location}/meshes/{mesh}/routeViews/{route_view}

Parameter
Name Description
var string
Returns
Type Description
$this

getRouteProjectNumber

Output only. Project number where the route exists.

Returns
Type Description
int|string

setRouteProjectNumber

Output only. Project number where the route exists.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getRouteLocation

Output only. Location where the route exists.

Returns
Type Description
string

setRouteLocation

Output only. Location where the route exists.

Parameter
Name Description
var string
Returns
Type Description
$this

getRouteType

Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute

Returns
Type Description
string

setRouteType

Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute

Parameter
Name Description
var string
Returns
Type Description
$this

getRouteId

Output only. The resource id for the route.

Returns
Type Description
string

setRouteId

Output only. The resource id for the route.

Parameter
Name Description
var string
Returns
Type Description
$this