app_gateways
Creates, updates, deletes, gets or lists a app_gateways
resource.
Overview
Name | app_gateways |
Type | Resource |
Id | google.beyondcorp.app_gateways |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway. |
allocatedConnections | array | Output only. A list of connections allocated for the Gateway |
createTime | string | Output only. Timestamp when the resource was created. |
displayName | string | Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 64 characters. |
hostType | string | Required. The type of hosting used by the AppGateway. |
labels | object | Optional. Resource labels to represent user provided metadata. |
satisfiesPzi | boolean | Output only. Reserved for future use. |
satisfiesPzs | boolean | Output only. Reserved for future use. |
state | string | Output only. The current state of the AppGateway. |
type | string | Required. The type of network connectivity used by the AppGateway. |
uid | string | Output only. A unique identifier for the instance generated by the system. |
updateTime | string | Output only. Timestamp when the resource was last modified. |
uri | string | Output only. Server-defined URI for this resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_app_gateways_get | SELECT | appGatewaysId, locationsId, projectsId | Gets details of a single AppGateway. |
projects_locations_app_gateways_list | SELECT | locationsId, projectsId | Lists AppGateways in a given project and location. |
projects_locations_app_gateways_create | INSERT | locationsId, projectsId | Creates a new AppGateway in a given project and location. |
projects_locations_app_gateways_delete | DELETE | appGatewaysId, locationsId, projectsId | Deletes a single AppGateway. |
projects_locations_app_gateways_should_throttle | EXEC | appGatewaysId, locationsId, projectsId | Calls 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.beyondcorp.app_gateways (
locationsId,
projectsId,
name,
labels,
displayName,
type,
hostType
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ name }}',
'{{ labels }}',
'{{ displayName }}',
'{{ type }}',
'{{ hostType }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: createTime
value: string
- name: updateTime
value: string
- name: labels
value: object
- name: displayName
value: string
- name: uid
value: string
- name: type
value: string
- name: state
value: string
- name: uri
value: string
- name: allocatedConnections
value:
- - name: pscUri
value: string
- name: ingressPort
value: integer
- name: hostType
value: string
- name: satisfiesPzs
value: boolean
- name: satisfiesPzi
value: boolean
DELETE
example
Deletes the specified app_gateways
resource.
/*+ delete */
DELETE FROM google.beyondcorp.app_gateways
WHERE appGatewaysId = '{{ appGatewaysId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';