Google Cloud BeyondCorp AppConnections V1 Client - Class Gateway (0.4.5)

Reference documentation and code samples for the Google Cloud BeyondCorp AppConnections V1 Client class Gateway.

Gateway represents a user facing component that serves as an entrance to enable connectivity.

Generated from protobuf message google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway

Namespace

Google \ Cloud \ BeyondCorp \ AppConnections \ V1 \ AppConnection

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ typeint

Required. The type of hosting used by the gateway.

↳ uristring

Output only. Server-defined URI for this resource.

↳ ingress_portint

Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.

↳ app_gatewaystring

Required. AppGateway name in following format: projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}

getType

Required. The type of hosting used by the gateway.

Returns
TypeDescription
int

setType

Required. The type of hosting used by the gateway.

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getUri

Output only. Server-defined URI for this resource.

Returns
TypeDescription
string

setUri

Output only. Server-defined URI for this resource.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getIngressPort

Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.

Returns
TypeDescription
int

setIngressPort

Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getAppGateway

Required. AppGateway name in following format: projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}

Returns
TypeDescription
string

setAppGateway

Required. AppGateway name in following format: projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}

Parameter
NameDescription
varstring
Returns
TypeDescription
$this