Google Cloud Appengine Admin V1 Client - Class VpcAccessConnector (2.0.0)

Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class VpcAccessConnector.

VPC access connector specification.

Generated from protobuf message google.appengine.v1.VpcAccessConnector

Namespace

Google \ Cloud \ AppEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

↳ egress_setting int

The egress setting for the connector, controlling what traffic is diverted through it.

getName

Full Serverless VPC Access Connector name e.g.

/projects/my-project/locations/us-central1/connectors/c1.

Returns
Type Description
string

setName

Full Serverless VPC Access Connector name e.g.

/projects/my-project/locations/us-central1/connectors/c1.

Parameter
Name Description
var string
Returns
Type Description
$this

getEgressSetting

The egress setting for the connector, controlling what traffic is diverted through it.

Returns
Type Description
int

setEgressSetting

The egress setting for the connector, controlling what traffic is diverted through it.

Parameter
Name Description
var int
Returns
Type Description
$this