# Network Services V1 API - Class Google::Cloud::NetworkServices::V1::GatewayRouteView (v2.10.1)

2.10.1 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.2.0 0.1.0 Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::GatewayRouteView.

GatewayRouteView defines view-only resource for Routes to a Gateway

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. Identifier. Full path name of the GatewayRouteView resource. Format: projects/{project_number}/locations/{location}/gateways/{gateway}/routeViews/{route_view}

### #route_id

    def route_id() -> ::String

**Returns**

- (::String) --- Output only. The resource id for the route.

### #route_location

    def route_location() -> ::String

**Returns**

- (::String) --- Output only. Location where the route exists.

### #route_project_number

    def route_project_number() -> ::Integer

**Returns**

- (::Integer) --- Output only. Project number where the route exists.

### #route_type

    def route_type() -> ::String

**Returns**

- (::String) --- Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute