(self, request: RegistryServer_pb2.GetInfraRequest, context)
| 1007 | return Empty() |
| 1008 | |
| 1009 | def GetInfra(self, request: RegistryServer_pb2.GetInfraRequest, context): |
| 1010 | project = self.proxied_registry.get_project( |
| 1011 | name=request.project, allow_cache=True |
| 1012 | ) |
| 1013 | assert_permissions(resource=project, actions=[AuthzedAction.DESCRIBE]) |
| 1014 | return self.proxied_registry.get_infra( |
| 1015 | project=request.project, allow_cache=request.allow_cache |
| 1016 | ).to_proto() |
| 1017 | |
| 1018 | def ApplyPermission( |
| 1019 | self, request: RegistryServer_pb2.ApplyPermissionRequest, context |
nothing calls this directly
no test coverage detected