Skip to main content

sac_realms

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

Overview

Namesac_realms
TypeResource
Idgoogle.networksecurity.sac_realms

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. Resource name, in the form projects/{project}/locations/global/sacRealms/{sacRealm}.
createTimestring (google-datetime)Output only. Timestamp when the realm was created.
labelsobjectOptional. Optional list of labels applied to the resource.
pairingKeyobjectOutput only. Key to be shared with SSE service provider during pairing. (id: SACRealmPairingKey)
securityServicestringImmutable. SSE service provider associated with the realm. (SECURITY_SERVICE_UNSPECIFIED, PALO_ALTO_PRISMA_ACCESS)
statestringOutput only. State of the realm. (STATE_UNSPECIFIED, PENDING_PARTNER_ATTACHMENT, PARTNER_ATTACHED, PARTNER_DETACHED, KEY_EXPIRED)
updateTimestring (google-datetime)Output only. Timestamp when the realm was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_sac_realms_getselectprojectsId, locationsId, sacRealmsIdReturns the specified realm.
projects_locations_sac_realms_listselectprojectsId, locationsIdpageToken, orderBy, filter, pageSizeLists SACRealms in a given project.
projects_locations_sac_realms_createinsertprojectsId, locationsIdsacRealmId, requestIdCreates a new SACRealm in a given project.
projects_locations_sac_realms_deletedeleteprojectsId, locationsId, sacRealmsIdrequestIdDeletes the specified realm.

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
locationsIdstring
projectsIdstring
sacRealmsIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
sacRealmIdstring

SELECT examples

Returns the specified realm.

SELECT
name,
createTime,
labels,
pairingKey,
securityService,
state,
updateTime
FROM google.networksecurity.sac_realms
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND sacRealmsId = '{{ sacRealmsId }}' -- required
;

INSERT examples

Creates a new SACRealm in a given project.

INSERT INTO google.networksecurity.sac_realms (
data__labels,
data__securityService,
data__name,
projectsId,
locationsId,
sacRealmId,
requestId
)
SELECT
'{{ labels }}',
'{{ securityService }}',
'{{ name }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ sacRealmId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;

DELETE examples

Deletes the specified realm.

DELETE FROM google.networksecurity.sac_realms
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND sacRealmsId = '{{ sacRealmsId }}' --required
AND requestId = '{{ requestId }}'
;