public List <ContainerID> ListContainers(CancellationToken context, OwnerID owner, CallOptions options = null) { var container_client = new ContainerService.ContainerServiceClient(channel); var opts = DefaultCallOptions.ApplyCustomOptions(options); var req = new ListRequest { Body = new ListRequest.Types.Body { OwnerId = owner } }; req.MetaHeader = opts.GetRequestMetaHeader(); req.SignRequest(key); var resp = container_client.List(req, cancellationToken: context); if (!resp.VerifyResponse()) { throw new InvalidOperationException("invalid container put response"); } return(resp.Body.ContainerIds.ToList()); }