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

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
NameDescription
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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConnectorId

Required. The ID to use for this connector.

Returns
TypeDescription
string

setConnectorId

Required. The ID to use for this connector.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConnector

Required. Resource to create.

Returns
TypeDescription
Google\Cloud\VpcAccess\V1\Connector|null

hasConnector

clearConnector

setConnector

Required. Resource to create.

Parameter
NameDescription
var Google\Cloud\VpcAccess\V1\Connector
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\VpcAccess\V1\CreateConnectorRequest