Compute Engine
Parity grade: B · SDK cloud.google.com/go/compute@v1.72.0 · last audited 2026-10-26 (cf047c847)
Category: GCP · View PARITY.md on GitHub · All Services
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 1 (1 ok) |
| Feature families | 8 (5 ok, 2 partial, 1 gap) |
| Known gaps | 6 |
| Deferred items | 0 |
| Resource leaks | unknown |
Known Gaps
- Load balancing: service attachments, certificate maps and regional TCP/SSL certificates managed by Certificate Manager are stored without effect; Cloud Armor organization policies and associations and securityPolicies.listPreconfiguredExpressionSets (the rule ids and sensitivities of each WAF expression set are not documented on the pages available, so no honest response exists) are not routed; backend bucket existence is not checked against gcpstorage (lb_backend.go prepBackendBucket; the Compute reference does not say whether insert validates the bucket, so it was not wired).
- Instance templates: regional-only fields beyond the stored properties are not modelled; regional composite health checks and health check services (regionCompositeHealthChecks, regionHealthCheckServices, regionHealthSources) are not routed.
- Interconnect: interconnects.getDiagnostics and getMacsecConfig (the latter returns generated CKN/CAK secrets), interconnect attachment groups, interconnect groups, interconnect remote locations (Cross-Cloud Interconnect), PARTNER_PROVIDER attachments and the full interconnect location catalogue are not implemented. Also not routed (404): shared VPC, regional disk async replication and policies, machine image encryption and aggregate reservations. Peering routes are not added to routes.list.
- Instances: aliasIpv6Ranges and BYOIP subnet prefixes are 400; Local SSD for n4, c3, t2d, t2a, f1 and g1 is 400 because their counts are not modelled and N2D takes one count set for every size; GPUs for accelerator-optimized machine types (A2, A3, G2) are not modelled; instances.update uses a modelled field classification (see Instances.Update).
- Only 9 image families, 3 persistent disk types and the machine families e2, n1, n2, n2d, n4, c3, t2d and t2a exist (no c2, c4, m-series, accelerator-optimized or shared-core beyond e2, f1 and g1), and every zone offers every machine type; quota limits are emulator defaults that are not enforced.
- The emulator does not enforce IAM or return permission errors.
Audited Operations
1 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
Quotas | ok | ok | ok | n/a |
Audited Feature Families
| Feature Family | Status |
|---|---|
list_semantics | ok |
operations_clock | ok |
identity_and_links | ok |
vm_execution | gap |
persistence | ok |
routing_isolation | ok |
auth | partial |
observability | partial |
