Skip to main content

applications

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

Overview

Nameapplications
TypeResource
Idgoogle.beyondcorp.applications

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. Name of the resource.
createTimestring (google-datetime)Output only. Timestamp when the resource was created.
displayNamestringOptional. An arbitrary user-provided name for the application resource. Cannot exceed 64 characters.
endpointMatchersarrayOptional. An array of conditions to match the application's network endpoint. Each element in the array is an EndpointMatcher object, which defines a specific combination of a hostname pattern and one or more ports. The application is considered matched if at least one of the EndpointMatcher conditions in this array is met (the conditions are combined using OR logic). Each EndpointMatcher must contain a hostname pattern, such as "example.com", and one or more port numbers specified as a string, such as "443". Hostname and port number examples: "*.example.com", "443" "example.com" and "22" "example.com" and "22,33"
schemastringOptional. Type of the external application.
updateTimestring (google-datetime)Output only. Timestamp when the resource was last modified.
upstreamsarrayOptional. Which upstream resources to forward traffic to.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_security_gateways_applications_getselectprojectsId, locationsId, securityGatewaysId, applicationsIdGets details of a single Application.
projects_locations_security_gateways_applications_listselectprojectsId, locationsId, securityGatewaysIdpageSize, filter, orderBy, pageTokenLists Applications in a given project and location.
projects_locations_security_gateways_applications_createinsertprojectsId, locationsId, securityGatewaysIdapplicationId, requestIdCreates a new Application in a given project and location.
projects_locations_security_gateways_applications_patchupdateprojectsId, locationsId, securityGatewaysId, applicationsIdrequestId, updateMaskUpdates the parameters of a single Application.
projects_locations_security_gateways_applications_deletedeleteprojectsId, locationsId, securityGatewaysId, applicationsIdrequestId, validateOnlyDeletes 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.

NameDatatypeDescription
applicationsIdstring
locationsIdstring
projectsIdstring
securityGatewaysIdstring
applicationIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
updateMaskstring (google-fieldmask)
validateOnlyboolean

SELECT examples

Gets details of a single Application.

SELECT
name,
createTime,
displayName,
endpointMatchers,
schema,
updateTime,
upstreams
FROM google.beyondcorp.applications
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND securityGatewaysId = '{{ securityGatewaysId }}' -- required
AND applicationsId = '{{ applicationsId }}' -- required
;

INSERT examples

Creates a new Application in a given project and location.

INSERT INTO google.beyondcorp.applications (
data__endpointMatchers,
data__schema,
data__upstreams,
data__name,
data__displayName,
projectsId,
locationsId,
securityGatewaysId,
applicationId,
requestId
)
SELECT
'{{ endpointMatchers }}',
'{{ schema }}',
'{{ upstreams }}',
'{{ name }}',
'{{ displayName }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ securityGatewaysId }}',
'{{ applicationId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

Updates the parameters of a single Application.

UPDATE google.beyondcorp.applications
SET
data__endpointMatchers = '{{ endpointMatchers }}',
data__schema = '{{ schema }}',
data__upstreams = '{{ upstreams }}',
data__name = '{{ name }}',
data__displayName = '{{ displayName }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND securityGatewaysId = '{{ securityGatewaysId }}' --required
AND applicationsId = '{{ applicationsId }}' --required
AND requestId = '{{ requestId}}'
AND updateMask = '{{ updateMask}}'
RETURNING
name,
done,
error,
metadata,
response;

DELETE examples

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 }}'
;