Skip to main content

app_connections

Creates, updates, deletes, gets or lists a app_connections resource.

Overview

Nameapp_connections
TypeResource
Idgoogle.beyondcorp.app_connections

Fields

NameDatatypeDescription
namestringRequired. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.
applicationEndpointobjectApplicationEndpoint represents a remote application endpoint.
connectorsarrayOptional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.
createTimestringOutput only. Timestamp when the resource was created.
displayNamestringOptional. An arbitrary user-provided name for the AppConnection. Cannot exceed 64 characters.
gatewayobjectGateway represents a user facing component that serves as an entrance to enable connectivity.
labelsobjectOptional. Resource labels to represent user provided metadata.
satisfiesPzibooleanOutput only. Reserved for future use.
satisfiesPzsbooleanOutput only. Reserved for future use.
statestringOutput only. The current state of the AppConnection.
typestringRequired. The type of network connectivity used by the AppConnection.
uidstringOutput only. A unique identifier for the instance generated by the system.
updateTimestringOutput only. Timestamp when the resource was last modified.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_app_connections_getSELECTappConnectionsId, locationsId, projectsIdGets details of a single AppConnection.
projects_locations_app_connections_listSELECTlocationsId, projectsIdLists AppConnections in a given project and location.
projects_locations_app_connections_createINSERTlocationsId, projectsIdCreates a new AppConnection in a given project and location.
projects_locations_app_connections_deleteDELETEappConnectionsId, locationsId, projectsIdDeletes a single AppConnection.
projects_locations_app_connections_patchUPDATEappConnectionsId, locationsId, projectsIdUpdates the parameters of a single AppConnection.
projects_locations_app_connections_resolveEXEClocationsId, projectsIdResolves AppConnections details for a given AppConnector. An internal method called by a connector to find AppConnections to connect to.

SELECT examples

Lists AppConnections in a given project and location.

SELECT
name,
applicationEndpoint,
connectors,
createTime,
displayName,
gateway,
labels,
satisfiesPzi,
satisfiesPzs,
state,
type,
uid,
updateTime
FROM google.beyondcorp.app_connections
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';

INSERT example

Use the following StackQL query and manifest file to create a new app_connections resource.

/*+ create */
INSERT INTO google.beyondcorp.app_connections (
locationsId,
projectsId,
name,
labels,
displayName,
type,
applicationEndpoint,
connectors,
gateway
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ name }}',
'{{ labels }}',
'{{ displayName }}',
'{{ type }}',
'{{ applicationEndpoint }}',
'{{ connectors }}',
'{{ gateway }}'
;

UPDATE example

Updates a app_connections resource.

/*+ update */
UPDATE google.beyondcorp.app_connections
SET
name = '{{ name }}',
labels = '{{ labels }}',
displayName = '{{ displayName }}',
type = '{{ type }}',
applicationEndpoint = '{{ applicationEndpoint }}',
connectors = '{{ connectors }}',
gateway = '{{ gateway }}'
WHERE
appConnectionsId = '{{ appConnectionsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';

DELETE example

Deletes the specified app_connections resource.

/*+ delete */
DELETE FROM google.beyondcorp.app_connections
WHERE appConnectionsId = '{{ appConnectionsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';