# Network Services V1 API - Class Google::Cloud::NetworkServices::V1::CreateHttpRouteRequest (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::CreateHttpRouteRequest.

Request used by the HttpRoute method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #http_route

    def http_route() -> ::Google::Cloud::NetworkServices::V1::HttpRoute

**Returns**

- ([::Google::Cloud::NetworkServices::V1::HttpRoute](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-HttpRoute)) --- Required. HttpRoute resource to be created.

### #http_route=

    def http_route=(value) -> ::Google::Cloud::NetworkServices::V1::HttpRoute

**Parameter**

- **value** ([::Google::Cloud::NetworkServices::V1::HttpRoute](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-HttpRoute)) --- Required. HttpRoute resource to be created.
**Returns**

- ([::Google::Cloud::NetworkServices::V1::HttpRoute](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-HttpRoute)) --- Required. HttpRoute resource to be created.

### #http_route_id

    def http_route_id() -> ::String

**Returns**

- (::String) --- Required. Short name of the HttpRoute resource to be created.

### #http_route_id=

    def http_route_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Short name of the HttpRoute resource to be created.
**Returns**

- (::String) --- Required. Short name of the HttpRoute resource to be created.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource of the HttpRoute. Must be in the format `projects/*/locations/*`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource of the HttpRoute. Must be in the format `projects/*/locations/*`.
**Returns**

- (::String) --- Required. The parent resource of the HttpRoute. Must be in the format `projects/*/locations/*`.

### #request_id

    def request_id() -> ::String

**Returns**

- (::String) --- Optional. Idempotent request UUID.

### #request_id=

    def request_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Idempotent request UUID.
**Returns**

- (::String) --- Optional. Idempotent request UUID.