Google Cloud Network Services V1 Client - Class CreateAgentGatewayRequest (0.10.0)

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

Request used by the CreateAgentGateway method.

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

Namespace

Google \ Cloud \ NetworkServices \ V1

Methods

__construct

Constructor.

Parameter
Name Description
data mixed

getParent

Required. The parent resource of the AgentGateway. Must be in the format projects/*/locations/*.

Returns
Type Description
string

setParent

Required. The parent resource of the AgentGateway. Must be in the format projects/*/locations/*.

Parameter
Name Description
var string
Returns
Type Description
$this

getAgentGatewayId

Required. Short name of the AgentGateway resource to be created.

Returns
Type Description
string

setAgentGatewayId

Required. Short name of the AgentGateway resource to be created.

Parameter
Name Description
var string
Returns
Type Description
$this

getAgentGateway

Required. AgentGateway resource to be created.

Returns
Type Description
AgentGateway|null

hasAgentGateway

clearAgentGateway

setAgentGateway

Required. AgentGateway resource to be created.

Parameter
Name Description
var AgentGateway
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource of the AgentGateway. Must be in the format projects/*/locations/*. Please see NetworkServicesClient::locationName() for help formatting this field.

agentGateway AgentGateway

Required. AgentGateway resource to be created.

agentGatewayId string

Required. Short name of the AgentGateway resource to be created.

Returns
Type Description
CreateAgentGatewayRequest