Skip to main content

app_gateways

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

Overview

Nameapp_gateways
TypeResource
Idgoogle.beyondcorp.app_gateways

Fields

NameDatatypeDescription
namestringRequired. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.
allocatedConnectionsarrayOutput only. A list of connections allocated for the Gateway
createTimestringOutput only. Timestamp when the resource was created.
displayNamestringOptional. An arbitrary user-provided name for the AppGateway. Cannot exceed 64 characters.
hostTypestringRequired. The type of hosting used by the AppGateway.
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 AppGateway.
typestringRequired. The type of network connectivity used by the AppGateway.
uidstringOutput only. A unique identifier for the instance generated by the system.
updateTimestringOutput only. Timestamp when the resource was last modified.
uristringOutput only. Server-defined URI for this resource.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_app_gateways_getSELECTappGatewaysId, locationsId, projectsIdGets details of a single AppGateway.
projects_locations_app_gateways_listSELECTlocationsId, projectsIdLists AppGateways in a given project and location.
projects_locations_app_gateways_createINSERTlocationsId, projectsIdCreates a new AppGateway in a given project and location.
projects_locations_app_gateways_deleteDELETEappGatewaysId, locationsId, projectsIdDeletes a single AppGateway.
projects_locations_app_gateways_should_throttleEXECappGatewaysId, locationsId, projectsIdCalls the Bouncer method ShouldThrottle to check if a request should be throttled.

SELECT examples

Lists AppGateways in a given project and location.

SELECT
name,
allocatedConnections,
createTime,
displayName,
hostType,
labels,
satisfiesPzi,
satisfiesPzs,
state,
type,
uid,
updateTime,
uri
FROM google.beyondcorp.app_gateways
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';

INSERT example

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

/*+ create */
INSERT INTO google.beyondcorp.app_gateways (
locationsId,
projectsId,
name,
labels,
displayName,
type,
hostType
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ name }}',
'{{ labels }}',
'{{ displayName }}',
'{{ type }}',
'{{ hostType }}'
;

DELETE example

Deletes the specified app_gateways resource.

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