getPolicyTemplate
inline suspend fun VerifiedPermissionsClient.getPolicyTemplate(crossinline block: GetPolicyTemplateRequest.Builder.() -> Unit): GetPolicyTemplateResponse
Retrieve the details for the specified policy template in the specified policy store.
Samples
fun main() {
//sampleStart
// The following example displays the details of the specified policy template.
val resp = verifiedPermissionsClient.getPolicyTemplate {
policyStoreId = "C7v5xMplfFH3i3e4Jrzb1a"
policyTemplateId = "PTEXAMPLEabcdefg111111"
}
//sampleEnd
}