Reference documentation and code samples for the Google Cloud BeyondCorp AppConnections V1 Client class AppConnection.
A BeyondCorp AppConnection resource represents a BeyondCorp protected
AppConnection to a remote application. It creates all the necessary GCP
components needed for creating a BeyondCorp protected AppConnection. Multiple
connectors can be authorised for a single AppConnection.
Generated from protobuf messagegoogle.cloud.beyondcorp.appconnections.v1.AppConnection
Namespace
Google \ Cloud \ BeyondCorp \ AppConnections \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.
[[["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 AppConnection (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-beyondcorp-appconnections/latest/V1.AppConnection)\n- [1.0.4](/php/docs/reference/cloud-beyondcorp-appconnections/1.0.4/V1.AppConnection)\n- [0.4.5](/php/docs/reference/cloud-beyondcorp-appconnections/0.4.5/V1.AppConnection)\n- [0.3.2](/php/docs/reference/cloud-beyondcorp-appconnections/0.3.2/V1.AppConnection)\n- [0.2.2](/php/docs/reference/cloud-beyondcorp-appconnections/0.2.2/V1.AppConnection)\n- [0.1.6](/php/docs/reference/cloud-beyondcorp-appconnections/0.1.6/V1.AppConnection) \nReference documentation and code samples for the Google Cloud BeyondCorp AppConnections V1 Client class AppConnection.\n\nA BeyondCorp AppConnection resource represents a BeyondCorp protected\nAppConnection to a remote application. It creates all the necessary GCP\ncomponents needed for creating a BeyondCorp protected AppConnection. Multiple\nconnectors can be authorised for a single AppConnection.\n\nGenerated from protobuf message `google.cloud.beyondcorp.appconnections.v1.AppConnection`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BeyondCorp \\\\ AppConnections \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Unique resource name of the AppConnection.\n\nThe name is ignored when creating a AppConnection.\n\n### setName\n\nRequired. Unique resource name of the AppConnection.\n\nThe name is ignored when creating a AppConnection.\n\n### getCreateTime\n\nOutput only. Timestamp when the resource was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. Timestamp when the resource was created.\n\n### getUpdateTime\n\nOutput only. Timestamp when the resource was last modified.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. Timestamp when the resource was last modified.\n\n### getLabels\n\nOptional. Resource labels to represent user provided metadata.\n\n### setLabels\n\nOptional. Resource labels to represent user provided metadata.\n\n### getDisplayName\n\nOptional. An arbitrary user-provided name for the AppConnection. Cannot\nexceed 64 characters.\n\n### setDisplayName\n\nOptional. An arbitrary user-provided name for the AppConnection. Cannot\nexceed 64 characters.\n\n### getUid\n\nOutput only. A unique identifier for the instance generated by the\nsystem.\n\n### setUid\n\nOutput only. A unique identifier for the instance generated by the\nsystem.\n\n### getType\n\nRequired. The type of network connectivity used by the AppConnection.\n\n### setType\n\nRequired. The type of network connectivity used by the AppConnection.\n\n### getApplicationEndpoint\n\nRequired. Address of the remote application endpoint for the BeyondCorp\nAppConnection.\n\n### hasApplicationEndpoint\n\n### clearApplicationEndpoint\n\n### setApplicationEndpoint\n\nRequired. Address of the remote application endpoint for the BeyondCorp\nAppConnection.\n\n### getConnectors\n\nOptional. List of \\[google.cloud.beyondcorp.v1main.Connector.name\\] that are\nauthorised to be associated with this AppConnection.\n\n### setConnectors\n\nOptional. List of \\[google.cloud.beyondcorp.v1main.Connector.name\\] that are\nauthorised to be associated with this AppConnection.\n\n### getState\n\nOutput only. The current state of the AppConnection.\n\n### setState\n\nOutput only. The current state of the AppConnection.\n\n### getGateway\n\nOptional. Gateway used by the AppConnection.\n\n### hasGateway\n\n### clearGateway\n\n### setGateway\n\nOptional. Gateway used by the AppConnection."]]