Skip to main content

app_connectors

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

Overview

Nameapp_connectors
TypeResource
Idgoogle.beyondcorp.app_connectors

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringRequired. Unique resource name of the AppConnector. The name is ignored when creating a AppConnector.
createTimestring (google-datetime)Output 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.
principalInfoobjectRequired. Principal information about the Identity of the AppConnector. (id: GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo)
resourceInfoobjectOptional. Resource info of the connector. (id: GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo)
statestringOutput only. The current state of the AppConnector. (STATE_UNSPECIFIED, CREATING, CREATED, UPDATING, DELETING, DOWN)
uidstringOutput only. A unique identifier for the instance generated by the system.
updateTimestring (google-datetime)Output only. Timestamp when the resource was last modified.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_app_connectors_getselectprojectsId, locationsId, appConnectorsIdGets details of a single AppConnector.
projects_locations_app_connectors_listselectprojectsId, locationsIdpageToken, pageSize, filter, orderByLists AppConnectors in a given project and location.
projects_locations_app_connectors_createinsertprojectsId, locationsIdvalidateOnly, appConnectorId, requestIdCreates a new AppConnector in a given project and location.
projects_locations_app_connectors_patchupdateprojectsId, locationsId, appConnectorsIdupdateMask, validateOnly, requestIdUpdates the parameters of a single AppConnector.
projects_locations_app_connectors_deletedeleteprojectsId, locationsId, appConnectorsIdrequestId, validateOnlyDeletes a single AppConnector.
projects_locations_app_connectors_report_statusexecprojectsId, locationsId, appConnectorsIdReport status for a given connector.
projects_locations_app_connectors_resolve_instance_configexecprojectsId, locationsId, appConnectorsIdGets instance configuration for a given AppConnector. An internal method called by a AppConnector to get its container config.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
appConnectorsIdstring
locationsIdstring
projectsIdstring
appConnectorIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
updateMaskstring (google-fieldmask)
validateOnlyboolean

SELECT examples

Gets details of a single AppConnector.

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

INSERT examples

Creates a new AppConnector in a given project and location.

INSERT INTO google.beyondcorp.app_connectors (
data__labels,
data__resourceInfo,
data__name,
data__displayName,
data__principalInfo,
projectsId,
locationsId,
validateOnly,
appConnectorId,
requestId
)
SELECT
'{{ labels }}',
'{{ resourceInfo }}',
'{{ name }}',
'{{ displayName }}',
'{{ principalInfo }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ validateOnly }}',
'{{ appConnectorId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

Updates the parameters of a single AppConnector.

UPDATE google.beyondcorp.app_connectors
SET
data__labels = '{{ labels }}',
data__resourceInfo = '{{ resourceInfo }}',
data__name = '{{ name }}',
data__displayName = '{{ displayName }}',
data__principalInfo = '{{ principalInfo }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND appConnectorsId = '{{ appConnectorsId }}' --required
AND updateMask = '{{ updateMask}}'
AND validateOnly = {{ validateOnly}}
AND requestId = '{{ requestId}}'
RETURNING
name,
done,
error,
metadata,
response;

DELETE examples

Deletes a single AppConnector.

DELETE FROM google.beyondcorp.app_connectors
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND appConnectorsId = '{{ appConnectorsId }}' --required
AND requestId = '{{ requestId }}'
AND validateOnly = '{{ validateOnly }}'
;

Lifecycle Methods

Report status for a given connector.

EXEC google.beyondcorp.app_connectors.projects_locations_app_connectors_report_status
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@appConnectorsId='{{ appConnectorsId }}' --required
@@json=
'{
"requestId": "{{ requestId }}",
"resourceInfo": "{{ resourceInfo }}",
"validateOnly": {{ validateOnly }}
}'
;