[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud BeyondCorp AppConnections V1 Client - Class Gateway (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-beyondcorp-appconnections/latest/V1.AppConnection.Gateway)\n- [1.0.4](/php/docs/reference/cloud-beyondcorp-appconnections/1.0.4/V1.AppConnection.Gateway)\n- [0.4.5](/php/docs/reference/cloud-beyondcorp-appconnections/0.4.5/V1.AppConnection.Gateway)\n- [0.3.2](/php/docs/reference/cloud-beyondcorp-appconnections/0.3.2/V1.AppConnection.Gateway)\n- [0.2.2](/php/docs/reference/cloud-beyondcorp-appconnections/0.2.2/V1.AppConnection.Gateway)\n- [0.1.6](/php/docs/reference/cloud-beyondcorp-appconnections/0.1.6/V1.AppConnection.Gateway) \nReference documentation and code samples for the Google Cloud BeyondCorp AppConnections V1 Client class Gateway.\n\nGateway represents a user facing component that serves as an entrance to\nenable connectivity.\n\nGenerated from protobuf message `google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BeyondCorp \\\\ AppConnections \\\\ V1 \\\\ AppConnection\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getType\n\nRequired. The type of hosting used by the gateway.\n\n### setType\n\nRequired. The type of hosting used by the gateway.\n\n### getUri\n\nOutput only. Server-defined URI for this resource.\n\n### setUri\n\nOutput only. Server-defined URI for this resource.\n\n### getIngressPort\n\nOutput only. Ingress port reserved on the gateways for this\nAppConnection, if not specified or zero, the default port is 19443.\n\n### setIngressPort\n\nOutput only. Ingress port reserved on the gateways for this\nAppConnection, if not specified or zero, the default port is 19443.\n\n### getAppGateway\n\nRequired. AppGateway name in following format:\n`projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}`\n\n### setAppGateway\n\nRequired. AppGateway name in following format:\n`projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}`"]]