Skip to main content

app_connectors

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

Overview

Nameapp_connectors
TypeResource
Idgoogle.beyondcorp.app_connectors

Fields

NameDatatypeDescription
namestringRequired. Unique resource name of the AppConnector. The name is ignored when creating a AppConnector.
createTimestringOutput only. Timestamp when the resource was created.
displayNamestringOptional. An arbitrary user-provided name for the AppConnector. Cannot exceed 64 characters.
labelsobjectOptional. Resource labels to represent user provided metadata.
principalInfoobjectPrincipalInfo represents an Identity oneof.
resourceInfoobjectResourceInfo represents the information/status of an app connector resource. Such as: - remote_agent - container - runtime - appgateway - appconnector - appconnection - tunnel - logagent
statestringOutput only. The current state of the AppConnector.
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_connectors_getSELECTappConnectorsId, locationsId, projectsIdGets details of a single AppConnector.
projects_locations_app_connectors_listSELECTlocationsId, projectsIdLists AppConnectors in a given project and location.
projects_locations_app_connectors_createINSERTlocationsId, projectsIdCreates a new AppConnector in a given project and location.
projects_locations_app_connectors_deleteDELETEappConnectorsId, locationsId, projectsIdDeletes a single AppConnector.
projects_locations_app_connectors_patchUPDATEappConnectorsId, locationsId, projectsIdUpdates the parameters of a single AppConnector.
projects_locations_app_connectors_report_statusEXECappConnectorsId, locationsId, projectsIdReport status for a given connector.
projects_locations_app_connectors_resolve_instance_configEXECappConnectorsId, locationsId, projectsIdGets instance configuration for a given AppConnector. An internal method called by a AppConnector to get its container config.

SELECT examples

Lists AppConnectors in a given project and location.

SELECT
name,
createTime,
displayName,
labels,
principalInfo,
resourceInfo,
state,
uid,
updateTime
FROM google.beyondcorp.app_connectors
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';

INSERT example

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

/*+ create */
INSERT INTO google.beyondcorp.app_connectors (
locationsId,
projectsId,
name,
labels,
displayName,
principalInfo,
resourceInfo
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ name }}',
'{{ labels }}',
'{{ displayName }}',
'{{ principalInfo }}',
'{{ resourceInfo }}'
;

UPDATE example

Updates a app_connectors resource.

/*+ update */
UPDATE google.beyondcorp.app_connectors
SET
name = '{{ name }}',
labels = '{{ labels }}',
displayName = '{{ displayName }}',
principalInfo = '{{ principalInfo }}',
resourceInfo = '{{ resourceInfo }}'
WHERE
appConnectorsId = '{{ appConnectorsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';

DELETE example

Deletes the specified app_connectors resource.

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