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, locationsIdfilter, orderBy, pageSize, pageTokenLists SACRealms in a given project.
projects_locations_sac_realms_createinsertprojectsId, locationsIdrequestId, sacRealmIdCreates 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__name,
data__securityService,
projectsId,
locationsId,
requestId,
sacRealmId
)
SELECT
'{{ labels }}',
'{{ name }}',
'{{ securityService }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ requestId }}',
'{{ sacRealmId }}'
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 }}'
;