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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

Required. The type of hosting used by the gateway.

↳ uri string

Output only. Server-defined URI for this resource.

↳ ingress_port int

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

↳ app_gateway string

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
Type Description
int

setType

Required. The type of hosting used by the gateway.

Parameter
Name Description
var int
Returns
Type Description
$this

getUri

Output only. Server-defined URI for this resource.

Returns
Type Description
string

setUri

Output only. Server-defined URI for this resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getIngressPort

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

Returns
Type Description
int

setIngressPort

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

Parameter
Name Description
var int
Returns
Type Description
$this

getAppGateway

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

Returns
Type Description
string

setAppGateway

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

Parameter
Name Description
var string
Returns
Type Description
$this