applications
Creates, updates, deletes, gets or lists an applications
resource.
Overview
Name | applications |
Type | Resource |
Id | google.beyondcorp.applications |
Fields
The following fields are returned by SELECT
queries:
- projects_locations_security_gateways_applications_get
- projects_locations_security_gateways_applications_list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. Name of the resource. |
createTime | string (google-datetime) | Output only. Timestamp when the resource was created. |
displayName | string | Optional. An arbitrary user-provided name for the application resource. Cannot exceed 64 characters. |
endpointMatchers | array | Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matchers is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one of the conditions is met. The conditions can be one of the following combinations (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.example.com"), ("xyz.example.com") Hostname and Ports - ("example.com" and "22"), ("example.com" and "22,33") etc |
updateTime | string (google-datetime) | Output only. Timestamp when the resource was last modified. |
upstreams | array | Optional. Which upstream resources to forward traffic to. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. Name of the resource. |
createTime | string (google-datetime) | Output only. Timestamp when the resource was created. |
displayName | string | Optional. An arbitrary user-provided name for the application resource. Cannot exceed 64 characters. |
endpointMatchers | array | Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matchers is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one of the conditions is met. The conditions can be one of the following combinations (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.example.com"), ("xyz.example.com") Hostname and Ports - ("example.com" and "22"), ("example.com" and "22,33") etc |
updateTime | string (google-datetime) | Output only. Timestamp when the resource was last modified. |
upstreams | array | Optional. Which upstream resources to forward traffic to. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_security_gateways_applications_get | select | projectsId , locationsId , securityGatewaysId , applicationsId | Gets details of a single Application. | |
projects_locations_security_gateways_applications_list | select | projectsId , locationsId , securityGatewaysId | pageSize , pageToken , filter , orderBy | Lists Applications in a given project and location. |
projects_locations_security_gateways_applications_create | insert | projectsId , locationsId , securityGatewaysId | applicationId , requestId | Creates a new Application in a given project and location. |
projects_locations_security_gateways_applications_patch | update | projectsId , locationsId , securityGatewaysId , applicationsId | updateMask , requestId | Updates the parameters of a single Application. |
projects_locations_security_gateways_applications_delete | delete | projectsId , locationsId , securityGatewaysId , applicationsId | requestId , validateOnly | Deletes a single application. |
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.
Name | Datatype | Description |
---|---|---|
applicationsId | string | |
locationsId | string | |
projectsId | string | |
securityGatewaysId | string | |
applicationId | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string | |
requestId | string | |
updateMask | string (google-fieldmask) | |
validateOnly | boolean |
SELECT
examples
- projects_locations_security_gateways_applications_get
- projects_locations_security_gateways_applications_list
Gets details of a single Application.
SELECT
name,
createTime,
displayName,
endpointMatchers,
updateTime,
upstreams
FROM google.beyondcorp.applications
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND securityGatewaysId = '{{ securityGatewaysId }}' -- required
AND applicationsId = '{{ applicationsId }}' -- required;
Lists Applications in a given project and location.
SELECT
name,
createTime,
displayName,
endpointMatchers,
updateTime,
upstreams
FROM google.beyondcorp.applications
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND securityGatewaysId = '{{ securityGatewaysId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}';
INSERT
examples
- projects_locations_security_gateways_applications_create
- Manifest
Creates a new Application in a given project and location.
INSERT INTO google.beyondcorp.applications (
data__name,
data__endpointMatchers,
data__displayName,
data__upstreams,
projectsId,
locationsId,
securityGatewaysId,
applicationId,
requestId
)
SELECT
'{{ name }}',
'{{ endpointMatchers }}',
'{{ displayName }}',
'{{ upstreams }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ securityGatewaysId }}',
'{{ applicationId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;
# Description fields are for documentation purposes
- name: applications
props:
- name: projectsId
value: string
description: Required parameter for the applications resource.
- name: locationsId
value: string
description: Required parameter for the applications resource.
- name: securityGatewaysId
value: string
description: Required parameter for the applications resource.
- name: name
value: string
description: >
Identifier. Name of the resource.
- name: endpointMatchers
value: array
description: >
Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matchers is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one of the conditions is met. The conditions can be one of the following combinations (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.example.com"), ("xyz.example.com") Hostname and Ports - ("example.com" and "22"), ("example.com" and "22,33") etc
- name: displayName
value: string
description: >
Optional. An arbitrary user-provided name for the application resource. Cannot exceed 64 characters.
- name: upstreams
value: array
description: >
Optional. Which upstream resources to forward traffic to.
- name: applicationId
value: string
- name: requestId
value: string
UPDATE
examples
- projects_locations_security_gateways_applications_patch
Updates the parameters of a single Application.
UPDATE google.beyondcorp.applications
SET
data__name = '{{ name }}',
data__endpointMatchers = '{{ endpointMatchers }}',
data__displayName = '{{ displayName }}',
data__upstreams = '{{ upstreams }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND securityGatewaysId = '{{ securityGatewaysId }}' --required
AND applicationsId = '{{ applicationsId }}' --required
AND updateMask = '{{ updateMask}}'
AND requestId = '{{ requestId}}'
RETURNING
name,
done,
error,
metadata,
response;
DELETE
examples
- projects_locations_security_gateways_applications_delete
Deletes a single application.
DELETE FROM google.beyondcorp.applications
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND securityGatewaysId = '{{ securityGatewaysId }}' --required
AND applicationsId = '{{ applicationsId }}' --required
AND requestId = '{{ requestId }}'
AND validateOnly = '{{ validateOnly }}';