Google Cloud BeyondCorp AppConnections V1 Client - Class Gateway (0.2.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
NameDescription
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
TypeDescription
int

setType

Required. The type of hosting used by the gateway.

Parameter
NameDescription
var int
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
var string
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
var int
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
var string
Returns
TypeDescription
$this