public void SetEACL(CancellationToken context, EACLTable eacl, CallOptions options = null) { var container_client = new ContainerService.ContainerServiceClient(channel); var opts = DefaultCallOptions.ApplyCustomOptions(options); var req = new SetExtendedACLRequest { Body = new SetExtendedACLRequest.Types.Body { Eacl = eacl, Signature = eacl.SignMessagePart(key), } }; req.MetaHeader = opts.GetRequestMetaHeader(); req.SignRequest(key); var resp = container_client.SetExtendedACL(req, cancellationToken: context); if (!resp.VerifyResponse()) { throw new InvalidOperationException("invalid container put response"); } }