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:

Successful response

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.
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, locationsIdpageSize, pageToken, filter, orderByLists AppConnectors in a given project and location.
projects_locations_app_connectors_createinsertprojectsId, locationsIdappConnectorId, requestId, validateOnlyCreates a new AppConnector in a given project and location.
projects_locations_app_connectors_patchupdateprojectsId, locationsId, appConnectorsIdupdateMask, requestId, validateOnlyUpdates the parameters of a single AppConnector.
projects_locations_app_connectors_deletedeleteprojectsId, locationsId, appConnectorsIdrequestId, validateOnlyDeletes a single AppConnector.
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.
projects_locations_app_connectors_report_statusexecprojectsId, locationsId, appConnectorsIdReport status for a given connector.

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__name,
data__labels,
data__displayName,
data__principalInfo,
data__resourceInfo,
projectsId,
locationsId,
appConnectorId,
requestId,
validateOnly
)
SELECT
'{{ name }}',
'{{ labels }}',
'{{ displayName }}',
'{{ principalInfo }}',
'{{ resourceInfo }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ appConnectorId }}',
'{{ requestId }}',
'{{ validateOnly }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

Updates the parameters of a single AppConnector.

UPDATE google.beyondcorp.app_connectors
SET
data__name = '{{ name }}',
data__labels = '{{ labels }}',
data__displayName = '{{ displayName }}',
data__principalInfo = '{{ principalInfo }}',
data__resourceInfo = '{{ resourceInfo }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND appConnectorsId = '{{ appConnectorsId }}' --required
AND updateMask = '{{ updateMask}}'
AND requestId = '{{ requestId}}'
AND validateOnly = {{ validateOnly}}
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

Gets instance configuration for a given AppConnector. An internal method called by a AppConnector to get its container config.

EXEC google.beyondcorp.app_connectors.projects_locations_app_connectors_resolve_instance_config 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@appConnectorsId='{{ appConnectorsId }}' --required;