CHROMEPOLICY

chromepolicy.customers.policies.groups.batchDelete

valid {
    input.Body.requests[_].policySchema == STRING
    input.Body.requests[_].policyTargetKey.additionalTargetKeys.STRING == STRING
    input.Body.requests[_].policyTargetKey.targetResource == STRING
    input.ReqMap.customer == STRING
    input.ProviderMetadata.Region == STRING
}

chromepolicy.customers.policies.groups.batchModify

valid {
    input.Body.requests[_].policyTargetKey.additionalTargetKeys.STRING == STRING
    input.Body.requests[_].policyTargetKey.targetResource == STRING
    input.Body.requests[_].policyValue.policySchema == STRING
    input.Body.requests[_].policyValue.value.STRING == ANY
    input.Body.requests[_].updateMask == STRING
    input.ReqMap.customer == STRING
    input.ProviderMetadata.Region == STRING
}

chromepolicy.customers.policies.groups.listGroupPriorityOrdering

valid {
    input.Body.policyNamespace == STRING
    input.Body.policySchema == STRING
    input.Body.policyTargetKey.additionalTargetKeys.STRING == STRING
    input.Body.policyTargetKey.targetResource == STRING
    input.ReqMap.customer == STRING
    input.ProviderMetadata.Region == STRING
}

chromepolicy.customers.policies.groups.updateGroupPriorityOrdering

valid {
    input.Body.groupIds[_] == STRING
    input.Body.policyNamespace == STRING
    input.Body.policySchema == STRING
    input.Body.policyTargetKey.additionalTargetKeys.STRING == STRING
    input.Body.policyTargetKey.targetResource == STRING
    input.ReqMap.customer == STRING
    input.ProviderMetadata.Region == STRING
}

chromepolicy.customers.policies.networks.defineCertificate

valid {
    input.Body.ceritificateName == STRING
    input.Body.certificate == STRING
    input.Body.settings[_].policySchema == STRING
    input.Body.settings[_].value.STRING == ANY
    input.Body.targetResource == STRING
    input.ReqMap.customer == STRING
    input.ProviderMetadata.Region == STRING
}

chromepolicy.customers.policies.networks.defineNetwork

valid {
    input.Body.name == STRING
    input.Body.settings[_].policySchema == STRING
    input.Body.settings[_].value.STRING == ANY
    input.Body.targetResource == STRING
    input.ReqMap.customer == STRING
    input.ProviderMetadata.Region == STRING
}

chromepolicy.customers.policies.networks.removeCertificate

valid {
    input.Body.networkId == STRING
    input.Body.targetResource == STRING
    input.ReqMap.customer == STRING
    input.ProviderMetadata.Region == STRING
}

chromepolicy.customers.policies.networks.removeNetwork

valid {
    input.Body.networkId == STRING
    input.Body.targetResource == STRING
    input.ReqMap.customer == STRING
    input.ProviderMetadata.Region == STRING
}

chromepolicy.customers.policies.orgunits.batchInherit

valid {
    input.Body.requests[_].policySchema == STRING
    input.Body.requests[_].policyTargetKey.additionalTargetKeys.STRING == STRING
    input.Body.requests[_].policyTargetKey.targetResource == STRING
    input.ReqMap.customer == STRING
    input.ProviderMetadata.Region == STRING
}

chromepolicy.customers.policies.orgunits.batchModify

valid {
    input.Body.requests[_].policyTargetKey.additionalTargetKeys.STRING == STRING
    input.Body.requests[_].policyTargetKey.targetResource == STRING
    input.Body.requests[_].policyValue.policySchema == STRING
    input.Body.requests[_].policyValue.value.STRING == ANY
    input.Body.requests[_].updateMask == STRING
    input.ReqMap.customer == STRING
    input.ProviderMetadata.Region == STRING
}

chromepolicy.customers.policies.resolve

valid {
    input.Body.pageSize == INTEGER
    input.Body.pageToken == STRING
    input.Body.policySchemaFilter == STRING
    input.Body.policyTargetKey.additionalTargetKeys.STRING == STRING
    input.Body.policyTargetKey.targetResource == STRING
    input.ReqMap.customer == STRING
    input.ProviderMetadata.Region == STRING
}

chromepolicy.customers.policySchemas.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

chromepolicy.customers.policySchemas.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

chromepolicy.media.upload

valid {
    input.Body.policyField == STRING
    input.ReqMap.customer == STRING
    input.ProviderMetadata.Region == STRING
}