Google Cloud Vpc Access V1 Client - Class CreateConnectorRequest (2.0.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
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 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
Connector|null

hasConnector

clearConnector

setConnector

Required. Resource to create.

Parameter
Name Description
var 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 VpcAccessServiceClient::locationName() for help formatting this field.

connectorId string

Required. The ID to use for this connector.

connector Connector

Required. Resource to create.

Returns
Type Description
CreateConnectorRequest