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

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

setName

Full Serverless VPC Access Connector name e.g.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEgressSetting

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

Returns
TypeDescription
int

setEgressSetting

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this