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

Request used by the CreateAgentGateway method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #agent_gateway

    def agent_gateway() -> ::Google::Cloud::NetworkServices::V1::AgentGateway

**Returns**

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

### #agent_gateway=

    def agent_gateway=(value) -> ::Google::Cloud::NetworkServices::V1::AgentGateway

**Parameter**

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

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

### #agent_gateway_id

    def agent_gateway_id() -> ::String

**Returns**

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

### #agent_gateway_id=

    def agent_gateway_id=(value) -> ::String

**Parameter**

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

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

### #parent

    def parent() -> ::String

**Returns**

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

### #parent=

    def parent=(value) -> ::String

**Parameter**

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

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