Google Cloud Vpc Access V1 Client - Class CreateConnectorRequest (1.3.5)

Reference documentation and code samples for the Google Cloud Vpc Access V1 Client class CreateConnectorRequest.

Request for creating a Serverless VPC Access connector.

Generated from protobuf message google.cloud.vpcaccess.v1.CreateConnectorRequest

Namespace

Google \ Cloud \ VpcAccess \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project and location in which the configuration should be created, specified in the format projects/*/locations/*.

↳ connector_id string

Required. The ID to use for this connector.

↳ connector Google\Cloud\VpcAccess\V1\Connector

Required. Resource to create.

getParent

Required. The project and location in which the configuration should be created, specified in the format projects/*/locations/*.

Returns
Type Description
string

setParent

Required. The project and location in which the configuration should be created, specified in the format projects/*/locations/*.

Parameter
Name Description
var string
Returns
Type Description
$this

getConnectorId

Required. The ID to use for this connector.

Returns
Type Description
string

setConnectorId

Required. The ID to use for this connector.

Parameter
Name Description
var string
Returns
Type Description
$this

getConnector

Required. Resource to create.

Returns
Type Description
Google\Cloud\VpcAccess\V1\Connector|null

hasConnector

clearConnector

setConnector

Required. Resource to create.

Parameter
Name Description
var Google\Cloud\VpcAccess\V1\Connector
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The project and location in which the configuration should be created, specified in the format projects/*/locations/*. Please see Google\Cloud\VpcAccess\V1\VpcAccessServiceClient::locationName() for help formatting this field.

connectorId string

Required. The ID to use for this connector.

connector Google\Cloud\VpcAccess\V1\Connector

Required. Resource to create.

Returns
Type Description
Google\Cloud\VpcAccess\V1\CreateConnectorRequest